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