|
|
1.1 root 1: .TH JF 9.1
2: .CT 1 editor graphics
3: .SH NAME
4: jf \- font editor
5: .SH SYNOPSIS
6: .B jf
7: [
8: .I file ...
9: ]
10: .SH DESCRIPTION
11: .I Jf
12: edits jerq font files.
13: If
14: .I file
15: does not begin with a slash and is not a font file,
16: it is looked up in a standard font directory.
17: .PP
18: .I Jf
19: is mostly mouse- and
20: menu-driven, except when prompting for file names.
21: .I Jf
22: divides its layer into two types of areas:
23: Font displays
24: show all characters in a given font in actual size.
25: When characters are opened for editing, they appear magnified in
26: edit displays.
27: .PP
28: Button 1
29: is the `do it' button.
30: Clicking button 1 inside a font display
31: opens a character for editing; inside an edit display
32: it sets a pixel.
33: It may have other functions selected via menus, in which case the function
34: is indicated by a special cursor.
35: .PP
36: Button 2
37: is the `undo it' button.
38: Clicking button 2 closes a character or clears a
39: pixel, unless conditioned otherwise via menu selection.
40: .PP
41: Button 3
42: is the `menu' button.
43: Clicking button 3 selects a menu, pops control
44: back to the top level, or (when the gunsight cursor shows)
45: picks a font or character to be affected.
46: Sometimes menu selection is the only (non-trivial)
47: option available, as indicated by a `menu' cursor.
48: .PP
49: A font is described by several parameters; these are either read from the
50: font file, or set by default by the
51: .B make new font
52: function:
53: .B max width
54: (default 16 pixels),
55: .B height
56: (16)\-measured from the top,
57: .B ascent
58: (16)\-the distance of the printing baseline from the top, and
59: .B range
60: (1)\-the highest-numbered character in the font.
61: (The first character is numbered 0.)
62: All may be changed under the
63: .B set sizes
64: menu.
65: .B Squeeze font,
66: in the
67: .B open/close font
68: menu, reduces max width as much as possible.
69: .PP
70: Each character has a width, which is shown by the length of the baseline
71: in the edit display.
72: The
73: .B char width
74: may be set under the
75: .B set sizes
76: menu; button 1 sets it to 0, button 2 sets it to a specified pixel
77: within the max width.
78: The quantity
79: .B char left
80: may be used for kerning.
81: If positive, it shifts a character right and causes
82: .B max width
83: to increase if necessary; if negative, the character will be shifted
84: left.
85: Otherwise
86: .I char left
87: is irrelevant to font editing.
88: .PP
89: The
90: .B bit function
91: menu controls copying among characters in any of the
92: .IR bitblt (9.3)
93: Codes:
94: .BR F_STORE ,
95: .BR F_CLR ,
96: .BR F_OR ,
97: .BR F_XOR.
98: Press button 3 on the source character; hold it down while moving and
99: release it on the destination.
100: .PP
101: Several fonts may be open at once.
102: When editing a font, it is often convenient to open a second copy
103: for recovering botched characters.
104: .SH FILES
105: .TF /usr/jerq/include/font.h
106: .TP
107: .F /usr/jerq/font/*
108: jerq fonts
109: .TP
110: .F /usr/jerq/include/font.h
111: jerq font header file
112: .SH SEE ALSO
113: .IR font (9.5)
114: .SH DIAGNOSTICS
115: When out of memory or screen area,
116: .I jf
117: ignores the offending operation.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.