ActiveTupleSummary | ActiveTupleSummary.to_dict() returns a dictionary containing the tuple’s index, scalar value, peak coordinates, start coordinates, and end coordinates. |
AnimationAsset | AnimationAsset.write_to(path) writes the generated animation data to the given filesystem location, creates missing parent directories, and returns the Path of the written file. |
AnimationFramePackage | AnimationFramePackage.write_to(path) writes the storyboard image, each frame image, and a JSON manifest describing fps and frame labels to the specified directory. |
AnimationPreset | AnimationPreset.name stores the identifier of the animation preset. |
AnimationPreviewBuilder | AnimationPreviewBuilder.available_presets returns a tuple of preset names for animation generation. |
AnimationReviewPackage | AnimationReviewPackage.write_to saves the review package to the given filesystem path and returns the Path. |
AnimationShowcasePackage | AnimationShowcasePackage.write_to writes the package to the given path and returns the resulting Path. |
AnimationStep | AnimationStep.coordinates stores a mapping of axis names to float values defining the font instance. |
BinaryReader | Wraps a byte source in seekable BytesIO for big-endian font binary parsing. |
BinaryWriter | Accumulates bytes for binary font serialization. |
CffSerializer | CffSerializer can serialize a fully populated CffFont into a byte array suitable for writing out as a CFF or OpenType font file. |
ClosePath | Class extending PathCommand. |
CompatibilityChecker | CompatibilityChecker.compare_fonts(before, after, before_label, after_label, codepoints, text) produces a CompatibilityReport that can be exported to JSON via report.to_json(indent=2, sort_keys=True). |
CompatibilityReport | CompatibilityReport.to_json(indent, sort_keys) returns a JSON string of the report, and write_json(target, indent, sort_keys) writes that JSON directly to a file. |
CompletedTaskRecord | CompletedTaskRecord.task_id uniquely identifies the completed task. |
CompositeComponentMovement | CompositeComponentMovement.to_dict returns a dict of the object’s numeric and boolean fields. |
CompositeGlyphComponent | CompositeGlyphComponent.to_dict() returns a dict of the component’s numeric attributes. |
CoverageGroup | Coverage diagnostics for one request source such as a preset, text, or range. |
CurveAdapter | CurveAdapter.quad_to_cubic converts a quadratic Bézier (p0, q, p3) to an equivalent cubic Bézier, returning four points. |
CurveTo | CurveTo.x1 is the x‑coordinate of the first Bézier control point. |
DeltaInspector | DeltaInspector enables detailed variable‑font delta analysis, generating GlyphDeltaReport and TextDeltaReport objects that highlight coordinate changes across instances. |
DeltaPoint | DeltaPoint.to_dict returns a dictionary of the point’s numeric components. |
DeltaTupleReport | DeltaTupleReport.tuple_index is the zero‑based index of the delta tuple. |
EotSerializer | EotSerializer.serialize(font) returns the complete binary representation of an EOT font ready for file output. |
FamilyReviewExportPackage | FamilyReviewExportPackage.write_to(directory) creates a set of HTML, CSS, and manifest files for a font family, returning the list of generated file paths. |
Font | Abstract base for all font format implementations. |
FontCleaner | Font metadata and technical table cleaner. |
FontConversionException | Raised when font format conversion fails or is not supported. |
FontConverter | FontConverter.convert(font, target) produces a new Font object in the target format, raising FontConversionException if the conversion cannot be performed. |
FontEncoding | Maps Unicode codepoints to glyph IDs. |
FontException | Base class for all font library exceptions. |
FontLoader | FontLoader.open(source, font_type, collection_index) returns a Font object representing the requested font type without fully loading the entire file into memory. |
FontMetrics | FontMetrics exposes key typographic values such as units_per_em, ascender, descender, and line_gap for layout calculations. |
FontNotSupportedException | Raised for valid but unsupported font features (e.g. |
FontParseException | Raised when binary font data cannot be parsed. |
FontPreviewBuilder | FontPreviewBuilder.build(font, text, size, color, background, padding, antialias, file_stem, instance_coordinates, instance_name, output_format) generates a PreviewImage (PNG or SVG) of the supplied text rendered with the given font. |
FontSourceInfo | Describe the origin of loaded bytes. |
FontSubsetter | FontSubsetter.available_presets() returns a tuple of preset names that can be used for web‑oriented subsetting. |
Glyph | Glyph.glyph_id identifies the glyph using its numeric GlyphId. |
GlyphAccessor | Retrieves glyphs by ID or Unicode codepoint. |
GlyphCompatibilityIssue | GlyphCompatibilityIssue.to_dict returns a dictionary representation of the issue. |
GlyphDeltaComparisonReport | GlyphDeltaComparisonReport.moved_point_count is the count of points that moved between before and after. |
GlyphDeltaReport | GlyphDeltaReport.to_dict returns a dictionary representation of the report’s data. |
GlyphId | GlyphId.value holds the integer identifier of a glyph. |
GlyphInterpolationIssue | GlyphInterpolationIssue.codepoint is the integer Unicode codepoint of the affected glyph. |
GlyphLayout | A single glyph positioned in world-space layout coordinates. |
GlyphNotFoundException | Raised when a requested glyph ID or codepoint has no mapping in the font. |
GlyphOutlineStats | GlyphOutlineStats.to_dict returns a dictionary representation of the outline statistics. |
GlyphPath | Ordered sequence of PathCommand objects representing one glyph’s outline. |
KernPair | KernPair.left is the GlyphId of the left glyph in the kerning pair. |
LanguageProfile | LanguageProfile.to_dict returns a dictionary representation of the language profile. |
LineTo | LineTo.x represents the horizontal coordinate of the line endpoint. |
LoadedFont | Friendly loader result that wraps a font plus source metadata. |
LocalizationCoverage | LocalizationCoverage.to_dict returns a dictionary representation of the coverage data. |
LocalizationResolution | LocalizationResolution.to_dict returns a dictionary representation of the resolution state. |
MoveTo | MoveTo.x stores the horizontal coordinate for the move operation. |
PathCommand | Abstract marker for all path command types. |
PreviewImage | PreviewImage.write_to(path) saves the generated PNG or SVG preview to the specified filesystem location and returns the Path object. |
QuadraticTo | QuadraticTo.x1 represents the x‑coordinate of the quadratic Bézier control point. |
Rasterizer | Scanline rasterizer for GlyphPath outlines with pure-Python PNG export. |
RequestedLanguageHint | RequestedLanguageHint.to_dict returns a dictionary representation of the hint object. |
ResolvedInstance | ResolvedInstance.label is the human‑readable name of the resolved instance. |
SmartInstancer | SmartInstancer.instantiate(coordinates, instance_name, naming_strategy, family_suffix, legacy_family_name, typographic_family_name, legacy_style_name, typographic_style_name, stat_policy) returns a TtfFont object representing a static instance of the variable font. |
SubsetCoverage | Aggregate Unicode coverage diagnostics for a subsetting request. |
SubsetResult | Subsetting output bundled with the coverage report used to produce it. |
TaskCompletionReceipt | TaskCompletionReceipt.task_id identifies the task uniquely. |
TaskTokenEstimate | TaskTokenEstimate.task_id is the unique identifier of the task. |
TextDeltaComparisonReport | TextDeltaComparisonReport.to_dict() returns a dictionary containing all report fields. |
TextDeltaReport | TextDeltaReport aggregates glyph‑level delta information, exposing glyph_count, active_glyph_count, and a collection of glyph_reports for QA inspection. |
TextLayout | Result of a TextRenderer.layout() call. |
TextRenderer | Lays out text using a font’s glyph metrics and optional kern pairs. |
TtfSerializer | TtfSerializer.serialize serializes the given font object to a byte array, optionally using the provided sfnt version. |
TupleScalarDelta | TupleScalarDelta.to_dict() returns a dict with tuple_index, before_scalar and after_scalar values. |
Type1Serializer | Type1Serializer.serialize_pfb converts a font object to PFB binary data. |
UnsupportedFontFormatException | Raised by FontLoader when the file magic bytes are not recognized. |
VariableAxis | VariableAxis.normalize(value) returns the normalized (0‑1) position of a raw axis coordinate according to the axis’s defined range. |
VariableAxisPreset | VariableAxisPreset.to_presentation(axis) returns a dictionary of presentation metadata for the preset, suitable for UI rendering of preset controls. |
VariableInstance | VariableInstance.css_variation_settings(axes) produces a tuple of CSS font-variation-settings strings for the given collection of axes. |
WebFontAsset | WebFontAsset.filename stores the original font file name as a string. |
WebFontBuilder | WebFontBuilder can generate complete web‑font families with CSS, HTML preview pages and manifest files ready for deployment. |
WebFontBundle | WebFontBundle.write_to writes the bundle to a directory and returns the list of written file paths. |
WebFontFamilyPackage | WebFontFamilyPackage.write_to(directory) creates a complete family package containing CSS, HTML, a manifest, and all bundled font assets for multiple style variants. |