Skip to content

fontgate

fontgate

Overview

FontGate Python interface

Low-level FontLab font data API. fgFont provides glyphs, naming data, features and kerning; fgGlyph provides glyph data. Feature data is exposed by fgFont.features; there is no captured module-level fgFeatures class.

Classes

Class Summary
fgAnchor Captured native MRO: fgAnchor, object
fgAnchors List of fgAnchor objects
fgAxes Captured native MRO: fgAxes, object
fgAxis Captured native MRO: fgAxis, object
fgBitmap Captured native MRO: fgBitmap, object
fgBitmaps List of fgBitmap objects
fgBitmapsData Captured native MRO: fgBitmapsData, object
fgBrush Captured native MRO: fgBrush, object
fgCMaps List of fgCmapRecord objects
fgCapParams Captured native MRO: fgCapParams, object
fgCaret Captured native MRO: fgCaret, object
fgCarets List of fgCaret objects
fgCmapRecord Captured native MRO: fgCmapRecord, object
fgCoding Captured native MRO: fgCoding, object
fgColor Captured native MRO: fgColor, object
fgComponent Captured native MRO: fgComponent, object
fgComponents List of fgComponent objects
fgContour Captured native MRO: fgContour, object
fgContours List of fgContour objects
fgCurve Captured native MRO: fgCurve, object
fgCuspPoint Captured native MRO: fgCuspPoint, object
fgCuspPoints List of fgCuspPoint objects
fgDesignPosition Captured native MRO: fgDesignPosition, object
fgDeviceRecord Captured native MRO: fgDeviceRecord, object
fgDeviceRecords List of fgDeviceRecord objects
fgExtMapIntTofgShape FgExtMapIntTofgShape dictionary
fgExtMapUCharToUChar FgExtMapUCharToUChar dictionary
fgExtMapUIntToString FgExtMapUIntToString dictionary
fgExtMapUShortToShort FgExtMapUShortToShort dictionary
fgFlagsDict Bool flags diactionary
fgFont Captured native MRO: fgFont, object
fgFontGateData Captured native MRO: fgFontGateData, object
fgFontHinting Captured native MRO: fgFontHinting, object
fgFontInfo FontInfo data
fgFontInfoDict Font info dictionaries
fgGaspRecord Captured native MRO: fgGaspRecord, object
fgGaspRecords List of fgGaspRecord objects
fgGlyph Captured native MRO: fgGlyph, object
fgGlyphData Captured native MRO: fgGlyphData, object
fgGlyphDict Glyph dictionaries
fgGlyphIDsSet GlyphIDs set
fgGlyphs List of fgGlyph objects
fgGlyphsR Captured native MRO: fgGlyphsR, object
fgGroup Kerning/Metrics group
fgGroups Glyph groups list
fgGuide Captured native MRO: fgGuide, object
fgGuides List of fgGuide objects
fgHint Captured native MRO: fgHint, object
fgHintCommand Captured native MRO: fgHintCommand, object
fgHintCommands List of fgHintCommand objects
fgHints List of fgHint objects
fgIntDict Int dictionary
fgKerning Captured native MRO: fgKerning, object
fgKerningGroups Dictionary of kerning groups
fgKerningObject Captured native MRO: fgKerningObject, object
fgKerningObjectPair Captured native MRO: fgKerningObjectPair, object
fgLayer Math operation: fgLayer + fgLayer fgLayer - fgLayer
fgLayers List of fgLayer objects
fgLib Dictionary with font- or glyph-related data
fgMapBytes Raw data dictionary
fgMaster Captured native MRO: fgMaster, object
fgMasters List of fgMaster objects
fgMatrix Math operation: fgMatrix * fgMatrix
fgMaxP Captured native MRO: fgMaxP, object
fgMetricsClass Captured native MRO: fgMetricsClass, object
fgMetricsClasses List of fgMetricsClass objects
fgNametable Unicode->name translation and vice versa
fgNode Math operation: fgNode + fgNode fgNode - fgNode fgNode * float
fgNodes List of fgNode objects
fgOTLayout Captured native MRO: fgOTLayout, object
fgOpt_AutoMetrics FgOpt_AutoMetrics options page
fgOpt_EOTExport FgOpt_EOTExport options page
fgOpt_ExpandKerning FgOpt_ExpandKerning options page
fgOpt_Font FgOpt_Font options page
fgOpt_KerningOptions FgOpt_KerningOptions options page
fgOpt_OTExport FgOpt_OTExport options page
fgOpt_OTExportFeaFile FgOpt_OTExportFeaFile options page
fgOpt_OTImport FgOpt_OTImport options page
fgOpt_Optimize FgOpt_Optimize options page
fgOpt_T1Autohint FgOpt_T1Autohint options page
fgOpt_T1Export FgOpt_T1Export options page
fgOpt_T1Import FgOpt_T1Import options page
fgOpt_TTAutohint FgOpt_TTAutohint options page
fgOpt_TTFAutohint FgOpt_TTFAutohint options page
fgOpt_UfoFontExport FgOpt_UfoFontExport options page
fgOpt_UfoFontImport FgOpt_UfoFontImport options page
fgOpt_VfbExport FgOpt_VfbExport options page
fgOpt_VfbImport FgOpt_VfbImport options page
fgOpt_WOFFExport FgOpt_WOFFExport options page
fgOptions FontGate options
fgOtInfo Captured native MRO: fgOtInfo, object
fgOtValue Math operation: fgOtValue + fgOtValue fgOtValue - fgOtValue fgOtValue * float
fgPackages Captured native MRO: fgPackages, object
fgPen Captured native MRO: fgPen, object
fgPoint Math Operations: fgPoint + fgPoint fgPoint - fgPoint fgPoint * fgPoint fgPoint * float - vector product fgPoint / float fgPoint << fgPoint - True if first point is less or equal to second fgPoint >>…
fgPointU Math Operations: fgPointU + fgPoint/fgPointU fgPointU - fgPoint/fgPointU fgPointU * fgPoint/fgPointU fgPointU * float - vector product fgPointU / float fgPointU << fgPointU - True if first point is…
fgRect Math Operations: fgRect + fgPoint fgRect + fgRect fgRect + float fgRect - fgPoint fgRect - fgRect fgRect - float fgRect * float fgRect / float fgRect & fgRect fgRect | fgRect
fgRendered Captured native MRO: fgRendered, object
fgShape Math Operations: fgShape + fgShape fgShape - fgShape fgShape * float
fgShapes List of fgShape objects
fgStem Captured native MRO: fgStem, object
fgStems List of fgStem objects
fgStringDict String dictionary
fgTTInterpreter Captured native MRO: fgTTInterpreter, object
fgTrueTypeData Captured native MRO: fgTrueTypeData, object
fgTrueTypePoint Captured native MRO: fgTrueTypePoint, object
fgTrueTypePoints List of fgTrueTypePoint objects
fgValuesDict Float values dictionary
fgVdmxRecord Captured native MRO: fgVdmxRecord, object
fgVdmxRecords List of fgVdmxRecord objects
fgVector Captured native MRO: fgVector, object
fgVectorBool [char] vector
fgVectorChar [char] vector
fgVectorDouble [double] vector
fgVectorInt [int] vector
fgVectorPoint [fgPoint] vector
fgVectorUInt16 [uint16_t] vector
fgVectorUInt32 [uint32t] vector
fgZone Captured native MRO: fgZone, object
fgZones List of fgZone objects
pyfgDataOwnerData PyfgDataOwnerData objects

Constants and attributes

Name Type Summary
fgCURVE int Integer node type constant named fgCURVE.
fgLINE int Integer node type constant named fgLINE.
fgMOVE int Integer node type constant named fgMOVE.
fgOFFCURVE int Integer node type constant named fgOFFCURVE.
options fgOptions Module-level fgOptions instance holding FontGate options.