This project is a minimal example on how to set up and build a mark feature in a UFO workflow.
font.ufo– the main source file with anchors andCOMBINING_MARKSgroup in place. Subset of Source Serif Display.features.fea– the file tying all the features togetherGSUB.fea– contains all GSUB features
GlyphOrderAndAliasDB– spreadsheet which helpsmakeotfunderstand ordering and code point mapping. Built using the FDK’sgoadbWriterkern.fea– GPOS kerning. Built using the FDK’skernFeatureWritermark.fea– GPOS mark feature. Built using the FDK’smarkFeatureWritermkmk.fea– GPOS mark-to-mark feature. Also built using the FDK’smarkFeatureWriterMarkFeatureTest-Regular.otf– the product of this whole exercise
Navigate to the directory containing the UFO file, and execute
makeotf -r
-r stands for “release mode”, the most important effect in our case is applying the GlyphOrderAndAliasDB file ordering, and assigning Unicode code points.
NB: makeotf relies on finding a number of specifically-named files:
font.ufofeatures.feaGlyphOrderAndAliasDB
Using other file names is possible, but requires additional arguments. See makeotf -h for further information.