fonttools 4.56.0__cp39-cp39-musllinux_1_2_aarch64.whl → 4.58.0__cp39-cp39-musllinux_1_2_aarch64.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.

Files changed (71) hide show
  1. fontTools/__init__.py +1 -1
  2. fontTools/cffLib/__init__.py +61 -26
  3. fontTools/config/__init__.py +15 -0
  4. fontTools/cu2qu/cu2qu.c +4563 -4047
  5. fontTools/cu2qu/cu2qu.cpython-39-aarch64-linux-gnu.so +0 -0
  6. fontTools/designspaceLib/statNames.py +14 -7
  7. fontTools/feaLib/ast.py +92 -13
  8. fontTools/feaLib/builder.py +52 -13
  9. fontTools/feaLib/lexer.c +6268 -7111
  10. fontTools/feaLib/lexer.cpython-39-aarch64-linux-gnu.so +0 -0
  11. fontTools/feaLib/parser.py +59 -39
  12. fontTools/fontBuilder.py +6 -0
  13. fontTools/misc/bezierTools.c +13479 -15374
  14. fontTools/misc/bezierTools.cpython-39-aarch64-linux-gnu.so +0 -0
  15. fontTools/misc/etree.py +4 -27
  16. fontTools/misc/testTools.py +2 -1
  17. fontTools/mtiLib/__init__.py +0 -2
  18. fontTools/otlLib/builder.py +195 -145
  19. fontTools/otlLib/optimize/gpos.py +49 -63
  20. fontTools/pens/momentsPen.c +4492 -4674
  21. fontTools/pens/momentsPen.cpython-39-aarch64-linux-gnu.so +0 -0
  22. fontTools/pens/pointPen.py +21 -12
  23. fontTools/qu2cu/qu2cu.c +5727 -5458
  24. fontTools/qu2cu/qu2cu.cpython-39-aarch64-linux-gnu.so +0 -0
  25. fontTools/subset/__init__.py +11 -0
  26. fontTools/ttLib/__init__.py +4 -0
  27. fontTools/ttLib/__main__.py +47 -8
  28. fontTools/ttLib/tables/D__e_b_g.py +20 -2
  29. fontTools/ttLib/tables/G_V_A_R_.py +5 -0
  30. fontTools/ttLib/tables/T_S_I__0.py +14 -3
  31. fontTools/ttLib/tables/T_S_I__5.py +16 -5
  32. fontTools/ttLib/tables/__init__.py +1 -0
  33. fontTools/ttLib/tables/_c_m_a_p.py +19 -6
  34. fontTools/ttLib/tables/_c_v_t.py +2 -0
  35. fontTools/ttLib/tables/_f_p_g_m.py +3 -1
  36. fontTools/ttLib/tables/_g_l_y_f.py +11 -10
  37. fontTools/ttLib/tables/_g_v_a_r.py +62 -17
  38. fontTools/ttLib/tables/_p_o_s_t.py +5 -2
  39. fontTools/ttLib/tables/otBase.py +1 -0
  40. fontTools/ttLib/tables/otConverters.py +5 -2
  41. fontTools/ttLib/tables/otTables.py +5 -1
  42. fontTools/ttLib/ttFont.py +3 -5
  43. fontTools/ttLib/ttGlyphSet.py +0 -10
  44. fontTools/ttx.py +13 -1
  45. fontTools/ufoLib/__init__.py +2 -2
  46. fontTools/ufoLib/converters.py +89 -25
  47. fontTools/ufoLib/errors.py +8 -0
  48. fontTools/ufoLib/etree.py +1 -1
  49. fontTools/ufoLib/filenames.py +155 -100
  50. fontTools/ufoLib/glifLib.py +9 -2
  51. fontTools/ufoLib/kerning.py +66 -36
  52. fontTools/ufoLib/utils.py +5 -2
  53. fontTools/unicodedata/Mirrored.py +446 -0
  54. fontTools/unicodedata/__init__.py +6 -2
  55. fontTools/varLib/__init__.py +94 -89
  56. fontTools/varLib/hvar.py +113 -0
  57. fontTools/varLib/iup.c +6700 -6224
  58. fontTools/varLib/iup.cpython-39-aarch64-linux-gnu.so +0 -0
  59. fontTools/varLib/varStore.py +1 -1
  60. fontTools/voltLib/__main__.py +206 -0
  61. fontTools/voltLib/ast.py +4 -0
  62. fontTools/voltLib/parser.py +16 -8
  63. fontTools/voltLib/voltToFea.py +347 -166
  64. {fonttools-4.56.0.dist-info → fonttools-4.58.0.dist-info}/METADATA +60 -12
  65. {fonttools-4.56.0.dist-info → fonttools-4.58.0.dist-info}/RECORD +277 -272
  66. {fonttools-4.56.0.dist-info → fonttools-4.58.0.dist-info}/WHEEL +1 -1
  67. fonttools-4.58.0.dist-info/licenses/LICENSE.external +359 -0
  68. {fonttools-4.56.0.data → fonttools-4.58.0.data}/data/share/man/man1/ttx.1 +0 -0
  69. {fonttools-4.56.0.dist-info → fonttools-4.58.0.dist-info}/entry_points.txt +0 -0
  70. {fonttools-4.56.0.dist-info → fonttools-4.58.0.dist-info/licenses}/LICENSE +0 -0
  71. {fonttools-4.56.0.dist-info → fonttools-4.58.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: fonttools
3
- Version: 4.56.0
3
+ Version: 4.58.0
4
4
  Summary: Tools to manipulate font files
5
5
  Home-page: http://github.com/fonttools/fonttools
6
6
  Author: Just van Rossum
@@ -14,11 +14,9 @@ Classifier: Environment :: Console
14
14
  Classifier: Environment :: Other Environment
15
15
  Classifier: Intended Audience :: Developers
16
16
  Classifier: Intended Audience :: End Users/Desktop
17
- Classifier: License :: OSI Approved :: MIT License
18
17
  Classifier: Natural Language :: English
19
18
  Classifier: Operating System :: OS Independent
20
19
  Classifier: Programming Language :: Python
21
- Classifier: Programming Language :: Python :: 3.8
22
20
  Classifier: Programming Language :: Python :: 3.9
23
21
  Classifier: Programming Language :: Python :: 3.10
24
22
  Classifier: Programming Language :: Python :: 3.11
@@ -28,9 +26,10 @@ Classifier: Programming Language :: Python :: 3
28
26
  Classifier: Topic :: Text Processing :: Fonts
29
27
  Classifier: Topic :: Multimedia :: Graphics
30
28
  Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
31
- Requires-Python: >=3.8
29
+ Requires-Python: >=3.9
32
30
  Description-Content-Type: text/x-rst
33
31
  License-File: LICENSE
32
+ License-File: LICENSE.external
34
33
  Provides-Extra: ufo
35
34
  Requires-Dist: fs<3,>=2.2.0; extra == "ufo"
36
35
  Provides-Extra: lxml
@@ -80,6 +79,7 @@ Dynamic: description
80
79
  Dynamic: description-content-type
81
80
  Dynamic: home-page
82
81
  Dynamic: license
82
+ Dynamic: license-file
83
83
  Dynamic: maintainer
84
84
  Dynamic: maintainer-email
85
85
  Dynamic: platform
@@ -97,7 +97,7 @@ What is this?
97
97
  fonts to and from an XML text format, which is also called TTX. It
98
98
  supports TrueType, OpenType, AFM and to an extent Type 1 and some
99
99
  Mac-specific formats. The project has an `MIT open-source
100
- licence <LICENSE>`__.
100
+ license <LICENSE>`__.
101
101
  | Among other things this means you can use it free of charge.
102
102
 
103
103
  `User documentation <https://fonttools.readthedocs.io/en/latest/>`_ and
@@ -107,7 +107,7 @@ are available at `Read the Docs <https://fonttools.readthedocs.io/>`_.
107
107
  Installation
108
108
  ~~~~~~~~~~~~
109
109
 
110
- FontTools requires `Python <http://www.python.org/download/>`__ 3.8
110
+ FontTools requires `Python <http://www.python.org/download/>`__ 3.9
111
111
  or later. We try to follow the same schedule of minimum Python version support as
112
112
  NumPy (see `NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`__).
113
113
 
@@ -177,9 +177,6 @@ are required to unlock the extra features named "ufo", etc.
177
177
  * `fs <https://pypi.org/pypi/fs>`__: (aka ``pyfilesystem2``) filesystem
178
178
  abstraction layer.
179
179
 
180
- * `enum34 <https://pypi.org/pypi/enum34>`__: backport for the built-in ``enum``
181
- module (only required on Python < 3.4).
182
-
183
180
  *Extra:* ``ufo``
184
181
 
185
182
  - ``Lib/fontTools/ttLib/woff2.py``
@@ -344,7 +341,7 @@ How to make a new release
344
341
  automate that too.
345
342
 
346
343
 
347
- Acknowledgements
344
+ Acknowledgments
348
345
  ~~~~~~~~~~~~~~~~
349
346
 
350
347
  In alphabetical order:
@@ -355,7 +352,7 @@ Vincent Connare, David Corbett, Simon Cozens, Dave Crossland, Simon Daniels,
355
352
  Peter Dekkers, Behdad Esfahbod, Behnam Esfahbod, Hannes Famira, Sam Fishman,
356
353
  Matt Fontaine, Takaaki Fuji, Rob Hagemans, Yannis Haralambous, Greg Hitchcock,
357
354
  Jeremie Hornus, Khaled Hosny, John Hudson, Denis Moyogo Jacquerye, Jack Jansen,
358
- Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal Leming, Peter
355
+ Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal Leming, Liang Hai, Peter
359
356
  Lofting, Cosimo Lupo, Olli Meier, Masaya Nakamura, Dave Opstad, Laurence Penney,
360
357
  Roozbeh Pournader, Garret Rieger, Read Roberts, Colin Rofls, Guido van Rossum,
361
358
  Just van Rossum, Andreas Seidel, Georg Seifert, Chris Simpkins, Miguel Sousa,
@@ -391,6 +388,57 @@ Have fun!
391
388
  Changelog
392
389
  ~~~~~~~~~
393
390
 
391
+ 4.58.0 (released 2025-05-10)
392
+ ----------------------------
393
+
394
+ - Drop Python 3.8, require 3.9+ (#3819)
395
+ - [HVAR, VVAR] Prune unused regions when using a direct mapping (#3797)
396
+ - [Docs] Improvements to ufoLib documentation (#3721)
397
+ - [Docs] Improvements to varLib documentation (#3727)
398
+ - [Docs] Improvements to Pens and pen-module documentation (#3724)
399
+ - [Docs] Miscellany updates to docs (misc modules and smaller modules) (#3730)
400
+ - [subset] Close codepoints over BiDi mirror variants. (#3801)
401
+ - [feaLib] Fix serializing ChainContextPosStatement and
402
+ ChainContextSubstStatement in some rare cases (#3788)
403
+ - [designspaceLib] Clarify user expectations for getStatNames (#2892)
404
+ - [GVAR] Add support for new `GVAR` table (#3728)
405
+ - [TSI0, TSI5] Derive number of entries to decompile from data length (#2477)
406
+ - [ttLib] Fix `AttributeError` when reporting table overflow (#3808)
407
+ - [ttLib] Apply rounding more often in getCoordinates (#3798)
408
+ - [ttLib] Ignore component bounds if empty (#3799)
409
+ - [ttLib] Change the separator for duplicate glyph names from "#" to "." (#3809)
410
+ - [feaLib] Support subtable breaks in CursivePos, MarkBasePos, MarkToLigPos and
411
+ MarkToMarkPos lookups (#3800, #3807)
412
+ - [feaLib] If the same lookup has single substitutions and ligature
413
+ substitutions, upgrade single substitutions to ligature substitutions with
414
+ one input glyph (#3805)
415
+ - [feaLib] Correctly handle <NULL> in single pos lookups (#3803)
416
+ - [feaLib] Remove duplicates from class pair pos classes instead of raising an
417
+ error (#3804)
418
+ - [feaLib] Support creating extension lookups using useExtenion lookup flag
419
+ instead of silently ignoring it (#3811)
420
+ - [STAT] Add typing for the simpler STAT arguments (#3812)
421
+ - [otlLib.builder] Add future import for annotations (#3814)
422
+ - [cffLib] Fix reading supplement encoding (#3813)
423
+ - [voltLib] Add some missing functionality and fixes to voltLib and VoltToFea,
424
+ making the conversion to feature files more robust. Add also `fonttools
425
+ voltLib` command line tool to compile VOLT sources directly (doing an
426
+ intermediate fea conversion internally) (#3818)
427
+ - [pens] Add some PointPen annotations (#3820)
428
+
429
+ 4.57.0 (released 2025-04-03)
430
+ ----------------------------
431
+
432
+ - [ttLib.__main__] Add `--no-recalc-timestamp` flag (#3771)
433
+ - [ttLib.__main__] Add `-b` (recalcBBoxes=False) flag (#3772)
434
+ - [cmap] Speed up glyphOrder loading from cmap (#3774)
435
+ - [ttLib.__main__] Improvements around the `-t` flag (#3776)
436
+ - [Debg] Fix parsing from XML; add roundtrip tests (#3781)
437
+ - [fealib] Support \*Base.MinMax tables (#3783, #3786)
438
+ - [config] Add OPTIMIZE_FONT_SPEED (#3784)
439
+ - [varLib.hvar] New module to add HVAR table to the font (#3780)
440
+ - [otlLib.optimize] Fix crash when the provided TTF does not contain a `GPOS` (#3794)
441
+
394
442
  4.56.0 (released 2025-02-07)
395
443
  ----------------------------
396
444