Kenneth Reid Beesley
2015-10-16 17:19:14 UTC
Background:
I have used FontForge in the past (years ago), but I’m definitely no expert, and I’m basically relearning everything.
I’m using FontForge on Linux Mint 17.2.
$ fontforge -version
returns
Copyright (c) 2000-2012 by George Williams.
Executable based on sources from 14:57 GMT 31-Jul-2012-ML.
Library based on sources from 14:57 GMT 31-Jul-2012.
fontforge 20120731
libfontforge 20120731-ML
Goal:
I want to add some glyphs (from the Pitman/Ellis 1847 phonotypic alphabet) to an existing font, and then use the resulting augmented font in LaTeX/XeTeX. As the Pitman/Ellis 1847 alphabet has not yet been added to Unicode (there's a moribund proposal to add these characters at http://www.unicode.org/L2/L2010/10229r-epa-proposal.pdf) I will add the new glyphs in a Unicode Private Use Area.
Plan A
For better or worse, here’s what I decided to try:
1. Start with DoulosSIL-R.ttf, which is obviously a TrueType font (quadratic splines).
2. Convert it to an .otf, so that I could edit glyphs with cubic splines. I found the following instructions, which I followed
https://fontforge.github.io/faq.html#outline-conversion
Converting from TrueType (quadratic splines, ttf files) to PostScript (cubic splines, otf and pfb files):
File->Open
(the truetype font)
Element->Font Info->Layers <https://fontforge.github.io/fontinfo.html#Layers>
Check <*> All layers cubic
[OK]
Edit->Select->Select All
Element->Simplify->Simplify <https://fontforge.github.io/elementmenu.html#Simplify>
Hints->Auto Hint <https://fontforge.github.io/hintsmenu.html#AutoHint>
File->Generate Fonts <https://fontforge.github.io/generate.html>
In addition, I changed the em size from 2048 to 1000.
I generated the font as OpenType(CFF).
Errors Detected
When automatic validation is done, the following message is printed:
Errors detected
The font contains errors.
Self Intersecting
Missing Points at Extreme
Glyph contains overlapped hints (in the same hint mask)
Would you like to review the errors or save the font anyway?
A review of the errors shows that there are, indeed, scores of errors reported?
Question: What, if anything, should I do about these errors?
Question: Anything else that I’m doing wrong?
Thanks,
Ken
********************************
Kenneth R. Beesley, D.Phil.
PO Box 540475
North Salt Lake UT 84054
USA
------------------------------------------------------------------------------
I have used FontForge in the past (years ago), but I’m definitely no expert, and I’m basically relearning everything.
I’m using FontForge on Linux Mint 17.2.
$ fontforge -version
returns
Copyright (c) 2000-2012 by George Williams.
Executable based on sources from 14:57 GMT 31-Jul-2012-ML.
Library based on sources from 14:57 GMT 31-Jul-2012.
fontforge 20120731
libfontforge 20120731-ML
Goal:
I want to add some glyphs (from the Pitman/Ellis 1847 phonotypic alphabet) to an existing font, and then use the resulting augmented font in LaTeX/XeTeX. As the Pitman/Ellis 1847 alphabet has not yet been added to Unicode (there's a moribund proposal to add these characters at http://www.unicode.org/L2/L2010/10229r-epa-proposal.pdf) I will add the new glyphs in a Unicode Private Use Area.
Plan A
For better or worse, here’s what I decided to try:
1. Start with DoulosSIL-R.ttf, which is obviously a TrueType font (quadratic splines).
2. Convert it to an .otf, so that I could edit glyphs with cubic splines. I found the following instructions, which I followed
https://fontforge.github.io/faq.html#outline-conversion
Converting from TrueType (quadratic splines, ttf files) to PostScript (cubic splines, otf and pfb files):
File->Open
(the truetype font)
Element->Font Info->Layers <https://fontforge.github.io/fontinfo.html#Layers>
Check <*> All layers cubic
[OK]
Edit->Select->Select All
Element->Simplify->Simplify <https://fontforge.github.io/elementmenu.html#Simplify>
Hints->Auto Hint <https://fontforge.github.io/hintsmenu.html#AutoHint>
File->Generate Fonts <https://fontforge.github.io/generate.html>
In addition, I changed the em size from 2048 to 1000.
I generated the font as OpenType(CFF).
Errors Detected
When automatic validation is done, the following message is printed:
Errors detected
The font contains errors.
Self Intersecting
Missing Points at Extreme
Glyph contains overlapped hints (in the same hint mask)
Would you like to review the errors or save the font anyway?
A review of the errors shows that there are, indeed, scores of errors reported?
Question: What, if anything, should I do about these errors?
Question: Anything else that I’m doing wrong?
Thanks,
Ken
********************************
Kenneth R. Beesley, D.Phil.
PO Box 540475
North Salt Lake UT 84054
USA
------------------------------------------------------------------------------