Debian Codegraph @

doc/sphinx/appendices/diffs.rst

raw
1 Differences from `Fontographer`_
2 ================================
3
4 * FontForge supports OpenType
5 * FontForge supports scripting
6 * FontForge understands GPOS/GSUB/GDEF tables as well as morx/prop/etc.
7 * The font window can display the outline font at various pixelsizes
8 * The font window can display a bitmap font instead (if it does then double
9 clicking on a character will open a bitmap editor)
10 * The metrics window also lets you look at the bitmap fonts (but doesn't let you
11 change their metrics, except by changing those of the outline font).
12 * Supports many more international standard encodings, allows you to create your
13 own encodings. Better unicode support. Can generate type0 fonts for 2byte
14 encodings. Support for some 94x94 CJK encodings (like JISX208)
15 * There's a command to jump to any particular character in the font, outline or
16 bitmap windows. Characters may be entered by name, local encoding, ku ten (for
17 CJK fonts), and unicode name.
18 * If you change the width of a character then all that character's bitmaps will
19 automagically have their widths changed. Also if the character is used as a
20 reference in any other character, and that other character had the same width
21 then it's width will also be updated (as will the widths of any of its
22 bitmaps)
23 * If you change the lbearing of a character (if you translate all elements in
24 the foreground of an outline character, and the translation is only in the x
25 direction) then all hints will also be translated, and if the character is a
26 letter, then any characters which depend on it will have all other elements
27 translated by the same amount. (So if you move the character "A" then the
28 reference to tilde in "Ã" will be moved to correspond)
29
30 .. _diffs.accented:
31
32 * There's a command to build an accented character.
33
34 The base characters should already have been created. Select an accented
35 character (or several of them) in the font view and press
36 :menuselection:`Build Accented Chars` from the :menuselection:`Element` menu.
37
38 Suppose you select À, then Unicode says this is made up of the characters
39 0x0041 and 0x0300. Now 0x0300 is not present in most postscript fonts, but it
40 is sort of synonymous with either 0x02CB or 0x0060 which often are present.
41 Unicode also says that 0x0300 floats on top of and centered horizontally over
42 the base character. So...
43
44 A reference to "A" will be placed into "À", and that character will be given
45 the same width as "A". Then a reference to
46
47 Some Unicode characters contain more than one accent. Additional accents will
48 be treated similarly. This command can also be used to generate more general
49 composite characters. Unicode 0x2163 is the roman numeral IV and this command
50 may be used to build it. Greek capital Alpha looks exactly like Latin capital
51 A and can be created. On the other hand the oe ligature will be replaced by an
52 "o" followed by "e", so be a little careful. Some accents (for example
53 cedilla) are treated unexpectedly on certain letters (different ways in
54 different languages), so be careful of g-cedilla. Å often merges the ring into
55 the top of the A, but here it will float above it. **Be careful.**
56
57 .. note::
58
59 My centering algorithms attempt to guess what will look centered to the
60 human eye (centering it in the middle of the character will often not look
61 centered). You should examine all built characters and be prepared to
62 adjust the accent.
63
64 The algorithms take some account of the italicangle.
65 * There's a merge font command. This is designed to allow you to build one
66 monster unicode font out of several smaller fonts. It will prompt for a font
67 to merge into the current one, and then will copy any characters which not in
68 the current font and put them there. Note both fonts must be properly encoded.
69 * You can control what you want copy to copy in the font window. By default if
70 you select "A" then and press copy then it will copy the outline description
71 and all the bitmap descriptions for "A", so when you paste it, the bitmaps
72 will follow the outline. You can choose instead just to copy from the font
73 that is being displayed (which might be the outline font or might be a
74 bitmap). When you Paste, whatever is in the clipboard will be pasted.
75
76 Transform sometimes will transform bitmaps, but not all transformations map
77 into bitmap transforms.
78 * Most changes are preserved across crashes.
79 * Right clicking in the character and bitmap windows will produce a menu of
80 tools
81 * The bitmap window has a number of (not very useful) tools which fontographer
82 didn't include. They are only available from the menu (not from palettes)
83
84 * Rectangle
85 * Filled Rectangle
86 * Ellipse
87 * Filled Ellipse
88 * Flip horizontal/vertical
89 * Rotate 90° Clockwise/Counter Clockwise
90 * Rotate 180°
91
92 .. _Fontographer: https://en.wikipedia.org/wiki/Fontographer#Macromedia