mojo.compile

FDKVersion

makeotf(outputPath, outlineSourcePath=None, featuresPath=None, glyphOrderPath=None, menuNamePath=None, fontInfoPath=None, releaseMode=False, turnOnSubroutinzation=False, omitNotMentionedGlyphs=False)

Run makeotf with the following options:

  • outputPath
  • outlineSourcePath
  • featuresPath
  • glyphOrderPath
  • menuNamePath
  • fontInfoPath
  • releaseMode
  • turnOnSubroutinzation
  • omitNotMentionedGlyphs

checkOutlines(fontPath, removeOverlap=True, correctContourDirection=True)

Run FDK checkoutlines with the following options:

  • fontPath
  • removeOverlap
  • correctContourDirection

otf2pfa(sourcePath, destinationPath)

Convert otf font to pfa.

otf2svg(sourcePath, destinationPath)

Convert otf to svg font.

autohint(fontPath)

Autohint a PostScript-flavored font.

hasTTFAutoHint()

Return a bool indicating if ttfautohint is installed.

ttfautohint(fontPath, outputPath=None, isSymbolFont=False)

Use the locally installed ttfautohint (if available) to autohint a ttf file.

stemHist(fontPath, useCurves=True, blueZones=False, glyphs=None)

Run FDK stemHist on a binary font. See the stemHist help for details.

setUseEmbeddedFDK(value)

Set a bool indicating if RoboFont should use the embedded FDK.

getUseEmbeddedFDK()

Returns a bool indicating if RoboFont will use the embedded FDK.

executeCommand(command, shell=False)

Execute commands in the Terminal. A command must be a list of arguments. Optionally, execute in the shell instead of inside RoboFont.

Last edited on 26/03/2020