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 folliwing options:

  • fontPath
  • removeOverlap
  • correctContourDirection

otf2pfa(sourcePath, destinationPath)

Convert a otf to pfa.

otf2svg(sourcePath, destinationPath)

Convert a otf to svg.

autohint(fontPath)

Autohint a postscript flavored font.

hasTTFAutoHint()

Return a boolean if ttfautohint is installed.

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

Use ttf autohint if its locally installed to autohint a ttf file.

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

Use FDK stemHist on a binary font. See stemHist help for details.

setUseEmbeddedFDK(value)

Set a boolean if RoboFont should use the embedded FDK.

getUseEmbeddedFDK()

Returns a boolean if RoboFont will use the embedded FDK.

executeCommand(command, shell=False)

Execute commands in the terminal. Commands must be a list of arguments. Optionally execute in the shell instead of inside RoboFont

Last edited on 15/05/2018