Skip to content

@anthrotype anthrotype released this Jul 10, 2019

  • [featureVars] Fixed region-merging code on python3 (#1659).
  • [varLib.cff] Fixed merging of sparse PrivateDict items (#1653).
Assets 4

@anthrotype anthrotype released this Jun 19, 2019

  • [subset] Fixed regression when passing --flavor=woff2 option with an input font that was already compressed as WOFF 1.0 (#1650).
Assets 4

@anthrotype anthrotype released this Jun 18, 2019

  • [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed glyf and loca tables, as well as with transformed hmtx table.
    Removed Snippets/woff2_compress.py and Snippets/woff2_decompress.py scripts, and replaced them with a new console entry point fonttools ttLib.woff2 that provides two sub-commands compress and decompress.
  • [varLib.cff] Fixed bug when merging CFF2 PrivateDicts. The PrivateDict data from the first region font was incorrecty used for all subsequent fonts. The bug would only affect variable CFF2 fonts with hinting (#1643, #1644).
    Also, fixed a merging bug when VF masters have no blends or marking glyphs (#1632, #1642).
  • [loggingTools] Removed unused backport of LastResortLogger class.
  • [subset] Gracefully handle partial MATH table (#1635).
  • [featureVars] Avoid duplicate references to rvrn feature record in DefaultLangSys tables when calling addFeatureVariations on a font that does not already have a GSUB table (aa8a5bc).
  • [varLib] Fixed merging of class-based kerning. Before, the process could introduce "rogue" kerning values and variations for random classes against class zero (everything not otherwise classed).
  • [varLib] Fixed merging GPOS tables from master fonts with different number of SinglePos subtables (#1621, #1641).
  • [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1.
Assets 4

@anthrotype anthrotype released this May 28, 2019

  • [OS/2] Fixed sign of fsType: it should be uint16, not int16 (#1619).
  • [subset] Skip out-of-range class values in mark attachment (#1478).
  • [fontBuilder] Add an empty DSIG table with setupDummyDSIG method (#1621).
  • [varLib.merger] Fixed bug whereby GDEF.GlyphClassDef were being dropped when generating instance via varLib.mutator (#1614).
  • [varLib] Added command-line options -v and -q to configure logging (#1613).
  • [subset] Update font extents in head table (#1612).
  • [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph (#1611).
  • [requirements] Updated unicodedata2 backport for Unicode 12.0.
Assets 4

@anthrotype anthrotype released this May 13, 2019

  • [cffLib] Fixed issue when importing a CFF2 variable font from XML, whereby the VarStore state was not propagated to PrivateDict (#1598).
  • [varLib] Don't drop post glyph names when building CFF2 variable font (#1609).
Assets 4

@anthrotype anthrotype released this May 13, 2019

  • [designspaceLib] Added loadSourceFonts method to load source fonts using custom opener function (#1606).
  • [head] Round font bounding box coordinates to integers to fix compile error if CFF font has float coordinates (#1604, #1605).
  • [feaLib] Don't write None in ast.ValueRecord.asFea() (#1599).
  • [subset] Fixed issue AssertionError when using --desubroutinize option (#1590, #1594).
  • [graphite] Fixed bug in Silf table's decompile method unmasked by previous typo fix (#1597). Decode languange code as UTF-8 in Sill table's decompile method (#1600).
Assets 4

@anthrotype anthrotype released this Apr 29, 2019

  • [varLib/cffLib] Added support for building CFF2 variable font from sparse masters, or masters with more than one model (multiple VarStore.VarData).
    In cffLib.specializer, added support for CFF2 CharStrings with blend operators (#1547, #1591).
  • [subset] Fixed subsetting HVAR and VVAR with --retain-gids option, and when advances mapping is null while sidebearings mappings are non-null (#1587, #1588).
  • Added otlLib.maxContextCalc module to compute OS/2.usMaxContext value.
    Calculate it automatically when compiling features with feaLib.
    Added option --recalc-max-context to subset module (#1582).
  • [otBase/otTables] Fixed AttributeError on missing OT table fields after importing font from TTX (#1584).
  • [Silf] Fixed typo Silf table's decompile method (#1586).
  • [otlLib] Better compress GPOS SinglePos (LookupType 1) subtables (#1539).
Assets 4

@anthrotype anthrotype released this Apr 8, 2019

  • [subset] Fixed error while subsetting VVAR with --retain-gids option (#1552).
  • [designspaceLib] Use up-to-date default location in findDefault method (#1554).
  • [voltLib] Allow passing file-like object to Parser.
  • [arrayTools/glyf] calcIntBounds (used to compute bounding boxes of glyf table's glyphs) now uses otRound instead of round3 (#1566).
  • [svgLib] Added support for converting more SVG shapes to path d strings (ellipse, line, polyline), as well as support for transform attributes. Only matrix transformations are currently supported (#1564, #1564).
  • [varLib] Added support for building VVAR table from vmtx and VORG tables (#1551).
  • [fontBuilder] Enable making CFF2 fonts with post table format 2 (#1557).
  • Fixed DeprecationWarning on invalid escape sequences (#1562).
Assets 4

@anthrotype anthrotype released this Mar 19, 2019

  • [ttLib/glyf] Raise more specific error when encountering recursive component references (#1545, #1546).
  • [Doc/designspaceLib] Defined new public.skipExportGlyphs lib key (#1534, unified-font-object/ufo-spec#84).
  • [varLib] Use vmtx to compute vertical phantom points; or hhea.ascent and head.unitsPerEM if vmtx is missing (#1528).
  • [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation.toXML to improve readability of TTX dump (#1527).
  • [varLib.plot] Added support for 2D plots with only 1 variation axis (#1522).
  • [designspaceLib] Use axes maps when normalizing locations in DesignSpaceDocument (#1226, #1521), and when finding default source (#1535).
  • [mutator] Set OVERLAP_SIMPLE and OVERLAP_COMPOUND glyf flags by default in instantiateVariableFont. Added --no-overlap cli option to disable this (#1518).
  • [subset] Fixed subsetting VVAR table (#1516, #1517).
    Fixed subsetting an HVAR table that has an AdvanceWidthMap when the option --retain-gids is used.
  • [feaLib] Added forceChained in MultipleSubstStatement (#1511).
    Fixed double indentation of subtable statement (#1512).
    Added support for subtable statement in more places than just PairPos lookups (#1520).
    Handle lookupflag 0 and lookupflag without a value (#1540).
  • [varLib] In load_designspace, provide a default English name for the ital axis tag.
  • Remove pyftinspect because it is unmaintained and bitrotted.
Assets 4

@anthrotype anthrotype released this Feb 18, 2019

  • [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with CFF table (#1488, 649dc49).
  • [subset] Fixed AttributeError when using --desubroutinize option (#1490).
    Also, fixed desubroutinizing bug when subrs contain hints (#1499).
  • [CPAL] Make Color a subclass of namedtuple (173a0f5).
  • [feaLib] Allow hyphen in glyph class names.
  • [feaLib] Added 'tables' option to main.py (#1497).
  • [feaLib] Add support for special-case contextual positioning formatting (#1501).
  • [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into equivalent SVG paths (#1500, #1508).
  • [Snippets] Added name-viewer.ipynb Jupyter notebook.
Assets 4
You can’t perform that action at this time.