Building Accented and other Composite Characters

You can use the Element->Build Accented Char command to build up accented characters (and some other composites). Or you can hold down the shift key when invoking the menu and build slightly more general composite characters. The accented version will not create ligatures and will not replace Alpha with A. The composite version will do both these things. My assumption is that ligatures (like the "fi" ligature) usually need a bit of work on the user's part to get them to look good, in the case of "fi" the dot on the "i" needs to be fused into the hook of the "f", and if you are careless with the command you might destroy your work inadvertently.

What can be built?

So for each selected character in the font view (or for the current character in the outline view), and if all the base characters and accents needed by the character have already been created then this command will delete anything that is currently in the foreground and put a reference to the base character and another reference to the accent character into the foreground. So if the current character were "À" then a reference to "A" would be added to it, and a reference to "`" would be centered above the "A".
If Copy From is set to All Fonts then any bitmaps will have a similar process done (even in the outline character view).

Choosing accents can be a slightly tricky process. Unicode says that accented letters should be built out of the accents in the range 0x300-0x340, but this does not work too well in postscript. A Type1 font works better if the accented character is in the Adobe Standard Encoding, which means either using accents around 0x2d0 or ascii characters. Pfaedit will first attempt to find an accent around 0x2d0, then in ascii and finally in the 0x300-0x340 range. Even worse, Unicode unifies the greek and latin accents, so for greek letters- rather than looking for accents around 0x300- PfaEdit will look for accents around 0x1fbd (PfaEdit will also require the presence of the double accents like 0x1fdd).

Not all accents should be centered above the base character, a cedilla is (usually) centered underneath the base, while other accents need to be placed to the left or right, or even overstruck. PfaEdit should know about proper placement of most accents (or at least a rough approximation thereto).

Some Unicode characters contain more than one accent. Additional accents will be treated similarly. This command can also be used to generate more general composite characters .

Some accents (for example cedilla) are treated unexpectedly on certain letters (different ways in different languages), so be careful of g-cedilla. Å often merges the ring into the top of the A, but here it will float above it. Be alert.

Placing an accent above a character is surprisingly tricky. Centered accents (like grave, acute, etc.) should not really be placed in the exact center of the character. For instance when placing an acute accent on top of an "a" the accent should actually go above the highest part of the "a" which is almost but not quite in the center of the character. And when placing an acute on top of a "k" (a rare combination, but still used) the accent is centered on the stem of the "k". Greek accents are even more baroque. PfaEdit knows many oddities of accent placement, but it will never know all of them (some letters have multiple forms depending on the font, or perhaps on the humidity and phase of the moon).


Center point of the glyph


Highest point of the glyph

And how accents are centered depends on the accents themselves. Usually PfaEdit will try to center an accent so that the accent's center is over the base character's "center". But that doesn't always work either. The grave and acute accents are usually (but not always) centered only on the bottom part of the glyph.


Midpoint of accent


Centered on base of accent

PfaEdit gives you a minuscule amount of control over where it puts accents. There are two preference items you can set (File->Preferences)

NOTE: So PfaEdit is going to do something wrong. There are just too many areas where I am ignorant or my taste doesn't match yours or the program has a bug. I strongly recommend that you examine all your accented characters after building them and be prepared to adjust things.

The algorithms take some account of the italicangle, but when working on an italic (or oblique) font PfaEdit is even more likely to do something you don't like.

If all else fails you can build your own accented characters with Edit->Copy Reference and Edit->Paste

-- Element Menu -- TOC -- Tutorial --