index.txt
JF(9.1) JF(9.1) NAME jf - font editor SYNOPSIS jf [ file ] ... DESCRIPTION Jf edits jerq font files. If file does not begin with a slash and is not a font file, it is looked up in a standard font directory. Jf is mostly mouse- and menu-driven, except when prompting for file names. Jf divides its layer into two types of areas: The font displays show all characters in a given font in actual size; when characters are opened for editing, they appear magnified in edit displays. Button 1 is the `do it' button. Clicking button 1 inside a font display opens a character for editing; inside an edit display it sets a pixel. It may have other functions selected via menus, in which case the function is indicated by a special cursor. Button 2 is the `undo it' button. Clicking button 2 closes a character or clears a pixel, unless conditioned otherwise via menu selection. Button 3 is the `menu' button. Clicking button 3 selects a menu, pops control back to the top level, or (when the gunsight cursor shows) picks a font or character to be affected. Sometimes menu selection is the only (non-trivial) option available, as indicated by a `menu' cursor. A font is described by several parameters; these are either read from the font file, or set by default by the make new font function: max width (default 16 pixels), height (16)-measured from the top, ascent (16)-the distance of the printing baseline from the top, and range (1)-the highest-numbered character in the font. (The first character is numbered 0.) All may be changed under the set sizes menu. Squeeze font, in the open/close font menu, reduces max width as much as possi‐ ble. Each character has a width, which is shown by the length of the base‐ line in the edit display. Char width may be set under the set sizes menu; button 1 sets it to 0, button 2 sets it to a specified pixel within the max width. Char left may be used for kerning; if made posi‐ tive, it shifts a character right and causes max width to increase if necessary; if negative, the character will be shifted left. Otherwise char left is irrelevant to font editing. The bit function menu controls copying among characters in any of the bitblt(9.3) Codes, F_STORE, F_CLR, F_OR, or F_XOR. Press button 3 on the source character; hold it down while moving and release it on the destination. Several fonts may be open at once. When editing a font, it is often convenient to open a second copy for recovering botched characters. FILES /usr/jerq/font/* jerq fonts /usr/jerq/include/font.h jerq font header file DIAGNOSTICS The most common problem is running out of memory or screen area, in which case the offending operation is simply ignored. A small number of self-explanatory messages deal with errors on file I/O. SEE ALSO font(9.5) JF(9.1)