Class based contextual positioning - how to?
Andreas Larsen
Posts: 22
I've tried using calt but it's not really working - i.e. it works fine in FontForge but generated fonts seem to ignore it.
I can't use standard kerning as the font is monospaced.
Any suggestions? (I'm a bit new to all this - just playing around with the possibilities.
feature calt { pos @wide @narrow' <128 0 0 0> @narrow; } calt;You can see the feature file here: https://github.com/larsenwork/monoid/blob/master/Utilities/RegularKerning.fea
I can't use standard kerning as the font is monospaced.
Any suggestions? (I'm a bit new to all this - just playing around with the possibilities.
0
Comments
-
What application are you testing the font with after generation?
0 -
@George Thomas firefox, chrome, atom, xcode, textedit etc...not really working in any of them
0 -
I just tried it and your code works fine in Indesign and TextEdit (Mac). The font was compiled with a very recent version of makeOTF.
0 -
@Georg Seifert so you created it from source? Did you try the version on larsenwork.com/monoid first?
How does one compile using makeOTF?
0 -
@Georg Seifert I just had quick go with makeOTF (never used it before) but ran into this issue:
makeotfexe [FATAL] Glyph renaming is requested, but the Glyph Alias And Order DB file was not specified.
This is the terminal command I used:makeOTF -f /Users/andreaslarsen/Downloads/Monoid-2/Monoid-Regular.ttf -ff /Users/andreaslarsen/Git/Monoid/Utilities/All.fea -mf /Users/andreaslarsen/Git/Monoid/Utilities/FontMenuNameDB
Any help is much appreciated.0 -
Ah...is the DB file needed for the "sub" functions to work?
https://github.com/larsenwork/monoid/blob/master/Utilities/All.fea
Is there an automated way to generate that DB file...?0 -
There should be a folder called “Technical Documentation” included with the FDK. Inside there is MakeOTFUserGuide.pdf that explains many details.
In short – makeotf requires a number of files:• a font file (pfa, ttf, otf, ufo)
• features• fontinfo• FontMenuNameDB• GlyphOrderAndAliasDB
If you put them all in one directory then the following command should be sufficient:makeotf -r -f Monoid-Regular.ttf
0 -
@Paul van der Laan Cheers - I've been reading through some of it already. It's terribly written. Not beginner friendly:) Says there is an example GlyphOrderAndAliasDB in a folder where there is none etc.
Is there an automated way to generate GlyphOrderAndAliasDB ?
0 -
Or alternatively: is there any way I can get this working using "just" FontForge?0
-
GlyphOrderAndAliasDB should list all the glyphs in your font, and every line can contain two or three columns that are separated by a tab:
[finalGlyphname]\t[currentGlyphname]\t[unicode]
If you don’t want to rename any glyphs during compilation, then finalGlyphname will be the same as currentGlyphname. The third column with unicodes is optional. For example:
bracketleft\tbracketleft\tuni005B
The FDK is typically aimed at developers and tech-savvy people. You should be able to use it with any font editor, but having a decent code editor is recommended too.0 -
Hmm...slightly stuck here
@Georg Seifert do you mind explaining me (beginner friendly) how you got it working?0 -
0
-
Hi Andreas,
FontForge is a bit more tolerant than the AFDKO. If I compile your features with OTM, I get the following error message: ‘HOT [ERROR] The languagesystem DFLT dlft; statement must precede all other language system statements.’ After fixing this everything seems to work fine from a technical point of view (although the result using DTL Argo is probably not what you had in mind ;-).
0 -
LeMo cheers, I think that fixed it!
@Paul thanks for links, will have to get into using FKO at some point:)
0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports