

If the plugin was discovered but has load status “Off” or New” or if Likely because of a configuration change or startup flag).

“Unloaded” if the plugin was discoveredĪnd its load status is “On” but loading has not been attempted (most If the module could be imported but the initialization function “On” but the relevant module could not be imported. “Couldn’t Load” if the plugin was discovered and its load status is “Not Found” if the plugin is configured but was not discovered. “On” if the plugin is enabled, “Off” if it is disabled, “New” if the The name of the plugin as defined by its author. Each dictionary object will have the keys: name Configured plugins are listed first in loading order followed byĪny newly discovered plugins. Returns a list of dictionary objects describing configured and/or discovered Is delayed by the -skippyplug command-line flag. Importing FontForge into a python process but can also be when loading loadPlugins ( ) ¶ĭiscovers and loads FontForge python plugins according to the currentĬonfiguration, if not already loaded. This will be a large number like 20070406. LibSpiro 0.6 and higher reports back it’s version available. ‘0.2’ if LibSpiro 0.2 toĠ.5 is available. ‘0.0’ if FontForge has no LibSpiroĪvailable. Return the number of Unicode Blocks as described by Currently, the blocks are. Library available, then return empty string “”. If there is no unicode annotation for this value, or no Returns the Unicode Annotations for this value as described by Namelist is specified the name will be taken from that. nameFromUnicode ( uni ) ¶įinds the glyph name associated with a given unicode codepoint. The third argument is the page width and theįourth is the height. The third and fourth arguments are optional and specify the page size The second argument specifies the filename. ps-fileĭump the postscript output to a file. The second argument should contain the command and its arguments. Use a custom shell command to print the output. ghostviewĭisplays the output using ghostview (or gv). You may use the optional second argument to specify the printer name. Queues postscript output to the printer using lpr. Queues postscript output to the printer using lp. Loads a FontForge cidmap file (first three args are strings, last is an integer) fontforge. preloadCidmap ( filename, registry, order, supplement ) ¶ Loads all namelist files in the directory fontforge. Or the encoding will be ignored and None will be returned. Loading encodings in Unicode consortium format, an encname has to be specified Loads an encoding file, returns the name of the encoding or None. Sets the type1 PostScript OtherSubrs to the stuff found in the file. Sets the type1 PostScript OtherSubrs to the default value fontforge. Loads the user’s default preference settings. Saves the current preference settings fontforge.

Returns a boolean, True if Raph Levien’s spiro package is available for Sets the value of the named preference item fontforge. Returns the value of the named preference item fontforge. unspecifiedMathValue ¶Ī constant, used when the value is unspecified Module functions ¶ fontforge. It indicates that the tupleĭescribes an open contour. This may only be used on the first point in a spiro tuple. spiroOpen ¶Ī spiro point type enumeration of value 6. spiroRight ¶Ī spiro point type enumeration of value 5.Ī Spiro right “tangent” point fontforge. spiroLeft ¶Ī spiro point type enumeration of value 4.Ī Spiro left “tangent” point fontforge. spiroCorner ¶Ī spiro point type enumeration of value 3.Ī Spiro corner point fontforge. spiroG2 ¶Ī spiro point type enumeration of value 2.Ī Spiro G2 curve point fontforge. spiroG4 ¶Ī spiro point type enumeration of value 1.Ī Spiro G4 curve point fontforge. splineTangent ¶Ī point type enumeration of value 3 fontforge. splineHVCurve ¶Ī point type enumeration of value 2 fontforge. splineCurve ¶Ī point type enumeration of value 1 fontforge. splineCorner ¶Ī point type enumeration of value 0 fontforge. Other hooks are defined in a font’s own temporary and persistent dictionaries. (if a font has an “initScriptString” entry in its persistentĭictionary, that script will be invoked before this function). This function will be called when a font is loaded from disk. This function will be called when a new font has been created. The function will be passed the font (or possibly glyph) for which hooks ¶Ī dictionary which the user may fill to associate certain FontForgeĮvents with a python function to be run when those events happen. Fontforge ¶ Module attributes ¶ fontforge.
