Application Suite: FontEd
FontEd can be found in the Apps folder on the icon bar. Double-click on the !FontEd application to load it. Provided that FontEd has been seen by the filer it can also be loaded by double clicking on a fonts Outlines file. In the example screen shot below the font Trinity.Bold.Italic has been loaded into FontEd.
Loading and creating fonts
To create a new (blank) font click with SELECT on the FontEd IconBar icon. Alternatively double-click on a font file or drag it onto the iconbar icon to edit it.
When an outline font file is loaded, a file called "IntMetrics" is searched for in the same directory as the font file - if found, it is loaded as the metrics (character widths, kerning etc) file for the font.
Normally, when FontEd loads a file, it will automatically check for conformance with the font file format, and if it does not correspond, a suitable error message is generated and the file is not loaded. If required, the checking step can be omitted by holding down the control key as the file is loaded. This checking facility makes the font editor useful for verifying that fonts generated by other means are valid.
The Main FontEd Window
As a font begins loading into FontEd, a 'Font Index' window appears, which contains the name of the font, and whether it is an outline or bitmap font. For bitmap fonts, the point size and device resolution is displayed.
To indicate that loading of characters is underway, all character names are initially displayed in blue and FontEd will gradually update each outline or bitmap character as they load - this process is done in the 'background', so that you can immediately start editing any of the characters if you wish, without having to wait for it to be displayed. Once all available characters have been loaded, any undefined characters will have a grey background and dark grey character name.
For outline fonts:
Double-clicking SELECT on a character will display its 'Skeleton' window, containing the outline of the character and its scaffold lines. See next page for details about the Skeleton window.
Double-clicking ADJUST on a character will display its 'full' window (similar to the one above), which shows what the character would look like at a particular size. This size depends on the height of the window, so by dragging the size box you can see immediately what the character will look like at a given size.
Dragging a character with SELECT onto another character box in the font index will copy the first character's definition into the other's, overwriting it. If you drag a character from the font index window onto Draw or a directory window, the character outline is converted to a DrawFile object.
Dragging a character with ADJUST onto another character box, or onto its skeleton window, will cause the destination character to use the source character as the 'base' character for its scaffold lines. Each scaffold line in a character has a unique index in the range 1..7, and any scaffold lines in the source character which have no equivalent line in the destination character will be inherited by it. Note that such lines are actually equivalent, rather than being copies - if either line is moved, the other will be affected. Note that the destination character can subsequently acquire new lines in addition to or instead of lines in the source, but that new lines added in the source character will not appear in the destination unless the 'add global line' facility is used, or the source character is again dragged onto the destination.
Dragging a character with SELECT into any Skeleton window will cause the character's outline to be displayed in grey as a 'template' in the window - this allows different characters to be compared.
Dragging a character with SHIFT-ADJUST into another character box or skeleton window will import that character as a composite character segment. This segment is a direct link to the original character, and so the use of composite sections can dramatically reduce the memory requirements of a font. For example, to create a Udieresis (U umlaut):
It is also possible (and often necessary) to adjust the position of a composite section after it has been imported. See the section about the Skeleton window for further details. Note that any changes subsequently made to the included character will affect the character in which it is included, so you should be sure to get the character right before you include it in another one.
Note that when a character is imported into another in this way, only the 'local' section of the character is imported - any composite sections in the first character are not imported. This allows, for example, the accented lower-case i's to be constructed without the need for a separate dotless i, since the first accented i can be produced with a local dotless section and an imported accent, and this character can then be included in the others to produce further dotless i sections.
Dragging a character with CTRL-ADJUST onto another character that already contains that character as a composite section will cause the composite section to be removed.
For bitmap fonts:
Double-clicking SELECT on a character will open its 'Bitmap window', showing an enlarged view of the characters definition, with the original outline displayed on top if available (see below).
Outline font menu
You can select the settings of point size and dots per inch by typing into the writable fields - up and down cursor keys move between fields, pressing RETURN activates the operation. A new Font Index window similar to the one below will appear for the bitmap font, which will start to fill up as the characters are computed from the outlines.
Clicking ADJUST on either Make or Cancel will leave the window open but perform the action, so ADJUST Cancel resets default values and ADJUST Make allows multiple Bitmap fonts to be made without reopening the menu each time.
Bitmap font menu:
Quitting the application
You can quit FontEd by choosing 'Quit' from the icon bar menu. FontEd will warn you about how many fonts are still open (if any) to give you chance to ensure you have saved any changes.
This documentation is copyright 3QD Developments Ltd 2013 and may not be reproduced or published in any form without the copyright holder's permission. RISC OS is subject to continuous development and improvement as such all information is provided by 3QD Developments Ltd in good faith and is believed to be correct at the time of publication E&OE. 3QD Developments Ltd cannot accept any liability for any loss or damage arising from the use of any information provided as part of the RISC OS Documentation.
HTML document version r23142 (3rd November 2015)