Generate Font Dialog

This generates font files, both outline and bitmap. You may choose not to generate either, you may generate an afm file or a pfm file, you may select the type of postscript output, you may select which pixelsizes of bitmap to generate.

The outline types are:

The bitmap types are:

The options dialog provides the following check boxes. Not all are enabled at all times.

TTF (and OpenType) fonts are usually generated in Unicode encoding, there will also be a tiny macintosh encoding of MacRoman (and a macintosh copy of the unicode encoding) -- the exceptions are: KSC5601 and Wansung fonts which will use Wansung, Johab fonts will use johab, JIS208 and SJIS fonts will use SJIS, Big5 will use big5 encoding. Fonts with a "Full Unicode" encoding will have both a 2 byte unicode encoding table and a 4 byte table. OpenType CID keyed fonts will be saved with Unicode encoding.

Postscript fonts are generated in whatever encoding the font is using (except if you take a two byte encoding and generate a Type1 font (rather than a Type0) then only the first few (256) glyphs will be encoded). Type0 does not support a full Unicode (4 byte) encoding.

PS CID (and OpenType CID in the CFF) are saved with no encoding. The encodings live in separate cmap files which are available from adobe (and perhaps other font vendors).

If you save a CID font with a format other than PS CID or OpenType CID, then only the currently displayed subfont will be saved, with the current meaningless glyph ordering (I suppose this is useful if you wish to extract a sub-font from a CID font).

SVG fonts don't really have the concept of an encoding other than Unicode.

TTF (and OpenType) fonts will produce vertical metrics tables if the font has vertical metrics enabled. Postscript type1 fonts will not produce Metrics2 dictionaries (If someone actually wants this let me know, it can be done, but I get the impression that nobody uses this any more).

On Mac OS/X, when generating a resource font containing a postscript font then the filename textfield will not be present (as the filename is determined by the fontname). You can still select a directory however.

The bitmap sizes must all be present in the font database. AntiAliased fonts can be indicated by following the pixelsize by "@<depth>" (ie. "@8").

If you are generating a bdf font then you will be prompted for a resolution later.

See the section on namelists for a discussion of the "Force glyph names to" field.

If you leave [] Validate Before Saving checked then FontForge will attempt to validate your font. If it passes then FontForge will save it without bothering you further, but if it fails FontForge will give you the option of reviewing errors and fixing them. It will pop up a validation window.

If you generate a TrueType or OpenType font with the OpenType mode set (note: the term "OpenType" means two things, a truetype wrapper around a postscript font, or a set of tables containing typographic information -- here the OpenType mode refers to the typographic tables) then FontForge will generate GPOS, GSUB, and GDEF tables. These contain kerning, ligature information, arabic forms data, anchor points, etc.

Apple does not completely support these OpenType layout tables. If you set Apple mode 'kern', 'opbd', 'morx', 'feat', 'lcar' and 'prop' tables may be generated instead. (and a couple of other small differences will appear).

If you set both Apple and OpenType then both sets of tables will be generated. If you set neither, then only the 'kern' table will be generated, and it will only contain pair-wise kerning (no kerning classes, no kerning by state machine). This is the kind of kerning available in the original truetype spec (from which both Apple and OpenType have diverged, but which both still support).


Uploads to Open Font Library

When you are generating a font you also have the option of uploading it to the open font library. Only do this to a release version of the font -- I don't think there's a way to upgrade an entry later.

Before doing this you must register with the Open Font Library and acquire a username/password combination.

Checking the [*] Upload to Open Font Library will expand the dialog with fields containing the information needed to upload a font to the library.

First (obviously) you need the username/password combination you acquired earlier. FontForge will remember these for you if you want, but the information is barely encrypted when FF stores it (of course the password goes across the internet as plain text, so having minimal encryption on your computer may be the least of your worries).

You need to identify the font with a name on the OFLibrary site. Generally the fontname will do, but you could chose something else.

If you had any colaborators, or if you based this on some earlier work list these people in "Artists".

The OFLib identifies fonts by keyword tags. You may list as many comma separated tags as you wish, and you may use pretty much anything as a tag. It should be something that will help identify your font of course. So "sans_serif", "bold", "condensed", "italic", might all be good tags. The server will automagically add tags containing the font type (otf/ttf/etc.) and the license.

You also need to specify a description of the font.

You must specify a license. The OFLib currently accepts only two licenses (Open Font License and Public Domain). If your font is not licensed with either of these you should not upload it.

Finally you may mark that your font is "Not safe for use in a work environment" I'm not sure what font would fall into that catagory (I think it is part of the common interface with the open clip art library), perhaps a font where the glyph stems were nude figures or some such.

Pressing [Save] will first save the font on the local disk, and then upload it to the OFLib -- obviously you must be connected to the InterNet for this to work.


Generate Mac Family

This brings up a dialog very similar to the generate fonts dialog above, but with a few added fields. Because this dialog is for Mac families, only Mac formats are supported.

Right above the [Save] button is a list of all fonts that FontForge thinks should be included in this family, along with their bitmap info. If you don't want a font to be in the family simply uncheck its checkbox.

The font styles that are allowed in a family are limited by the capabilities of the mac 'FOND' resource which only allows one style of a given type and does not support the concepts of "Light", "Black" (if there is already a "Bold" style), "Oblique" (if there is already an "Italic" style), etc. Generally FontForge will be able to figure out a font's style from its fontname, but in some cases you may wish to override this by setting the mac style directly in fontinfo.

For information on creating mac font families beyond the capabilities of this dialog look at the FAQ.



SVG fonts

SVG (Scalable Vector Graphics) fonts, come in two forms, one corresponds roughly to a PostScript Type1 font, and one to a PostScript Type 3 font.

In the first format a set of contours is specified for each glyph. There is no indication given whether the font should be stroked or filled -- that informaton will have inherited from the graphical environment when the font is used on text.

In the second format each glyph may contain the stroke and fill commands needed to draw it.

FontForge usually generates the first format, but for multi layered or stroked fonts it will generate the second format.

-- Prev -- TOC -- Next --