logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gbdfed - GTK-based BDF font editor

Acknowledgments

       Ross Patterson for his HBF code.
       der Mouse for his "getbdf" code.
       K. Carothers and A. Korobka for their "fnt2bdf" code in Wine.

       Mike Stroyan <mike_stroyan@fc.hp.com> for patches.
       Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si> for this manual page.
       Danny Backx <u27113@kb.be> for the LessTif Imakefile.
       Donald Page <donaldp@sco.com> for patches.
       Michal Szymanski <msz@sirius.astrouw.edu.pl> for problem reports.
       Werner Lemberg <a7971428@unet.univie.ac.at> for problem reports.
       William F. Maton <wmaton@enterprise.ic.gc.ca> for problem reports.
       Ivan Nejgebauer <ian@uns.ns.ac.yu> for problem reports.
       Solofo <solofo@mpi-sb.mpg.de> for problem reports.
       Dave Bodenstab <imdave@mcs.net> for patches.
       W. Chao <wchao@HRZ.Uni-Bielefeld.DE> for Makefile changes and problem report.
       Andreas Reuter <ar205@bonzo.geowiss.nat.tu-bs.de> for problem reports.
       Leonard Dickens <leonard@saul.hipgraphics.com> for IRIX 6.3 Makefile changes.
       Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> for suggestions.
       Jim Knoble <jmknoble@pobox.com> for dialog geometry fixes.
       Darren Stuart Embry <dsembr01@ox.slug.louisville.edu> for HP/UX 10.20 X11R6 Makefile additions.
       Vladimir Volovich <vvv@vvv.vsu.ru> for pointing out something I forgot to test.
       Ben Fry <fry@media.mit.edu> for IRIX 6.5.2 variables for the Makefile.
       J.H.M. Dassen (Ray) <jdassen@debian.org> for bug fixes.
       Robert Brady <rwb197@ecs.soton.ac.uk> for pointing out a problem.
       Stefan Monnier <monnier@cs.yale.edu> for a bug report.
       Humphrey Clerx <humphrey.clerx@eurocontrol.be> for a bug report.
       Rudolf Cejka <cejkar@dcse.fee.vutbr.cz> for bug fixes and a suggestion.
       Baruch Even <baruch@ev-en.org> for a bug fix.
       Sergey Vlasov <vsu@mivlgu.murom.ru> for bug fixes.
       Daniel Neuburger <daniel.neuburger@lmco.com> for bug fixes.
       Pierre HANSER <Pierre.Hanser@sxb.bsf.alcatel.fr> for a bug fix.
       Patrick Hagglund <patrik.hagglund@bredband.net> for FreeType 2 support.
       James Cloos <cloos@jhcloos.com> for pointing out problems.
       Ming Hua <minghua@rice.edu> for pointing out problems.
       Viktor Urban <viktor@icc-atcsolutions.com> for pointing out problems.
       Jiri "BlueBear" Dluhos <modry.medved@seznam.cz> for providing 64-bit fixes.
       Jan Engelhardt <jengelh@linux01.gwdg.de> help text improvements and missing prototype.
       Daniel Richard G. <skunk@iSKUNK.ORG> for help on 64-bit architectures.
       Baruch Even <baruch@ev-en.org> for help on 64-bit architectures.
       Ming Hua <minghua.debian@gmail.com> for an unsuspected warning.
       Ryan Hill <dirtyepic@gentoo.org> for import dialog crash report.
       Don   Knuth   (https://bugs.launchpad.net/ubuntu/+source/gbdfed/+bug/172836)   for   reporting  spelling,
       gramatical and behavior problems.
       Tim Allen <screwtape@froup.com> for discovering glyph and font spacing bugs.
       Daniel Quarras <dqarras@yahoo.com> for discovering a PSF unicode map editing problem.
       Bertrand Janin <tamentis@neopulsar.org> for improving the GlyphEditor user interface.
       Peter Volkov <pva@gentoo.org> for fixing a name collision.
       Tom "spot" Callaway <tcallawa@redhat.com> for fixing a linking problem.

Author

       Mark Leisher <mleisher@gmail.com>

GTK2                                            23 February 2010                                       GBDFED(1)

Description

gbdfed  lets  you  interactively create new bitmap font files or modify existing ones.  It allows editing
       multiple fonts and multiple glyphs, it allows cut and paste  operations  between  fonts  and  glyphs  and
       editing  font  properties.   gbdfed  can import Metafont PK/GF fonts, Han Bitmap Font Format (HBF) fonts,
       Linux console fonts (PSF, CP, and EGA/VGA) fonts, Sun VF fonts,  OpenType/TrueType  (OTF/TTF)  fonts,  or
       grab  a  font from the X server (when running under X11).  gbdfed can export PSF2 Linux console fonts and
       HEX fonts (see online help).

       gbdfed works on X Window System Version 11 (X11), Release 5 or 6, with GTK+ 2.6 or greater. It  may  work
       on Windows, but hasn't been tested yet.

Font Grid

       At the top of each editor window there are some fields and buttons.  These are:

              The "Font" text field is where the font name is set so it can be edited.

              The "Glyph" field is a label that provides  some  information  about  glyph  name,  encoding,  and
              metrics  when  a  glyph is selected.  When a range of glyphs are selected, this field displays the
              start and end codes of the range.

              The push buttons are used to navigate through the glyph pages.   The  "Previous  Page"  and  "Next
              Page"  buttons  normally  skip  glyph  pages  that  are  empty,  but that can be changed using the
              "Preferences" dialog.

              The "Page" field indicates the current glyph page and also allows a specific  page  number  to  be
              entered.  Once a page number is entered, pressing the Return key will cause the Font Grid to shift
              to that page.  The page number entered is assumed to be a decimal number.

              The  "Code"  field is provided for situations where the page number is not known, but the encoding
              is known.  The encoding entered in this field must be in the base (8, 10, or 16) that is currently
              being used to display glyph encodings (see the "View" menu below).  Once the encoding is  entered,
              pressing the Return key will cause the Font Grid to shift to the page containing the encoding.

       The  main  window  of  each font editor is called the FontGrid.  Each Font Grid has a clipboard used for
       passing glyphs around.  This clipboard is called FONTGRID_CLIPBOARD.  The format of the  data  stored  to
       this clipboard is not documented yet.

       When  a  glyph  has been modified either by the user or by automatic metrics corrections when the font is
       loaded, the glyph code above the glyph cell will be highlighted.

Font Grid Other Features

       Double clicking the mouse on one of the glyphs will start a Glyph Editor for that glyph.

       The font name can be edited in the Font Grid and page switching can be done with the buttons on the  Font
       Grid.

Glyph Editor

       The  GlyphEditor  provides  a  simple  bitmap  editor  designed  to  edit glyph bitmaps and other glyph
       information.  The Glyph Editors all use a special clipboard  used  to  pass  bitmaps  between  the  Glyph
       Editors.  This clipboard is called GLYPHEDIT_CLIPBOARD.

       The only limit on the number of Glyph Editors that can be open at one time is the amount of memory.

Glyph Editor Other Features

       When the mouse is used to shift the bitmap using one of the buttons, holding the mouse  down  will  cause
       the activity to repeat.

Name

       gbdfed - GTK-based BDF font editor

Options

gbdfed accepts the following command line arguments:

       -nc     do  not preserve comments (by default, gbdfed automatically collects comments that are saved with
               the font).

       -nu     do not preserve unencoded glyphs (by default, gbdfed preserves the unencoded glyphs).

       -nm     do not make metrics  corrections  (by  default,  gbdfed  attempts  to  make  metrics  corrections
               automatically).

       -np     do not pad character-cell bitmaps (by default, gbdfed pads character-cell bitmaps with 0's to the
               cell dimensions when the font is saved).

       -bp     allow blank pages (by default, gbdfed skips blank pages).

       -ed     do not present the "Really Exit?" dialog (by default, this dialog always presented).

       -psn   set default point size (if unspecified, gbdfed sets it to 12).

       -hresn set default horizontal resolution.

       -vresn set default vertical resolution.

       -resn  set both default resolutions (if unspecified, gbdfed sets both horizontal and vertical resolution
               to that of display, (e.g. 90x90 dpi for Sun workstations).

       -sps   set  the  default  font  spacing  ("p"  for Proportional, "m" for Monowidth, or "c" for Character
               Cell).

       -eole  set the default end-of-line type ("u" for Unix LF, "d" for DOS/Windows CRLF, or "m" for Macintosh
               CR).  CR)

       -gglyph-code
               specify the initial glyph code at startup.  The glyph code can be specified in decimal, octal, or
               hex.  Octal numbers must be prefixed with the digit 0, and hex numbers must be prefixed with  one
               of: 0x,0X,U+,U-,\u.

       -cbcode-base
               specify  the  code  base  used  to  display  the  glyphs encodings (can be "octal", "decimal", or
               "hexadecimal").

Properties

See Also

xmbdfed(1), xfed(1), bdftopcf(1), bdftosnf(1), psfaddtable(1), psfgettable(1), fontforge(1)
       GlyphBitmapDistributionFormat(BDF)Specification, Application Note 5005, Adobe System Inc, 1993
       XLogicalFontDescription, X Consortium

Synopsis

gbdfed [options] [fonts...]

See Also