fonttools 4.55.4__cp38-cp38-macosx_10_9_universal2.whl → 4.55.7__cp38-cp38-macosx_10_9_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fonttools might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fonttools
3
- Version: 4.55.4
3
+ Version: 4.55.7
4
4
  Summary: Tools to manipulate font files
5
5
  Home-page: http://github.com/fonttools/fonttools
6
6
  Author: Just van Rossum
@@ -29,6 +29,7 @@ Classifier: Topic :: Text Processing :: Fonts
29
29
  Classifier: Topic :: Multimedia :: Graphics
30
30
  Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
31
31
  Requires-Python: >=3.8
32
+ Description-Content-Type: text/x-rst
32
33
  License-File: LICENSE
33
34
  Provides-Extra: all
34
35
  Requires-Dist: fs <3,>=2.2.0 ; extra == 'all'
@@ -377,6 +378,22 @@ Have fun!
377
378
  Changelog
378
379
  ~~~~~~~~~
379
380
 
381
+ 4.55.7 (released 2025-01-28)
382
+ ----------------------------
383
+
384
+ - Shorten the changelog included in PyPI package description to accommodate maximum length limit imposed by Azure DevOps. No actual code changes since v4.55.6 (#3754).
385
+
386
+ 4.55.6 (released 2025-01-24)
387
+ ----------------------------
388
+
389
+ - [glyf] Fixed regression introduced in 4.55.5 when computing bounds of nested composite glyphs with transformed components (#3752).
390
+
391
+ 4.55.5 (released 2025-01-23)
392
+ ----------------------------
393
+
394
+ - [glyf] Fixed recalcBounds of transformed components with unrounded coordinates (#3750).
395
+ - [feaLib] Allow duplicate script/language statements (#3749).
396
+
380
397
  4.55.4 (released 2025-01-21)
381
398
  ----------------------------
382
399
 
@@ -2008,1383 +2025,4 @@ Minor release to fix uploading wheels to PyPI.
2008
2025
  - [cffLib] Make sure glyph names are unique (#1699).
2009
2026
  - [feaLib] Fix feature parser to correctly handle octal numbers (#1700).
2010
2027
 
2011
- 3.44.0 (released 2019-08-02)
2012
- ----------------------------
2013
-
2014
- - NOTE: This is the last scheduled release to support Python 2.7. The upcoming fonttools
2015
- v4.x series is going to require Python 3.6 or greater.
2016
- - [varLib] Added new ``varLib.instancer`` module for partially instantiating variable
2017
- fonts. This extends (and will eventually replace) ``varLib.mutator`` module, as
2018
- it allows to create not just full static instances from a variable font, but also
2019
- "partial" or "less variable" fonts where some of the axes are dropped or
2020
- instantiated at a particular value.
2021
- Also available from the command-line as `fonttools varLib.instancer --help`
2022
- (#1537, #1628).
2023
- - [cffLib] Added support for ``FDSelect`` format 4 (#1677).
2024
- - [subset] Added support for subsetting ``sbix`` (Apple bitmap color font) table.
2025
- - [t1Lib] Fixed issue parsing ``eexec`` section in Type1 fonts when whitespace
2026
- characters are interspersed among the trailing zeros (#1676).
2027
- - [cffLib.specializer] Fixed bug in ``programToCommands`` with CFF2 charstrings (#1669).
2028
-
2029
- 3.43.2 (released 2019-07-10)
2030
- ----------------------------
2031
-
2032
- - [featureVars] Fixed region-merging code on python3 (#1659).
2033
- - [varLib.cff] Fixed merging of sparse PrivateDict items (#1653).
2034
-
2035
- 3.43.1 (released 2019-06-19)
2036
- ----------------------------
2037
-
2038
- - [subset] Fixed regression when passing ``--flavor=woff2`` option with an input font
2039
- that was already compressed as WOFF 1.0 (#1650).
2040
-
2041
- 3.43.0 (released 2019-06-18)
2042
- ----------------------------
2043
-
2044
- - [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed
2045
- ``glyf`` and ``loca`` tables, as well as with transformed ``hmtx`` table.
2046
- Removed ``Snippets/woff2_compress.py`` and ``Snippets/woff2_decompress.py`` scripts,
2047
- and replaced them with a new console entry point ``fonttools ttLib.woff2``
2048
- that provides two sub-commands ``compress`` and ``decompress``.
2049
- - [varLib.cff] Fixed bug when merging CFF2 ``PrivateDicts``. The ``PrivateDict``
2050
- data from the first region font was incorrecty used for all subsequent fonts.
2051
- The bug would only affect variable CFF2 fonts with hinting (#1643, #1644).
2052
- Also, fixed a merging bug when VF masters have no blends or marking glyphs (#1632,
2053
- #1642).
2054
- - [loggingTools] Removed unused backport of ``LastResortLogger`` class.
2055
- - [subset] Gracefully handle partial MATH table (#1635).
2056
- - [featureVars] Avoid duplicate references to ``rvrn`` feature record in
2057
- ``DefaultLangSys`` tables when calling ``addFeatureVariations`` on a font that
2058
- does not already have a ``GSUB`` table (aa8a5bc6).
2059
- - [varLib] Fixed merging of class-based kerning. Before, the process could introduce
2060
- rogue kerning values and variations for random classes against class zero (everything
2061
- not otherwise classed).
2062
- - [varLib] Fixed merging GPOS tables from master fonts with different number of
2063
- ``SinglePos`` subtables (#1621, #1641).
2064
- - [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1.
2065
-
2066
- 3.42.0 (released 2019-05-28)
2067
- ----------------------------
2068
-
2069
- - [OS/2] Fixed sign of ``fsType``: it should be ``uint16``, not ``int16`` (#1619).
2070
- - [subset] Skip out-of-range class values in mark attachment (#1478).
2071
- - [fontBuilder] Add an empty ``DSIG`` table with ``setupDummyDSIG`` method (#1621).
2072
- - [varLib.merger] Fixed bug whereby ``GDEF.GlyphClassDef`` were being dropped
2073
- when generating instance via ``varLib.mutator`` (#1614).
2074
- - [varLib] Added command-line options ``-v`` and ``-q`` to configure logging (#1613).
2075
- - [subset] Update font extents in head table (#1612).
2076
- - [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph
2077
- (#1611).
2078
- - [requirements] Updated ``unicodedata2`` backport for Unicode 12.0.
2079
-
2080
- 3.41.2 (released 2019-05-13)
2081
- ----------------------------
2082
-
2083
- - [cffLib] Fixed issue when importing a ``CFF2`` variable font from XML, whereby
2084
- the VarStore state was not propagated to PrivateDict (#1598).
2085
- - [varLib] Don't drop ``post`` glyph names when building CFF2 variable font (#1609).
2086
-
2087
-
2088
- 3.41.1 (released 2019-05-13)
2089
- ----------------------------
2090
-
2091
- - [designspaceLib] Added ``loadSourceFonts`` method to load source fonts using
2092
- custom opener function (#1606).
2093
- - [head] Round font bounding box coordinates to integers to fix compile error
2094
- if CFF font has float coordinates (#1604, #1605).
2095
- - [feaLib] Don't write ``None`` in ``ast.ValueRecord.asFea()`` (#1599).
2096
- - [subset] Fixed issue ``AssertionError`` when using ``--desubroutinize`` option
2097
- (#1590, #1594).
2098
- - [graphite] Fixed bug in ``Silf`` table's ``decompile`` method unmasked by
2099
- previous typo fix (#1597). Decode languange code as UTF-8 in ``Sill`` table's
2100
- ``decompile`` method (#1600).
2101
-
2102
- 3.41.0 (released 2019-04-29)
2103
- ----------------------------
2104
-
2105
- - [varLib/cffLib] Added support for building ``CFF2`` variable font from sparse
2106
- masters, or masters with more than one model (multiple ``VarStore.VarData``).
2107
- In ``cffLib.specializer``, added support for ``CFF2`` CharStrings with
2108
- ``blend`` operators (#1547, #1591).
2109
- - [subset] Fixed subsetting ``HVAR`` and ``VVAR`` with ``--retain-gids`` option,
2110
- and when advances mapping is null while sidebearings mappings are non-null
2111
- (#1587, #1588).
2112
- - Added ``otlLib.maxContextCalc`` module to compute ``OS/2.usMaxContext`` value.
2113
- Calculate it automatically when compiling features with feaLib. Added option
2114
- ``--recalc-max-context`` to ``subset`` module (#1582).
2115
- - [otBase/otTables] Fixed ``AttributeError`` on missing OT table fields after
2116
- importing font from TTX (#1584).
2117
- - [graphite] Fixed typo ``Silf`` table's ``decompile`` method (#1586).
2118
- - [otlLib] Better compress ``GPOS`` SinglePos (LookupType 1) subtables (#1539).
2119
-
2120
- 3.40.0 (released 2019-04-08)
2121
- ----------------------------
2122
-
2123
- - [subset] Fixed error while subsetting ``VVAR`` with ``--retain-gids``
2124
- option (#1552).
2125
- - [designspaceLib] Use up-to-date default location in ``findDefault`` method
2126
- (#1554).
2127
- - [voltLib] Allow passing file-like object to Parser.
2128
- - [arrayTools/glyf] ``calcIntBounds`` (used to compute bounding boxes of glyf
2129
- table's glyphs) now uses ``otRound`` instead of ``round3`` (#1566).
2130
- - [svgLib] Added support for converting more SVG shapes to path ``d`` strings
2131
- (ellipse, line, polyline), as well as support for ``transform`` attributes.
2132
- Only ``matrix`` transformations are currently supported (#1564, #1564).
2133
- - [varLib] Added support for building ``VVAR`` table from ``vmtx`` and ``VORG``
2134
- tables (#1551).
2135
- - [fontBuilder] Enable making CFF2 fonts with ``post`` table format 2 (#1557).
2136
- - Fixed ``DeprecationWarning`` on invalid escape sequences (#1562).
2137
-
2138
- 3.39.0 (released 2019-03-19)
2139
- ----------------------------
2140
-
2141
- - [ttLib/glyf] Raise more specific error when encountering recursive
2142
- component references (#1545, #1546).
2143
- - [Doc/designspaceLib] Defined new ``public.skipExportGlyphs`` lib key (#1534,
2144
- unified-font-object/ufo-spec#84).
2145
- - [varLib] Use ``vmtx`` to compute vertical phantom points; or ``hhea.ascent``
2146
- and ``head.unitsPerEM`` if ``vmtx`` is missing (#1528).
2147
- - [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
2148
- toXML to improve readability of TTX dump (#1527).
2149
- - [varLib.plot] Added support for 2D plots with only 1 variation axis (#1522).
2150
- - [designspaceLib] Use axes maps when normalizing locations in
2151
- DesignSpaceDocument (#1226, #1521), and when finding default source (#1535).
2152
- - [mutator] Set ``OVERLAP_SIMPLE`` and ``OVERLAP_COMPOUND`` glyf flags by
2153
- default in ``instantiateVariableFont``. Added ``--no-overlap`` cli option
2154
- to disable this (#1518).
2155
- - [subset] Fixed subsetting ``VVAR`` table (#1516, #1517).
2156
- Fixed subsetting an ``HVAR`` table that has an ``AdvanceWidthMap`` when the
2157
- option ``--retain-gids`` is used.
2158
- - [feaLib] Added ``forceChained`` in MultipleSubstStatement (#1511).
2159
- Fixed double indentation of ``subtable`` statement (#1512).
2160
- Added support for ``subtable`` statement in more places than just PairPos
2161
- lookups (#1520).
2162
- Handle lookupflag 0 and lookupflag without a value (#1540).
2163
- - [varLib] In ``load_designspace``, provide a default English name for the
2164
- ``ital`` axis tag.
2165
- - Remove pyftinspect because it is unmaintained and bitrotted.
2166
-
2167
- 3.38.0 (released 2019-02-18)
2168
- ----------------------------
2169
-
2170
- - [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with
2171
- CFF table (#1488, 649dc49).
2172
- - [subset] Fixed AttributeError when using --desubroutinize option (#1490).
2173
- Also, fixed desubroutinizing bug when subrs contain hints (#1499).
2174
- - [CPAL] Make Color a subclass of namedtuple (173a0f5).
2175
- - [feaLib] Allow hyphen in glyph class names.
2176
- - [feaLib] Added 'tables' option to __main__.py (#1497).
2177
- - [feaLib] Add support for special-case contextual positioning formatting
2178
- (#1501).
2179
- - [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into
2180
- equivalent SVG paths (#1500, #1508).
2181
- - [Snippets] Added name-viewer.ipynb Jupyter notebook.
2182
-
2183
-
2184
- 3.37.3 (released 2019-02-05)
2185
- ----------------------------
2186
-
2187
- - The previous release accidentally changed several files from Unix to DOS
2188
- line-endings. Fix that.
2189
-
2190
- 3.37.2 (released 2019-02-05)
2191
- ----------------------------
2192
-
2193
- - [varLib] Temporarily revert the fix to ``load_masters()``, which caused a
2194
- crash in ``interpolate_layout()`` when ``deepcopy``-ing OTFs.
2195
-
2196
- 3.37.1 (released 2019-02-05)
2197
- ----------------------------
2198
-
2199
- - [varLib] ``load_masters()`` now actually assigns the fonts it loads to the
2200
- source.font attributes.
2201
- - [varLib] Fixed an MVAR table generation crash when sparse masters were
2202
- involved.
2203
- - [voltLib] ``parse_coverage_()`` returns a tuple instead of an ast.Enum.
2204
- - [feaLib] A MarkClassDefinition inside a block is no longer doubly indented
2205
- compared to the rest of the block.
2206
-
2207
- 3.37.0 (released 2019-01-28)
2208
- ----------------------------
2209
-
2210
- - [svgLib] Added support for converting elliptical arcs to cubic bezier curves
2211
- (#1464).
2212
- - [py23] Added backport for ``math.isfinite``.
2213
- - [varLib] Apply HIDDEN flag to fvar axis if designspace axis has attribute
2214
- ``hidden=1``.
2215
- - Fixed "DeprecationWarning: invalid escape sequence" in Python 3.7.
2216
- - [voltLib] Fixed parsing glyph groups. Distinguish different PROCESS_MARKS.
2217
- Accept COMPONENT glyph type.
2218
- - [feaLib] Distinguish missing value and explicit ``<NULL>`` for PairPos2
2219
- format A (#1459). Round-trip ``useExtension`` keyword. Implemented
2220
- ``ValueRecord.asFea`` method.
2221
- - [subset] Insert empty widths into hdmx when retaining gids (#1458).
2222
-
2223
- 3.36.0 (released 2019-01-17)
2224
- ----------------------------
2225
-
2226
- - [ttx] Added ``--no-recalc-timestamp`` option to keep the original font's
2227
- ``head.modified`` timestamp (#1455, #46).
2228
- - [ttx/psCharStrings] Fixed issues while dumping and round-tripping CFF2 table
2229
- with ttx (#1451, #1452, #1456).
2230
- - [voltLib] Fixed check for duplicate anchors (#1450). Don't try to read past
2231
- the ``END`` operator in .vtp file (#1453).
2232
- - [varLib] Use sentinel value -0x8000 (-32768) to ignore post.underlineThickness
2233
- and post.underlinePosition when generating MVAR deltas (#1449,
2234
- googlei18n/ufo2ft#308).
2235
- - [subset] Added ``--retain-gids`` option to subset font without modifying the
2236
- current glyph indices (#1443, #1447).
2237
- - [ufoLib] Replace deprecated calls to ``getbytes`` and ``setbytes`` with new
2238
- equivalent ``readbytes`` and ``writebytes`` calls. ``fs`` >= 2.2 no required.
2239
- - [varLib] Allow loading masters from TTX files as well (#1441).
2240
-
2241
- 3.35.2 (released 2019-01-14)
2242
- ----------------------------
2243
-
2244
- - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
2245
- without the corresponding (required) metrics header tables, ``hhea`` and
2246
- ``vhea`` (#1439).
2247
- - [varLib] Added support for localized axes' ``labelname`` and named instances'
2248
- ``stylename`` (#1438).
2249
-
2250
- 3.35.1 (released 2019-01-09)
2251
- ----------------------------
2252
-
2253
- - [_m_a_x_p] Include ``maxComponentElements`` in ``maxp`` table's recalculation.
2254
-
2255
- 3.35.0 (released 2019-01-07)
2256
- ----------------------------
2257
-
2258
- - [psCharStrings] In ``encodeFloat`` function, use float's "general format" with
2259
- 8 digits of precision (i.e. ``%8g``) instead of ``str()``. This works around
2260
- a macOS rendering issue when real numbers in CFF table are too long, and
2261
- also makes sure that floats are encoded with the same precision in python 2.7
2262
- and 3.x (#1430, googlei18n/ufo2ft#306).
2263
- - [_n_a_m_e/fontBuilder] Make ``_n_a_m_e_table.addMultilingualName`` also add
2264
- Macintosh (platformID=1) names by default. Added options to ``FontBuilder``
2265
- ``setupNameTable`` method to optionally disable Macintosh or Windows names.
2266
- (#1359, #1431).
2267
- - [varLib] Make ``build`` optionally accept a ``DesignSpaceDocument`` object,
2268
- instead of a designspace file path. The caller can now set the ``font``
2269
- attribute of designspace's sources to a TTFont object, thus allowing to
2270
- skip filenames manipulation altogether (#1416, #1425).
2271
- - [sfnt] Allow SFNTReader objects to be deep-copied.
2272
- - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
2273
- - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were
2274
- not accepted (#1421).
2275
- - [varLib] Fixed merging of multiple PairPosFormat2 subtables (#1411).
2276
- - [varLib] The default STAT table version is now set to 1.1, to improve
2277
- compatibility with legacy applications (#1413).
2278
-
2279
- 3.34.2 (released 2018-12-17)
2280
- ----------------------------
2281
-
2282
- - [merge] Fixed AssertionError when none of the script tables in GPOS/GSUB have
2283
- a DefaultLangSys record (#1408, 135a4a1).
2284
-
2285
- 3.34.1 (released 2018-12-17)
2286
- ----------------------------
2287
-
2288
- - [varLib] Work around macOS rendering issue for composites without gvar entry (#1381).
2289
-
2290
- 3.34.0 (released 2018-12-14)
2291
- ----------------------------
2292
-
2293
- - [varLib] Support generation of CFF2 variable fonts. ``model.reorderMasters()``
2294
- now supports arbitrary mapping. Fix handling of overlapping ranges for feature
2295
- variations (#1400).
2296
- - [cffLib, subset] Code clean-up and fixing related to CFF2 support.
2297
- - [ttLib.tables.ttProgram] Use raw strings for regex patterns (#1389).
2298
- - [fontbuilder] Initial support for building CFF2 fonts. Set CFF's
2299
- ``FontMatrix`` automatically from unitsPerEm.
2300
- - [plistLib] Accept the more general ``collections.Mapping`` instead of the
2301
- specific ``dict`` class to support custom data classes that should serialize
2302
- to dictionaries.
2303
-
2304
- 3.33.0 (released 2018-11-30)
2305
- ----------------------------
2306
- - [subset] subsetter bug fix with variable fonts.
2307
- - [varLib.featureVar] Improve FeatureVariations generation with many rules.
2308
- - [varLib] Enable sparse masters when building variable fonts:
2309
- https://github.com/fonttools/fonttools/pull/1368#issuecomment-437257368
2310
- - [varLib.mutator] Add IDEF for GETVARIATION opcode, for handling hints in an
2311
- instance.
2312
- - [ttLib] Ignore the length of kern table subtable format 0
2313
-
2314
- 3.32.0 (released 2018-11-01)
2315
- ----------------------------
2316
-
2317
- - [ufoLib] Make ``UFOWriter`` a subclass of ``UFOReader``, and use mixins
2318
- for shared methods (#1344).
2319
- - [featureVars] Fixed normalization error when a condition's minimum/maximum
2320
- attributes are missing in designspace ``<rule>`` (#1366).
2321
- - [setup.py] Added ``[plot]`` to extras, to optionally install ``matplotlib``,
2322
- needed to use the ``fonTools.varLib.plot`` module.
2323
- - [varLib] Take total bounding box into account when resolving model (7ee81c8).
2324
- If multiple axes have the same range ratio, cut across both (62003f4).
2325
- - [subset] Don't error if ``STAT`` has no ``AxisValue`` tables.
2326
- - [fontBuilder] Added a new submodule which contains a ``FontBuilder`` wrapper
2327
- class around ``TTFont`` that makes it easier to create a working TTF or OTF
2328
- font from scratch with code. NOTE: the API is still experimental and may
2329
- change in future versions.
2330
-
2331
- 3.31.0 (released 2018-10-21)
2332
- ----------------------------
2333
-
2334
- - [ufoLib] Merged the `ufoLib <https://github.com/unified-font-objects/ufoLib>`__
2335
- master branch into a new ``fontTools.ufoLib`` package (#1335, #1095).
2336
- Moved ``ufoLib.pointPen`` module to ``fontTools.pens.pointPen``.
2337
- Moved ``ufoLib.etree`` module to ``fontTools.misc.etree``.
2338
- Moved ``ufoLib.plistlib`` module to ``fontTools.misc.plistlib``.
2339
- To use the new ``fontTools.ufoLib`` module you need to install fonttools
2340
- with the ``[ufo]`` extra, or you can manually install the required additional
2341
- dependencies (cf. README.rst).
2342
- - [morx] Support AAT action type to insert glyphs and clean up compilation
2343
- of AAT action tables (4a1871f, 2011ccf).
2344
- - [subset] The ``--no-hinting`` on a CFF font now also drops the optional
2345
- hinting keys in Private dict: ``ForceBold``, ``LanguageGroup``, and
2346
- ``ExpansionFactor`` (#1322).
2347
- - [subset] Include nameIDs referenced by STAT table (#1327).
2348
- - [loggingTools] Added ``msg=None`` argument to
2349
- ``CapturingLogHandler.assertRegex`` (0245f2c).
2350
- - [varLib.mutator] Implemented ``FeatureVariations`` instantiation (#1244).
2351
- - [g_l_y_f] Added PointPen support to ``_TTGlyph`` objects (#1334).
2352
-
2353
- 3.30.0 (released 2018-09-18)
2354
- ----------------------------
2355
-
2356
- - [feaLib] Skip building noop class PairPos subtables when Coverage is NULL
2357
- (#1318).
2358
- - [ttx] Expose the previously reserved bit flag ``OVERLAP_SIMPLE`` of
2359
- glyf table's contour points in the TTX dump. This is used in some
2360
- implementations to specify a non-zero fill with overlapping contours (#1316).
2361
- - [ttLib] Added support for decompiling/compiling ``TS1C`` tables containing
2362
- VTT sources for ``cvar`` variation table (#1310).
2363
- - [varLib] Use ``fontTools.designspaceLib`` to read DesignSpaceDocument. The
2364
- ``fontTools.varLib.designspace`` module is now deprecated and will be removed
2365
- in future versions. The presence of an explicit ``axes`` element is now
2366
- required in order to build a variable font (#1224, #1313).
2367
- - [varLib] Implemented building GSUB FeatureVariations table from the ``rules``
2368
- element of DesignSpace document (#1240, #713, #1314).
2369
- - [subset] Added ``--no-layout-closure`` option to not expand the subset with
2370
- the glyphs produced by OpenType layout features. Instead, OpenType features
2371
- will be subset to only rules that are relevant to the otherwise-specified
2372
- glyph set (#43, #1121).
2373
-
2374
- 3.29.1 (released 2018-09-10)
2375
- ----------------------------
2376
-
2377
- - [feaLib] Fixed issue whereby lookups from DFLT/dflt were not included in the
2378
- DFLT/non-dflt language systems (#1307).
2379
- - [graphite] Fixed issue on big-endian architectures (e.g. ppc64) (#1311).
2380
- - [subset] Added ``--layout-scripts`` option to add/exclude set of OpenType
2381
- layout scripts that will be preserved. By default all scripts are retained
2382
- (``'*'``) (#1303).
2383
-
2384
- 3.29.0 (released 2018-07-26)
2385
- ----------------------------
2386
-
2387
- - [feaLib] In the OTL table builder, when the ``name`` table is excluded
2388
- from the list of tables to be build, skip compiling ``featureNames`` blocks,
2389
- as the records referenced in ``FeatureParams`` table don't exist (68951b7).
2390
- - [otBase] Try ``ExtensionLookup`` if other offset-overflow methods fail
2391
- (05f95f0).
2392
- - [feaLib] Added support for explicit ``subtable;`` break statements in
2393
- PairPos lookups; previously these were ignored (#1279, #1300, #1302).
2394
- - [cffLib.specializer] Make sure the stack depth does not exceed maxstack - 1,
2395
- so that a subroutinizer can insert subroutine calls (#1301,
2396
- https://github.com/googlei18n/ufo2ft/issues/266).
2397
- - [otTables] Added support for fixing offset overflow errors occurring inside
2398
- ``MarkBasePos`` subtables (#1297).
2399
- - [subset] Write the default output file extension based on ``--flavor`` option,
2400
- or the value of ``TTFont.sfntVersion`` (d7ac0ad).
2401
- - [unicodedata] Updated Blocks, Scripts and ScriptExtensions for Unicode 11
2402
- (452c85e).
2403
- - [xmlWriter] Added context manager to XMLWriter class to autoclose file
2404
- descriptor on exit (#1290).
2405
- - [psCharStrings] Optimize the charstring's bytecode by encoding as integers
2406
- all float values that have no decimal portion (8d7774a).
2407
- - [ttFont] Fixed missing import of ``TTLibError`` exception (#1285).
2408
- - [feaLib] Allow any languages other than ``dflt`` under ``DFLT`` script
2409
- (#1278, #1292).
2410
-
2411
- 3.28.0 (released 2018-06-19)
2412
- ----------------------------
2413
-
2414
- - [featureVars] Added experimental module to build ``FeatureVariations``
2415
- tables. Still needs to be hooked up to ``varLib.build`` (#1240).
2416
- - [fixedTools] Added ``otRound`` to round floats to nearest integer towards
2417
- positive Infinity. This is now used where we deal with visual data like X/Y
2418
- coordinates, advance widths/heights, variation deltas, and similar (#1274,
2419
- #1248).
2420
- - [subset] Improved GSUB closure memoize algorithm.
2421
- - [varLib.models] Fixed regression in model resolution (180124, #1269).
2422
- - [feaLib.ast] Fixed error when converting ``SubtableStatement`` to string
2423
- (#1275).
2424
- - [varLib.mutator] Set ``OS/2.usWeightClass`` and ``usWidthClass``, and
2425
- ``post.italicAngle`` based on the 'wght', 'wdth' and 'slnt' axis values
2426
- (#1276, #1264).
2427
- - [py23/loggingTools] Don't automatically set ``logging.lastResort`` handler
2428
- on py27. Moved ``LastResortLogger`` to the ``loggingTools`` module (#1277).
2429
-
2430
- 3.27.1 (released 2018-06-11)
2431
- ----------------------------
2432
-
2433
- - [ttGlyphPen] Issue a warning and skip building non-existing components
2434
- (https://github.com/googlei18n/fontmake/issues/411).
2435
- - [tests] Fixed issue running ttx_test.py from a tagged commit.
2436
-
2437
- 3.27.0 (released 2018-06-11)
2438
- ----------------------------
2439
-
2440
- - [designspaceLib] Added new ``conditionSet`` element to ``rule`` element in
2441
- designspace document. Bumped ``format`` attribute to ``4.0`` (previously,
2442
- it was formatted as an integer). Removed ``checkDefault``, ``checkAxes``
2443
- methods, and any kind of guessing about the axes when the ``<axes>`` element
2444
- is missing. The default master is expected at the intersection of all default
2445
- values for each axis (#1254, #1255, #1267).
2446
- - [cffLib] Fixed issues when compiling CFF2 or converting from CFF when the
2447
- font has an FDArray (#1211, #1271).
2448
- - [varLib] Avoid attempting to build ``cvar`` table when ``glyf`` table is not
2449
- present, as is the case for CFF2 fonts.
2450
- - [subset] Handle None coverages in MarkGlyphSets; revert commit 02616ab that
2451
- sets empty Coverage tables in MarkGlyphSets to None, to make OTS happy.
2452
- - [ttFont] Allow to build glyph order from ``maxp.numGlyphs`` when ``post`` or
2453
- ``cmap`` are missing.
2454
- - [ttFont] Added ``__len__`` method to ``_TTGlyphSet``.
2455
- - [glyf] Ensure ``GlyphCoordinates`` never overflow signed shorts (#1230).
2456
- - [py23] Added alias for ``itertools.izip`` shadowing the built-in ``zip``.
2457
- - [loggingTools] Memoize ``log`` property of ``LogMixin`` class (fbab12).
2458
- - [ttx] Impoved test coverage (#1261).
2459
- - [Snippets] Addded script to append a suffix to all family names in a font.
2460
- - [varLib.plot] Make it work with matplotlib >= 2.1 (b38e2b).
2461
-
2462
- 3.26.0 (released 2018-05-03)
2463
- ----------------------------
2464
-
2465
- - [designspace] Added a new optional ``layer`` attribute to the source element,
2466
- and a corresponding ``layerName`` attribute to the ``SourceDescriptor``
2467
- object (#1253).
2468
- Added ``conditionset`` element to the ``rule`` element to the spec, but not
2469
- implemented in designspace reader/writer yet (#1254).
2470
- - [varLib.models] Refine modeling one last time (0ecf5c5).
2471
- - [otBase] Fixed sharing of tables referred to by different offset sizes
2472
- (795f2f9).
2473
- - [subset] Don't drop a GDEF that only has VarStore (fc819d6). Set to None
2474
- empty Coverage tables in MarkGlyphSets (02616ab).
2475
- - [varLib]: Added ``--master-finder`` command-line option (#1249).
2476
- - [varLib.mutator] Prune fvar nameIDs from instance's name table (#1245).
2477
- - [otTables] Allow decompiling bad ClassDef tables with invalid format, with
2478
- warning (#1236).
2479
- - [varLib] Make STAT v1.2 and reuse nameIDs from fvar table (#1242).
2480
- - [varLib.plot] Show master locations. Set axis limits to -1, +1.
2481
- - [subset] Handle HVAR direct mapping. Passthrough 'cvar'.
2482
- Added ``--font-number`` command-line option for collections.
2483
- - [t1Lib] Allow a text encoding to be specified when parsing a Type 1 font
2484
- (#1234). Added ``kind`` argument to T1Font constructor (c5c161c).
2485
- - [ttLib] Added context manager API to ``TTFont`` class, so it can be used in
2486
- ``with`` statements to auto-close the file when exiting the context (#1232).
2487
-
2488
- 3.25.0 (released 2018-04-03)
2489
- ----------------------------
2490
-
2491
- - [varLib] Improved support-resolution algorithm. Previously, the on-axis
2492
- masters would always cut the space. They don't anymore. That's more
2493
- consistent, and fixes the main issue Erik showed at TYPO Labs 2017.
2494
- Any varfont built that had an unusual master configuration will change
2495
- when rebuilt (42bef17, a523a697,
2496
- https://github.com/googlei18n/fontmake/issues/264).
2497
- - [varLib.models] Added a ``main()`` entry point, that takes positions and
2498
- prints model results.
2499
- - [varLib.plot] Added new module to plot a designspace's
2500
- VariationModel. Requires ``matplotlib``.
2501
- - [varLib.mutator] Added -o option to specify output file path (2ef60fa).
2502
- - [otTables] Fixed IndexError while pruning of HVAR pre-write (6b6c34a).
2503
- - [varLib.models] Convert delta array to floats if values overflows signed
2504
- short integer (0055f94).
2505
-
2506
- 3.24.2 (released 2018-03-26)
2507
- ----------------------------
2508
-
2509
- - [otBase] Don't fail during ``ValueRecord`` copy if src has more items.
2510
- We drop hinting in the subsetter by simply changing ValueFormat, without
2511
- cleaning up the actual ValueRecords. This was causing assertion error if
2512
- a variable font was subsetted without hinting and then passed directly to
2513
- the mutator for instantiation without first it saving to disk.
2514
-
2515
- 3.24.1 (released 2018-03-06)
2516
- ----------------------------
2517
-
2518
- - [varLib] Don't remap the same ``DeviceTable`` twice in VarStore optimizer
2519
- (#1206).
2520
- - [varLib] Add ``--disable-iup`` option to ``fonttools varLib`` script,
2521
- and a ``optimize=True`` keyword argument to ``varLib.build`` function,
2522
- to optionally disable IUP optimization while building varfonts.
2523
- - [ttCollection] Fixed issue while decompiling ttc with python3 (#1207).
2524
-
2525
- 3.24.0 (released 2018-03-01)
2526
- ----------------------------
2527
-
2528
- - [ttGlyphPen] Decompose composite glyphs if any components' transform is too
2529
- large to fit a ``F2Dot14`` value, or clamp transform values that are
2530
- (almost) equal to +2.0 to make them fit and avoid decomposing (#1200,
2531
- #1204, #1205).
2532
- - [ttx] Added new ``-g`` option to dump glyphs from the ``glyf`` table
2533
- splitted as individual ttx files (#153, #1035, #1132, #1202).
2534
- - Copied ``ufoLib.filenames`` module to ``fontTools.misc.filenames``, used
2535
- for the ttx split-glyphs option (#1202).
2536
- - [feaLib] Added support for ``cvParameters`` blocks in Character Variant
2537
- feautures ``cv01-cv99`` (#860, #1169).
2538
- - [Snippets] Added ``checksum.py`` script to generate/check SHA1 hash of
2539
- ttx files (#1197).
2540
- - [varLib.mutator] Fixed issue while instantiating some variable fonts
2541
- whereby the horizontal advance width computed from ``gvar`` phantom points
2542
- could turn up to be negative (#1198).
2543
- - [varLib/subset] Fixed issue with subsetting GPOS variation data not
2544
- picking up ``ValueRecord`` ``Device`` objects (54fd71f).
2545
- - [feaLib/voltLib] In all AST elements, the ``location`` is no longer a
2546
- required positional argument, but an optional kewyord argument (defaults
2547
- to ``None``). This will make it easier to construct feature AST from
2548
- code (#1201).
2549
-
2550
-
2551
- 3.23.0 (released 2018-02-26)
2552
- ----------------------------
2553
-
2554
- - [designspaceLib] Added an optional ``lib`` element to the designspace as a
2555
- whole, as well as to the instance elements, to store arbitrary data in a
2556
- property list dictionary, similar to the UFO's ``lib``. Added an optional
2557
- ``font`` attribute to the ``SourceDescriptor``, to allow operating on
2558
- in-memory font objects (#1175).
2559
- - [cffLib] Fixed issue with lazy-loading of attributes when attempting to
2560
- set the CFF TopDict.Encoding (#1177, #1187).
2561
- - [ttx] Fixed regression introduced in 3.22.0 that affected the split tables
2562
- ``-s`` option (#1188).
2563
- - [feaLib] Added ``IncludedFeaNotFound`` custom exception subclass, raised
2564
- when an included feature file cannot be found (#1186).
2565
- - [otTables] Changed ``VarIdxMap`` to use glyph names internally instead of
2566
- glyph indexes. The old ttx dumps of HVAR/VVAR tables that contain indexes
2567
- can still be imported (21cbab8, 38a0ffb).
2568
- - [varLib] Implemented VarStore optimizer (#1184).
2569
- - [subset] Implemented pruning of GDEF VarStore, HVAR and MVAR (#1179).
2570
- - [sfnt] Restore backward compatiblity with ``numFonts`` attribute of
2571
- ``SFNTReader`` object (#1181).
2572
- - [merge] Initial support for merging ``LangSysRecords`` (#1180).
2573
- - [ttCollection] don't seek(0) when writing to possibly unseekable strems.
2574
- - [subset] Keep all ``--name-IDs`` from 0 to 6 by default (#1170, #605, #114).
2575
- - [cffLib] Added ``width`` module to calculate optimal CFF default and
2576
- nominal glyph widths.
2577
- - [varLib] Don’t fail if STAT already in the master fonts (#1166).
2578
-
2579
- 3.22.0 (released 2018-02-04)
2580
- ----------------------------
2581
-
2582
- - [subset] Support subsetting ``endchar`` acting as ``seac``-like components
2583
- in ``CFF`` (fixes #1162).
2584
- - [feaLib] Allow to build from pre-parsed ``ast.FeatureFile`` object.
2585
- Added ``tables`` argument to only build some tables instead of all (#1159,
2586
- #1163).
2587
- - [textTools] Replaced ``safeEval`` with ``ast.literal_eval`` (#1139).
2588
- - [feaLib] Added option to the parser to not resolve ``include`` statements
2589
- (#1154).
2590
- - [ttLib] Added new ``ttCollection`` module to read/write TrueType and
2591
- OpenType Collections. Exports a ``TTCollection`` class with a ``fonts``
2592
- attribute containing a list of ``TTFont`` instances, the methods ``save``
2593
- and ``saveXML``, plus some list-like methods. The ``importXML`` method is
2594
- not implemented yet (#17).
2595
- - [unicodeadata] Added ``ot_tag_to_script`` function that converts from
2596
- OpenType script tag to Unicode script code.
2597
- - Added new ``designspaceLib`` subpackage, originally from Erik Van Blokland's
2598
- ``designSpaceDocument``: https://github.com/LettError/designSpaceDocument
2599
- NOTE: this is not yet used internally by varLib, and the API may be subject
2600
- to changes (#911, #1110, LettError/designSpaceDocument#28).
2601
- - Added new FontTools icon images (8ee7c32).
2602
- - [unicodedata] Added ``script_horizontal_direction`` function that returns
2603
- either "LTR" or "RTL" given a unicode script code.
2604
- - [otConverters] Don't write descriptive name string as XML comment if the
2605
- NameID value is 0 (== NULL) (#1151, #1152).
2606
- - [unicodedata] Add ``ot_tags_from_script`` function to get the list of
2607
- OpenType script tags associated with unicode script code (#1150).
2608
- - [feaLib] Don't error when "enumerated" kern pairs conflict with preceding
2609
- single pairs; emit warning and chose the first value (#1147, #1148).
2610
- - [loggingTools] In ``CapturingLogHandler.assertRegex`` method, match the
2611
- fully formatted log message.
2612
- - [sbix] Fixed TypeError when concatenating str and bytes (#1154).
2613
- - [bezierTools] Implemented cusp support and removed ``approximate_fallback``
2614
- arg in ``calcQuadraticArcLength``. Added ``calcCubicArcLength`` (#1142).
2615
-
2616
- 3.21.2 (released 2018-01-08)
2617
- ----------------------------
2618
-
2619
- - [varLib] Fixed merging PairPos Format1/2 with missing subtables (#1125).
2620
-
2621
- 3.21.1 (released 2018-01-03)
2622
- ----------------------------
2623
-
2624
- - [feaLib] Allow mixed single/multiple substitutions (#612)
2625
- - Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
2626
- - Fixed dumping ``SVG`` tables containing color palettes (#1124).
2627
-
2628
- 3.21.0 (released 2017-12-18)
2629
- ----------------------------
2630
-
2631
- - [cmap] when compiling format6 subtable, don't assume gid0 is always called
2632
- '.notdef' (1e42224).
2633
- - [ot] Allow decompiling fonts with bad Coverage format number (1aafae8).
2634
- - Change FontTools licence to MIT (#1127).
2635
- - [post] Prune extra names already in standard Mac set (df1e8c7).
2636
- - [subset] Delete empty SubrsIndex after subsetting (#994, #1118).
2637
- - [varLib] Don't share points in cvar by default, as it currently fails on
2638
- some browsers (#1113).
2639
- - [afmLib] Make poor old afmLib work on python3.
2640
-
2641
- 3.20.1 (released 2017-11-22)
2642
- ----------------------------
2643
-
2644
- - [unicodedata] Fixed issue with ``script`` and ``script_extension`` functions
2645
- returning inconsistent short vs long names. They both return the short four-
2646
- letter script codes now. Added ``script_name`` and ``script_code`` functions
2647
- to look up the long human-readable script name from the script code, and
2648
- viceversa (#1109, #1111).
2649
-
2650
- 3.20.0 (released 2017-11-21)
2651
- ----------------------------
2652
-
2653
- - [unicodedata] Addded new module ``fontTools.unicodedata`` which exports the
2654
- same interface as the built-in ``unicodedata`` module, with the addition of
2655
- a few functions that are missing from the latter, such as ``script``,
2656
- ``script_extension`` and ``block``. Added a ``MetaTools/buildUCD.py`` script
2657
- to download and parse data files from the Unicode Character Database and
2658
- generate python modules containing lists of ranges and property values.
2659
- - [feaLib] Added ``__str__`` method to all ``ast`` elements (delegates to the
2660
- ``asFea`` method).
2661
- - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
2662
- instead of ``glyphMap`` dict. The latter still works but with a pending
2663
- deprecation warning (#1104).
2664
- - [bezierTools] Added arc length calculation functions originally from
2665
- ``pens.perimeterPen`` module (#1101).
2666
- - [varLib] Started generating STAT table (8af4309). Right now it just reflects
2667
- the axes, and even that with certain limitations:
2668
- * AxisOrdering is set to the order axes are defined,
2669
- * Name-table entries are not shared with fvar.
2670
- - [py23] Added backports for ``redirect_stdout`` and ``redirect_stderr``
2671
- context managers (#1097).
2672
- - [Graphite] Fixed some round-trip bugs (#1093).
2673
-
2674
- 3.19.0 (released 2017-11-06)
2675
- ----------------------------
2676
-
2677
- - [varLib] Try set of used points instead of all points when testing whether to
2678
- share points between tuples (#1090).
2679
- - [CFF2] Fixed issue with reading/writing PrivateDict BlueValues to TTX file.
2680
- Read the commit message 8b02b5a and issue #1030 for more details.
2681
- NOTE: this change invalidates all the TTX files containing CFF2 tables
2682
- that where dumped with previous verisons of fonttools.
2683
- CFF2 Subr items can have values on the stack after the last operator, thus
2684
- a ``CFF2Subr`` class was added to accommodate this (#1091).
2685
- - [_k_e_r_n] Fixed compilation of AAT kern version=1.0 tables (#1089, #1094)
2686
- - [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table
2687
- class that returns a preferred Unicode cmap subtable given a list of options
2688
- (#1092).
2689
- - [morx] Emit more meaningful subtable flags. Implement InsertionMorphAction
2690
-
2691
- 3.18.0 (released 2017-10-30)
2692
- ----------------------------
2693
-
2694
- - [feaLib] Fixed writing back nested glyph classes (#1086).
2695
- - [TupleVariation] Reactivated shared points logic, bugfixes (#1009).
2696
- - [AAT] Implemented ``morx`` ligature subtables (#1082).
2697
- - [reverseContourPen] Keep duplicate lineTo following a moveTo (#1080,
2698
- https://github.com/googlei18n/cu2qu/issues/51).
2699
- - [varLib.mutator] Suport instantiation of GPOS, GDEF and MVAR (#1079).
2700
- - [sstruct] Fixed issue with ``unicode_literals`` and ``struct`` module in
2701
- old versions of python 2.7 (#993).
2702
-
2703
- 3.17.0 (released 2017-10-16)
2704
- ----------------------------
2705
-
2706
- - [svgPathPen] Added an ``SVGPathPen`` that translates segment pen commands
2707
- into SVG path descriptions. Copied from Tal Leming's ``ufo2svg.svgPathPen``
2708
- https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
2709
- - [reverseContourPen] Added ``ReverseContourPen``, a filter pen that draws
2710
- contours with the winding direction reversed, while keeping the starting
2711
- point (#1071).
2712
- - [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
2713
- rather than segment by segment.
2714
- - [arrayTools] Added ``Vector`` class to apply math operations on an array
2715
- of numbers, and ``pairwise`` function to loop over pairs of items in an
2716
- iterable.
2717
- - [varLib] Added support for building and interpolation of ``cvar`` table
2718
- (f874cf6, a25a401).
2719
-
2720
- 3.16.0 (released 2017-10-03)
2721
- ----------------------------
2722
-
2723
- - [head] Try using ``SOURCE_DATE_EPOCH`` environment variable when setting
2724
- the ``head`` modified timestamp to ensure reproducible builds (#1063).
2725
- See https://reproducible-builds.org/specs/source-date-epoch/
2726
- - [VTT] Decode VTT's ``TSI*`` tables text as UTF-8 (#1060).
2727
- - Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
2728
- Thanks @mhosken! (#1054).
2729
- - [varLib] Default to using axis "name" attribute if "labelname" element
2730
- is missing (588f524).
2731
- - [merge] Added support for merging Script records. Remove unused features
2732
- and lookups after merge (d802580, 556508b).
2733
- - Added ``fontTools.svgLib`` package. Includes a parser for SVG Paths that
2734
- supports the Pen protocol (#1051). Also, added a snippet to convert SVG
2735
- outlines to UFO GLIF (#1053).
2736
- - [AAT] Added support for ``ankr``, ``bsln``, ``mort``, ``morx``, ``gcid``,
2737
- and ``cidg``.
2738
- - [subset] Implemented subsetting of ``prop``, ``opbd``, ``bsln``, ``lcar``.
2739
-
2740
- 3.15.1 (released 2017-08-18)
2741
- ----------------------------
2742
-
2743
- - [otConverters] Implemented ``__add__`` and ``__radd__`` methods on
2744
- ``otConverters._LazyList`` that decompile a lazy list before adding
2745
- it to another list or ``_LazyList`` instance. Fixes an ``AttributeError``
2746
- in the ``subset`` module when attempting to sum ``_LazyList`` objects
2747
- (6ef48bd2, 1aef1683).
2748
- - [AAT] Support the `opbd` table with optical bounds (a47f6588).
2749
- - [AAT] Support `prop` table with glyph properties (d05617b4).
2750
-
2751
-
2752
- 3.15.0 (released 2017-08-17)
2753
- ----------------------------
2754
-
2755
- - [AAT] Added support for AAT lookups. The ``lcar`` table can be decompiled
2756
- and recompiled; futher work needed to handle ``morx`` table (#1025).
2757
- - [subset] Keep (empty) DefaultLangSys for Script 'DFLT' (6eb807b5).
2758
- - [subset] Support GSUB/GPOS.FeatureVariations (fe01d87b).
2759
- - [varLib] In ``models.supportScalars``, ignore an axis when its peak value
2760
- is 0 (fixes #1020).
2761
- - [varLib] Add default mappings to all axes in avar to fix rendering issue
2762
- in some rasterizers (19c4b377, 04eacf13).
2763
- - [varLib] Flatten multiple tail PairPosFormat2 subtables before merging
2764
- (c55ef525).
2765
- - [ttLib] Added support for recalculating font bounding box in ``CFF`` and
2766
- ``head`` tables, and min/max values in ``hhea`` and ``vhea`` tables (#970).
2767
-
2768
- 3.14.0 (released 2017-07-31)
2769
- ----------------------------
2770
-
2771
- - [varLib.merger] Remove Extensions subtables before merging (f7c20cf8).
2772
- - [varLib] Initialize the avar segment map with required default entries
2773
- (#1014).
2774
- - [varLib] Implemented optimal IUP optmiziation (#1019).
2775
- - [otData] Add ``AxisValueFormat4`` for STAT table v1.2 from OT v1.8.2
2776
- (#1015).
2777
- - [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'.
2778
- - [subset] Return value from ``_DehintingT2Decompiler.op_hintmask``
2779
- (c0d672ba).
2780
- - [cffLib] Allow to get TopDict by index as well as by name (dca96c9c).
2781
- - [cffLib] Removed global ``isCFF2`` state; use one set of classes for
2782
- both CFF and CFF2, maintaining backward compatibility existing code (#1007).
2783
- - [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1.
2784
- - [cffLib] Added missing default (-100) for UnderlinePosition (#983).
2785
- - [feaLib] Enable setting nameIDs greater than 255 (#1003).
2786
- - [varLib] Recalculate ValueFormat when merging SinglePos (#996).
2787
- - [varLib] Do not emit MVAR if there are no entries in the variation store
2788
- (#987).
2789
- - [ttx] For ``-x`` option, pad with space if table tag length is < 4.
2790
-
2791
- 3.13.1 (released 2017-05-30)
2792
- ----------------------------
2793
-
2794
- - [feaLib.builder] Removed duplicate lookups optimization. The original
2795
- lookup order and semantics of the feature file are preserved (#976).
2796
-
2797
- 3.13.0 (released 2017-05-24)
2798
- ----------------------------
2799
-
2800
- - [varLib.mutator] Implement IUP optimization (#969).
2801
- - [_g_l_y_f.GlyphCoordinates] Changed ``__bool__()`` semantics to match those
2802
- of other iterables (e46f949). Removed ``__abs__()`` (3db5be2).
2803
- - [varLib.interpolate_layout] Added ``mapped`` keyword argument to
2804
- ``interpolate_layout`` to allow disabling avar mapping: if False (default),
2805
- the location is mapped using the map element of the axes in designspace file;
2806
- if True, it is assumed that location is in designspace's internal space and
2807
- no mapping is performed (#950, #975).
2808
- - [varLib.interpolate_layout] Import designspace-loading logic from varLib.
2809
- - [varLib] Fixed bug with recombining PairPosClass2 subtables (81498e5, #914).
2810
- - [cffLib.specializer] When copying iterables, cast to list (462b7f86).
2811
-
2812
- 3.12.1 (released 2017-05-18)
2813
- ----------------------------
2814
-
2815
- - [pens.t2CharStringPen] Fixed AttributeError when calling addComponent in
2816
- T2CharStringPen (#965).
2817
-
2818
- 3.12.0 (released 2017-05-17)
2819
- ----------------------------
2820
-
2821
- - [cffLib.specializer] Added new ``specializer`` module to optimize CFF
2822
- charstrings, used by the T2CharStringPen (#948).
2823
- - [varLib.mutator] Sort glyphs by component depth before calculating composite
2824
- glyphs' bounding boxes to ensure deltas are correctly caclulated (#945).
2825
- - [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double)
2826
- instead of 'f' (float) as ``array.array`` typecode (#963, #964).
2827
-
2828
- 3.11.0 (released 2017-05-03)
2829
- ----------------------------
2830
-
2831
- - [t2CharStringPen] Initial support for specialized Type2 path operators:
2832
- vmoveto, hmoveto, vlineto, hlineto, vvcurveto, hhcurveto, vhcurveto and
2833
- hvcurveto. This should produce more compact charstrings (#940, #403).
2834
- - [Doc] Added Sphinx sources for the documentation. Thanks @gferreira (#935).
2835
- - [fvar] Expose flags in XML (#932)
2836
- - [name] Add helper function for building multi-lingual names (#921)
2837
- - [varLib] Fixed kern merging when a PairPosFormat2 has ClassDef1 with glyphs
2838
- that are NOT present in the Coverage (1b5e1c4, #939).
2839
- - [varLib] Fixed non-deterministic ClassDef order with PY3 (f056c12, #927).
2840
- - [feLib] Throw an error when the same glyph is defined in multiple mark
2841
- classes within the same lookup (3e3ff00, #453).
2842
-
2843
- 3.10.0 (released 2017-04-14)
2844
- ----------------------------
2845
-
2846
- - [varLib] Added support for building ``avar`` table, using the designspace
2847
- ``<map>`` elements.
2848
- - [varLib] Removed unused ``build(..., axisMap)`` argument. Axis map should
2849
- be specified in designspace file now. We do not accept nonstandard axes
2850
- if ``<axes>`` element is not present.
2851
- - [varLib] Removed "custom" axis from the ``standard_axis_map``. This was
2852
- added before when glyphsLib was always exporting the (unused) custom axis.
2853
- - [varLib] Added partial support for building ``MVAR`` table; does not
2854
- implement ``gasp`` table variations yet.
2855
- - [pens] Added FilterPen base class, for pens that control another pen;
2856
- factored out ``addComponent`` method from BasePen into a separate abstract
2857
- DecomposingPen class; added DecomposingRecordingPen, which records
2858
- components decomposed as regular contours.
2859
- - [TSI1] Fixed computation of the textLength of VTT private tables (#913).
2860
- - [loggingTools] Added ``LogMixin`` class providing a ``log`` property to
2861
- subclasses, which returns a ``logging.Logger`` named after the latter.
2862
- - [loggingTools] Added ``assertRegex`` method to ``CapturingLogHandler``.
2863
- - [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
2864
- - [EBLC] Fixed issue with python 3 ``zip`` iterator.
2865
-
2866
- 3.9.2 (released 2017-04-08)
2867
- ---------------------------
2868
-
2869
- - [pens] Added pen to draw glyphs using WxPython ``GraphicsPath`` class:
2870
- https://wxpython.org/docs/api/wx.GraphicsPath-class.html
2871
- - [varLib.merger] Fixed issue with recombining multiple PairPosFormat2
2872
- subtables (#888)
2873
- - [varLib] Do not encode gvar deltas that are all zeroes, or if all values
2874
- are smaller than tolerance.
2875
- - [ttLib] _TTGlyphSet glyphs now also have ``height`` and ``tsb`` (top
2876
- side bearing) attributes from the ``vmtx`` table, if present.
2877
- - [glyf] In ``GlyphCoordintes`` class, added ``__bool__`` / ``__nonzero__``
2878
- methods, and ``array`` property to get raw array.
2879
- - [ttx] Support reading TTX files with BOM (#896)
2880
- - [CFF2] Fixed the reporting of the number of regions in the font.
2881
-
2882
- 3.9.1 (released 2017-03-20)
2883
- ---------------------------
2884
-
2885
- - [varLib.merger] Fixed issue while recombining multiple PairPosFormat2
2886
- subtables if they were split because of offset overflows (9798c30).
2887
- - [varLib.merger] Only merge multiple PairPosFormat1 subtables if there is
2888
- at least one of the fonts with a non-empty Format1 subtable (0f5a46b).
2889
- - [varLib.merger] Fixed IndexError with empty ClassDef1 in PairPosFormat2
2890
- (aad0d46).
2891
- - [varLib.merger] Avoid reusing Class2Record (mutable) objects (e6125b3).
2892
- - [varLib.merger] Calculate ClassDef1 and ClassDef2's Format when merging
2893
- PairPosFormat2 (23511fd).
2894
- - [macUtils] Added missing ttLib import (b05f203).
2895
-
2896
- 3.9.0 (released 2017-03-13)
2897
- ---------------------------
2898
-
2899
- - [feaLib] Added (partial) support for parsing feature file comments ``# ...``
2900
- appearing in between statements (#879).
2901
- - [feaLib] Cleaned up syntax tree for FeatureNames.
2902
- - [ttLib] Added support for reading/writing ``CFF2`` table (thanks to
2903
- @readroberts at Adobe), and ``TTFA`` (ttfautohint) table.
2904
- - [varLib] Fixed regression introduced with 3.8.0 in the calculation of
2905
- ``NumShorts``, i.e. the number of deltas in ItemVariationData's delta sets
2906
- that use a 16-bit representation (b2825ff).
2907
-
2908
- 3.8.0 (released 2017-03-05)
2909
- ---------------------------
2910
-
2911
- - New pens: MomentsPen, StatisticsPen, RecordingPen, and TeePen.
2912
- - [misc] Added new ``fontTools.misc.symfont`` module, for symbolic font
2913
- statistical analysis; requires ``sympy`` (http://www.sympy.org/en/index.html)
2914
- - [varLib] Added experimental ``fontTools.varLib.interpolatable`` module for
2915
- finding wrong contour order between different masters
2916
- - [varLib] designspace.load() now returns a dictionary, instead of a tuple,
2917
- and supports <axes> element (#864); the 'masters' item was renamed 'sources',
2918
- like the <sources> element in the designspace document
2919
- - [ttLib] Fixed issue with recalculating ``head`` modified timestamp when
2920
- saving CFF fonts
2921
- - [ttLib] In TupleVariation, round deltas before compiling (#861, fixed #592)
2922
- - [feaLib] Ignore duplicate glyphs in classes used as MarkFilteringSet and
2923
- MarkAttachmentType (#863)
2924
- - [merge] Changed the ``gasp`` table merge logic so that only the one from
2925
- the first font is retained, similar to other hinting tables (#862)
2926
- - [Tests] Added tests for the ``varLib`` package, as well as test fonts
2927
- from the "Annotated OpenType Specification" (AOTS) to exercise ``ttLib``'s
2928
- table readers/writers (<https://github.com/adobe-type-tools/aots>)
2929
-
2930
- 3.7.2 (released 2017-02-17)
2931
- ---------------------------
2932
-
2933
- - [subset] Keep advance widths when stripping ".notdef" glyph outline in
2934
- CID-keyed CFF fonts (#845)
2935
- - [feaLib] Zero values now produce the same results as makeotf (#633, #848)
2936
- - [feaLib] More compact encoding for “Contextual positioning with in-line
2937
- single positioning rules” (#514)
2938
-
2939
- 3.7.1 (released 2017-02-15)
2940
- ---------------------------
2941
-
2942
- - [subset] Fixed issue with ``--no-hinting`` option whereby advance widths in
2943
- Type 2 charstrings were also being stripped (#709, #343)
2944
- - [feaLib] include statements now resolve relative paths like makeotf (#838)
2945
- - [feaLib] table ``name`` now handles Unicode codepoints beyond the Basic
2946
- Multilingual Plane, also supports old-style MacOS platform encodings (#842)
2947
- - [feaLib] correctly escape string literals when emitting feature syntax (#780)
2948
-
2949
- 3.7.0 (released 2017-02-11)
2950
- ---------------------------
2951
-
2952
- - [ttx, mtiLib] Preserve ordering of glyph alternates in GSUB type 3 (#833).
2953
- - [feaLib] Glyph names can have dashes, as per new AFDKO syntax v1.20 (#559).
2954
- - [feaLib] feaLib.Parser now needs the font's glyph map for parsing.
2955
- - [varLib] Fix regression where GPOS values were stored as 0.
2956
- - [varLib] Allow merging of class-based kerning when ClassDefs are different
2957
-
2958
- 3.6.3 (released 2017-02-06)
2959
- ---------------------------
2960
-
2961
- - [varLib] Fix building variation of PairPosFormat2 (b5c34ce).
2962
- - Populate defaults even for otTables that have postRead (e45297b).
2963
- - Fix compiling of MultipleSubstFormat1 with zero 'out' glyphs (b887860).
2964
-
2965
- 3.6.2 (released 2017-01-30)
2966
- ---------------------------
2967
-
2968
- - [varLib.merger] Fixed "TypeError: reduce() of empty sequence with no
2969
- initial value" (3717dc6).
2970
-
2971
- 3.6.1 (released 2017-01-28)
2972
- ---------------------------
2973
-
2974
- - [py23] Fixed unhandled exception occurring at interpreter shutdown in
2975
- the "last resort" logging handler (972b3e6).
2976
- - [agl] Ensure all glyph names are of native 'str' type; avoid mixing
2977
- 'str' and 'unicode' in TTFont.glyphOrder (d8c4058).
2978
- - Fixed inconsistent title levels in README.rst that caused PyPI to
2979
- incorrectly render the reStructuredText page.
2980
-
2981
- 3.6.0 (released 2017-01-26)
2982
- ---------------------------
2983
-
2984
- - [varLib] Refactored and improved the variation-font-building process.
2985
- - Assembly code in the fpgm, prep, and glyf tables is now indented in
2986
- XML output for improved readability. The ``instruction`` element is
2987
- written as a simple tag if empty (#819).
2988
- - [ttx] Fixed 'I/O operation on closed file' error when dumping
2989
- multiple TTXs to standard output with the '-o -' option.
2990
- - The unit test modules (``*_test.py``) have been moved outside of the
2991
- fontTools package to the Tests folder, thus they are no longer
2992
- installed (#811).
2993
-
2994
- 3.5.0 (released 2017-01-14)
2995
- ---------------------------
2996
-
2997
- - Font tables read from XML can now be written back to XML with no
2998
- loss.
2999
- - GSUB/GPOS LookupType is written out in XML as an element, not
3000
- comment. (#792)
3001
- - When parsing cmap table, do not store items mapped to glyph id 0.
3002
- (#790)
3003
- - [otlLib] Make ClassDef sorting deterministic. Fixes #766 (7d1ddb2)
3004
- - [mtiLib] Added unit tests (#787)
3005
- - [cvar] Implemented cvar table
3006
- - [gvar] Renamed GlyphVariation to TupleVariation to match OpenType
3007
- terminology.
3008
- - [otTables] Handle gracefully empty VarData.Item array when compiling
3009
- XML. (#797)
3010
- - [varLib] Re-enabled generation of ``HVAR`` table for fonts with
3011
- TrueType outlines; removed ``--build-HVAR`` command-line option.
3012
- - [feaLib] The parser can now be extended to support non-standard
3013
- statements in FEA code by using a customized Abstract Syntax Tree.
3014
- See, for example, ``feaLib.builder_test.test_extensions`` and
3015
- baseClass.feax (#794, fixes #773).
3016
- - [feaLib] Added ``feaLib`` command to the 'fonttools' command-line
3017
- tool; applies a feature file to a font. ``fonttools feaLib -h`` for
3018
- help.
3019
- - [pens] The ``T2CharStringPen`` now takes an optional
3020
- ``roundTolerance`` argument to control the rounding of coordinates
3021
- (#804, fixes #769).
3022
- - [ci] Measure test coverage on all supported python versions and OSes,
3023
- combine coverage data and upload to
3024
- https://codecov.io/gh/fonttools/fonttools (#786)
3025
- - [ci] Configured Travis and Appveyor for running tests on Python 3.6
3026
- (#785, 55c03bc)
3027
- - The manual pages installation directory can be customized through
3028
- ``FONTTOOLS_MANPATH`` environment variable (#799, fixes #84).
3029
- - [Snippets] Added otf2ttf.py, for converting fonts from CFF to
3030
- TrueType using the googlei18n/cu2qu module (#802)
3031
-
3032
- 3.4.0 (released 2016-12-21)
3033
- ---------------------------
3034
-
3035
- - [feaLib] Added support for generating FEA text from abstract syntax
3036
- tree (AST) objects (#776). Thanks @mhosken
3037
- - Added ``agl.toUnicode`` function to convert AGL-compliant glyph names
3038
- to Unicode strings (#774)
3039
- - Implemented MVAR table (b4d5381)
3040
-
3041
- 3.3.1 (released 2016-12-15)
3042
- ---------------------------
3043
-
3044
- - [setup] We no longer use versioneer.py to compute fonttools version
3045
- from git metadata, as this has caused issues for some users (#767).
3046
- Now we bump the version strings manually with a custom ``release``
3047
- command of setup.py script.
3048
-
3049
- 3.3.0 (released 2016-12-06)
3050
- ---------------------------
3051
-
3052
- - [ttLib] Implemented STAT table from OpenType 1.8 (#758)
3053
- - [cffLib] Fixed decompilation of CFF fonts containing non-standard
3054
- key/value pairs in FontDict (issue #740; PR #744)
3055
- - [py23] minor: in ``round3`` function, allow the second argument to be
3056
- ``None`` (#757)
3057
- - The standalone ``sstruct`` and ``xmlWriter`` modules, deprecated
3058
- since vesion 3.2.0, have been removed. They can be imported from the
3059
- ``fontTools.misc`` package.
3060
-
3061
- 3.2.3 (released 2016-12-02)
3062
- ---------------------------
3063
-
3064
- - [py23] optimized performance of round3 function; added backport for
3065
- py35 math.isclose() (9d8dacb)
3066
- - [subset] fixed issue with 'narrow' (UCS-2) Python 2 builds and
3067
- ``--text``/``--text-file`` options containing non-BMP chararcters
3068
- (16d0e5e)
3069
- - [varLib] fixed issuewhen normalizing location values (8fa2ee1, #749)
3070
- - [inspect] Made it compatible with both python2 and python3 (167ee60,
3071
- #748). Thanks @pnemade
3072
-
3073
- 3.2.2 (released 2016-11-24)
3074
- ---------------------------
3075
-
3076
- - [varLib] Do not emit null axes in fvar (1bebcec). Thanks @robmck-ms
3077
- - [varLib] Handle fonts without GPOS (7915a45)
3078
- - [merge] Ignore LangSys if None (a11bc56)
3079
- - [subset] Fix subsetting MathVariants (78d3cbe)
3080
- - [OS/2] Fix "Private Use (plane 15)" range (08a0d55). Thanks @mashabow
3081
-
3082
- 3.2.1 (released 2016-11-03)
3083
- ---------------------------
3084
-
3085
- - [OS/2] fix checking ``fsSelection`` bits matching ``head.macStyle``
3086
- bits
3087
- - [varLib] added ``--build-HVAR`` option to generate ``HVAR`` table for
3088
- fonts with TrueType outlines. For ``CFF2``, it is enabled by default.
3089
-
3090
- 3.2.0 (released 2016-11-02)
3091
- ---------------------------
3092
-
3093
- - [varLib] Improve support for OpenType 1.8 Variable Fonts:
3094
- - Implement GDEF's VariationStore
3095
- - Implement HVAR/VVAR tables
3096
- - Partial support for loading MutatorMath .designspace files with
3097
- varLib.designspace module
3098
- - Add varLib.models with Variation fonts interpolation models
3099
- - Implement GSUB/GPOS FeatureVariations
3100
- - Initial support for interpolating and merging OpenType Layout tables
3101
- (see ``varLib.interpolate_layout`` and ``varLib.merger`` modules)
3102
- - [API change] Change version to be an integer instead of a float in
3103
- XML output for GSUB, GPOS, GDEF, MATH, BASE, JSTF, HVAR, VVAR, feat,
3104
- hhea and vhea tables. Scripts that set the Version for those to 1.0
3105
- or other float values also need fixing. A warning is emitted when
3106
- code or XML needs fix.
3107
- - several bug fixes to the cffLib module, contributed by Adobe's
3108
- @readroberts
3109
- - The XML output for CFF table now has a 'major' and 'minor' elements
3110
- for specifying whether it's version 1.0 or 2.0 (support for CFF2 is
3111
- coming soon)
3112
- - [setup.py] remove undocumented/deprecated ``extra_path`` Distutils
3113
- argument. This means that we no longer create a "FontTools" subfolder
3114
- in site-packages containing the actual fontTools package, as well as
3115
- the standalone xmlWriter and sstruct modules. The latter modules are
3116
- also deprecated, and scheduled for removal in upcoming releases.
3117
- Please change your import statements to point to from fontTools.misc
3118
- import xmlWriter and from fontTools.misc import sstruct.
3119
- - [scripts] Add a 'fonttools' command-line tool that simply runs
3120
- ``fontTools.*`` sub-modules: e.g. ``fonttools ttx``,
3121
- ``fonttools subset``, etc.
3122
- - [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
3123
- automatically round float values to integers.
3124
- - [ttLib/xmlWriter] add 'newlinestr=None' keyword argument to
3125
- ``TTFont.saveXML`` for overriding os-specific line endings (passed on
3126
- to ``XMLWriter`` instances).
3127
- - [versioning] Use versioneer instead of ``setuptools_scm`` to
3128
- dynamically load version info from a git checkout at import time.
3129
- - [feaLib] Support backslash-prefixed glyph names.
3130
-
3131
- 3.1.2 (released 2016-09-27)
3132
- ---------------------------
3133
-
3134
- - restore Makefile as an alternative way to build/check/install
3135
- - README.md: update instructions for installing package from source,
3136
- and for running test suite
3137
- - NEWS: Change log was out of sync with tagged release
3138
-
3139
- 3.1.1 (released 2016-09-27)
3140
- ---------------------------
3141
-
3142
- - Fix ``ttLibVersion`` attribute in TTX files still showing '3.0'
3143
- instead of '3.1'.
3144
- - Use ``setuptools_scm`` to manage package versions.
3145
-
3146
- 3.1.0 (released 2016-09-26)
3147
- ---------------------------
3148
-
3149
- - [feaLib] New library to parse and compile Adobe FDK OpenType Feature
3150
- files.
3151
- - [mtiLib] New library to parse and compile Monotype 'FontDame'
3152
- OpenType Layout Tables files.
3153
- - [voltLib] New library to parse Microsoft VOLT project files.
3154
- - [otlLib] New library to work with OpenType Layout tables.
3155
- - [varLib] New library to work with OpenType Font Variations.
3156
- - [pens] Add ttGlyphPen to draw to TrueType glyphs, and t2CharStringPen
3157
- to draw to Type 2 Charstrings (CFF); add areaPen and perimeterPen.
3158
- - [ttLib.tables] Implement 'meta' and 'trak' tables.
3159
- - [ttx] Add --flavor option for compiling to 'woff' or 'woff2'; add
3160
- ``--with-zopfli`` option to use Zopfli to compress WOFF 1.0 fonts.
3161
- - [subset] Support subsetting 'COLR'/'CPAL' and 'CBDT'/'CBLC' color
3162
- fonts tables, and 'gvar' table for variation fonts.
3163
- - [Snippets] Add ``symfont.py``, for symbolic font statistics analysis;
3164
- interpolatable.py, a preliminary script for detecting interpolation
3165
- errors; ``{merge,dump}_woff_metadata.py``.
3166
- - [classifyTools] Helpers to classify things into classes.
3167
- - [CI] Run tests on Windows, Linux and macOS using Appveyor and Travis
3168
- CI; check unit test coverage with Coverage.py/Coveralls; automatic
3169
- deployment to PyPI on tags.
3170
- - [loggingTools] Use Python built-in logging module to print messages.
3171
- - [py23] Make round() behave like Python 3 built-in round(); define
3172
- round2() and round3().
3173
-
3174
- 3.0 (released 2015-09-01)
3175
- -------------------------
3176
-
3177
- - Add Snippet scripts for cmap subtable format conversion, printing
3178
- GSUB/GPOS features, building a GX font from two masters
3179
- - TTX WOFF2 support and a ``-f`` option to overwrite output file(s)
3180
- - Support GX tables: ``avar``, ``gvar``, ``fvar``, ``meta``
3181
- - Support ``feat`` and gzip-compressed SVG tables
3182
- - Upgrade Mac East Asian encodings to native implementation if
3183
- available
3184
- - Add Roman Croatian and Romanian encodings, codecs for mac-extended
3185
- East Asian encodings
3186
- - Implement optimal GLYF glyph outline packing; disabled by default
3187
-
3188
- 2.5 (released 2014-09-24)
3189
- -------------------------
3190
-
3191
- - Add a Qt pen
3192
- - Add VDMX table converter
3193
- - Load all OpenType sub-structures lazily
3194
- - Add support for cmap format 13.
3195
- - Add pyftmerge tool
3196
- - Update to Unicode 6.3.0d3
3197
- - Add pyftinspect tool
3198
- - Add support for Google CBLC/CBDT color bitmaps, standard EBLC/EBDT
3199
- embedded bitmaps, and ``SVG`` table (thanks to Read Roberts at Adobe)
3200
- - Add support for loading, saving and ttx'ing WOFF file format
3201
- - Add support for Microsoft COLR/CPAL layered color glyphs
3202
- - Support PyPy
3203
- - Support Jython, by replacing numpy with array/lists modules and
3204
- removed it, pure-Python StringIO, not cStringIO
3205
- - Add pyftsubset and Subsetter object, supporting CFF and TTF
3206
- - Add to ttx args for -q for quiet mode, -z to choose a bitmap dump
3207
- format
3208
-
3209
- 2.4 (released 2013-06-22)
3210
- -------------------------
3211
-
3212
- - Option to write to arbitrary files
3213
- - Better dump format for DSIG
3214
- - Better detection of OTF XML
3215
- - Fix issue with Apple's kern table format
3216
- - Fix mangling of TT glyph programs
3217
- - Fix issues related to mona.ttf
3218
- - Fix Windows Installer instructions
3219
- - Fix some modern MacOS issues
3220
- - Fix minor issues and typos
3221
-
3222
- 2.3 (released 2009-11-08)
3223
- -------------------------
3224
-
3225
- - TrueType Collection (TTC) support
3226
- - Python 2.6 support
3227
- - Update Unicode data to 5.2.0
3228
- - Couple of bug fixes
3229
-
3230
- 2.2 (released 2008-05-18)
3231
- -------------------------
3232
-
3233
- - ClearType support
3234
- - cmap format 1 support
3235
- - PFA font support
3236
- - Switched from Numeric to numpy
3237
- - Update Unicode data to 5.1.0
3238
- - Update AGLFN data to 1.6
3239
- - Many bug fixes
3240
-
3241
- 2.1 (released 2008-01-28)
3242
- -------------------------
3243
-
3244
- - Many years worth of fixes and features
3245
-
3246
- 2.0b2 (released 2002-??-??)
3247
- ---------------------------
3248
-
3249
- - Be "forgiving" when interpreting the maxp table version field:
3250
- interpret any value as 1.0 if it's not 0.5. Fixes dumping of these
3251
- GPL fonts: http://www.freebsd.org/cgi/pds.cgi?ports/chinese/wangttf
3252
- - Fixed ttx -l: it turned out this part of the code didn't work with
3253
- Python 2.2.1 and earlier. My bad to do most of my testing with a
3254
- different version than I shipped TTX with :-(
3255
- - Fixed bug in ClassDef format 1 subtable (Andreas Seidel bumped into
3256
- this one).
3257
-
3258
- 2.0b1 (released 2002-09-10)
3259
- ---------------------------
3260
-
3261
- - Fixed embarrassing bug: the master checksum in the head table is now
3262
- calculated correctly even on little-endian platforms (such as Intel).
3263
- - Made the cmap format 4 compiler smarter: the binary data it creates
3264
- is now more or less as compact as possible. TTX now makes more
3265
- compact data than in any shipping font I've tested it with.
3266
- - Dump glyph names as a separate "GlyphOrder" pseudo table as opposed
3267
- to as part of the glyf table (obviously needed for CFF-OTF's).
3268
- - Added proper support for the CFF table.
3269
- - Don't barf on empty tables (questionable, but "there are font out
3270
- there...")
3271
- - When writing TT glyf data, align glyphs on 4-byte boundaries. This
3272
- seems to be the current recommendation by MS. Also: don't barf on
3273
- fonts which are already 4-byte aligned.
3274
- - Windows installer contributed bu Adam Twardoch! Yay!
3275
- - Changed the command line interface again, now by creating one new
3276
- tool replacing the old ones: ttx It dumps and compiles, depending on
3277
- input file types. The options have changed somewhat.
3278
- - The -d option is back (output dir)
3279
- - ttcompile's -i options is now called -m (as in "merge"), to avoid
3280
- clash with dump's -i.
3281
- - The -s option ("split tables") no longer creates a directory, but
3282
- instead outputs a small .ttx file containing references to the
3283
- individual table files. This is not a true link, it's a simple file
3284
- name, and the referenced file should be in the same directory so
3285
- ttcompile can find them.
3286
- - compile no longer accepts a directory as input argument. Instead it
3287
- can parse the new "mini-ttx" format as output by "ttx -s".
3288
- - all arguments are input files
3289
- - Renamed the command line programs and moved them to the Tools
3290
- subdirectory. They are now installed by the setup.py install script.
3291
- - Added OpenType support. BASE, GDEF, GPOS, GSUB and JSTF are (almost)
3292
- fully supported. The XML output is not yet final, as I'm still
3293
- considering to output certain subtables in a more human-friendly
3294
- manner.
3295
- - Fixed 'kern' table to correctly accept subtables it doesn't know
3296
- about, as well as interpreting Apple's definition of the 'kern' table
3297
- headers correctly.
3298
- - Fixed bug where glyphnames were not calculated from 'cmap' if it was
3299
- (one of the) first tables to be decompiled. More specifically: it
3300
- cmap was the first to ask for a glyphID -> glyphName mapping.
3301
- - Switched XML parsers: use expat instead of xmlproc. Should be faster.
3302
- - Removed my UnicodeString object: I now require Python 2.0 or up,
3303
- which has unicode support built in.
3304
- - Removed assert in glyf table: redundant data at the end of the table
3305
- is now ignored instead of raising an error. Should become a warning.
3306
- - Fixed bug in hmtx/vmtx code that only occured if all advances were
3307
- equal.
3308
- - Fixed subtle bug in TT instruction disassembler.
3309
- - Couple of fixes to the 'post' table.
3310
- - Updated OS/2 table to latest spec.
3311
-
3312
- 1.0b1 (released 2001-08-10)
3313
- ---------------------------
3314
-
3315
- - Reorganized the command line interface for ttDump.py and
3316
- ttCompile.py, they now behave more like "normal" command line tool,
3317
- in that they accept multiple input files for batch processing.
3318
- - ttDump.py and ttCompile.py don't silently override files anymore, but
3319
- ask before doing so. Can be overridden by -f.
3320
- - Added -d option to both ttDump.py and ttCompile.py.
3321
- - Installation is now done with distutils. (Needs work for environments
3322
- without compilers.)
3323
- - Updated installation instructions.
3324
- - Added some workarounds so as to handle certain buggy fonts more
3325
- gracefully.
3326
- - Updated Unicode table to Unicode 3.0 (Thanks Antoine!)
3327
- - Included a Python script by Adam Twardoch that adds some useful stuff
3328
- to the Windows registry.
3329
- - Moved the project to SourceForge.
3330
-
3331
- 1.0a6 (released 2000-03-15)
3332
- ---------------------------
3333
-
3334
- - Big reorganization: made ttLib a subpackage of the new fontTools
3335
- package, changed several module names. Called the entire suite
3336
- "FontTools"
3337
- - Added several submodules to fontTools, some new, some older.
3338
- - Added experimental CFF/GPOS/GSUB support to ttLib, read-only (but XML
3339
- dumping of GPOS/GSUB is for now disabled)
3340
- - Fixed hdmx endian bug
3341
- - Added -b option to ttCompile.py, it disables recalculation of
3342
- bounding boxes, as requested by Werner Lemberg.
3343
- - Renamed tt2xml.pt to ttDump.py and xml2tt.py to ttCompile.py
3344
- - Use ".ttx" as file extension instead of ".xml".
3345
- - TTX is now the name of the XML-based *format* for TT fonts, and not
3346
- just an application.
3347
-
3348
- 1.0a5
3349
- -----
3350
-
3351
- Never released
3352
-
3353
- - More tables supported: hdmx, vhea, vmtx
3354
-
3355
- 1.0a3 & 1.0a4
3356
- -------------
3357
-
3358
- Never released
3359
-
3360
- - fixed most portability issues
3361
- - retracted the "Euro_or_currency" change from 1.0a2: it was
3362
- nonsense!
3363
-
3364
- 1.0a2 (released 1999-05-02)
3365
- ---------------------------
3366
-
3367
- - binary release for MacOS
3368
- - genenates full FOND resources: including width table, PS font name
3369
- info and kern table if applicable.
3370
- - added cmap format 4 support. Extra: dumps Unicode char names as XML
3371
- comments!
3372
- - added cmap format 6 support
3373
- - now accepts true type files starting with "true" (instead of just
3374
- 0x00010000 and "OTTO")
3375
- - 'glyf' table support is now complete: I added support for composite
3376
- scale, xy-scale and two-by-two for the 'glyf' table. For now,
3377
- component offset scale behaviour defaults to Apple-style. This only
3378
- affects the (re)calculation of the glyph bounding box.
3379
- - changed "Euro" to "Euro_or_currency" in the Standard Apple Glyph
3380
- order list, since we cannot tell from the 'post' table which is
3381
- meant. I should probably doublecheck with a Unicode encoding if
3382
- available. (This does not affect the output!)
3383
-
3384
- Fixed bugs: - 'hhea' table is now recalculated correctly - fixed wrong
3385
- assumption about sfnt resource names
3386
-
3387
- 1.0a1 (released 1999-04-27)
3388
- ---------------------------
3389
-
3390
- - initial binary release for MacOS
2028
+ \... see `here <https://github.com/fonttools/fonttools/blob/main/NEWS.rst>`__ for earlier changes