pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/fonts/py-fonttools



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr 27 09:43:23 UTC 2022

Modified Files:
        pkgsrc/fonts/py-fonttools: Makefile PLIST distinfo

Log Message:
py-fonttools: updated to 4.33.3

4.33.3 (released 2022-04-26)
----------------------------
- [designspaceLib] Fixed typo in ``deepcopyExceptFonts`` method, preventing font
  references to be transferred
  dataclass's ``__post_init__`` magic method

4.33.2 (released 2022-04-22)
----------------------------
- [otBase] Make logging less verbose when harfbuzz fails to serialize. Do not exit
  at the first failure but continue attempting to fix offset overflow error using
  the pure-python serializer even when the ``USE_HARFBUZZ_REPACKER`` option was
  explicitly set to ``True``. This is normal with fonts with relatively large
  tables, at least until hb.repack implements proper table splitting.

4.33.1 (released 2022-04-22)
----------------------------
- [otlLib] Put back the ``FONTTOOLS_GPOS_COMPACT_MODE`` environment variable to fix
  regression in ufo2ft (and thus fontmake) introduced with v4.33.0
  This is deprecated and will be removed one ufo2ft gets updated to use the new
  config setup.

4.33.0 (released 2022-04-21)
----------------------------
- [OS/2 / merge] Automatically recalculate ``OS/2.xAvgCharWidth`` after merging
  fonts with ``fontTools.merge``
- [misc/config] Added ``fontTools.misc.configTools`` module, a generic configuration
  system
  Added ``fontTools.config`` module, a fontTools-specific configuration
  system using ``configTools`` above.
  Attached a ``Config`` object to ``TTFont``.
- [otlLib] Replaced environment variable for GPOS compression level with an
  equivalent option using the new config system.
- [designspaceLib] Incremented format version to 5.0
  Added discrete axes, variable fonts, STAT information, either design- or
  user-space location on instances.
  Added ``fontTools.designspaceLib.split`` module to split a designspace
  into sub-spaces that interpolate and that represent the variable fonts
  listed in the document.
  Made instance names optional and allow computing them from STAT data instead.
  Added ``fontTools.designspaceLib.statNames`` module.
  Allow instances to have the same location as a previously defined STAT label.
  Deprecated some attributes:
  ``SourceDescriptor``: ``copyLib``, ``copyInfo``, ``copyGroups``, ``copyFeatures``.
  ``InstanceDescriptor``: ``kerning``, ``info``; ``glyphs``: use rules or sparse
  sources.
  For both, ``location``: use the more explicit designLocation.
  Note: all are soft deprecations and existing code should keep working.
  Updated documentation for Python methods and the XML format.
- [varLib] Added ``build_many`` to build several variable fonts from a single
  designspace document
  Added ``fontTools.varLib.stat`` module to build STAT tables from a designspace
  document.
- [otBase] Try to use the Harfbuzz Repacker for packing GSUB/GPOS tables when
  ``uharfbuzz`` python bindings are available
  "fontTools.ttLib.tables.otBase:USE_HARFBUZZ_REPACKER" config option to ``False``.
  If the option is set explicitly to ``True`` but ``uharfbuzz`` can't be imported
  or fails to serialize for any reasons, an error will be raised (ImportError or
  uharfbuzz errors).
- [CFF/T2] Ensure that ``pen.closePath()`` gets called for CFF2 charstrings
  Handle implicit CFF2 closePath within ``T2OutlineExtractor``

4.32.0 (released 2022-04-08)
----------------------------
- [otlLib] Disable GPOS7 optimization to work around bug in Apple CoreText.
  Always force Chaining GPOS8 for now
- [glifLib] Added ``outputImpliedClosingLine=False`` parameter to ``Glyph.draw()``,
  to control behaviour of ``PointToSegmentPen`` (6b4e2e7).
- [varLib.interpolatable] Check for wrong contour starting point
- [cffLib] Remove leftover ``GlobalState`` class and fix calls to ``TopDictIndex()``

- [instancer] Clear ``AxisValueArray`` if it is empty after instantiating

4.31.2 (released 2022-03-22)
----------------------------
- [varLib] fix instantiation of GPOS SinglePos values

4.31.1 (released 2022-03-18)
----------------------------
- [subset] fix subsetting OT-SVG when glyph id attribute is on the root ``<svg>``
  element

4.31.0 (released 2022-03-18)
----------------------------
- [ttCollection] Fixed 'ResourceWarning: unclosed file' warning
- [varLib.merger] Handle merging SinglePos with valueformat=0
- [ttFont] Update glyf's glyphOrder when calling TTFont.setGlyphOrder()
- [ttFont] Added ``ensureDecompiled`` method to load all tables irrespective
  of the ``lazy`` attribute
- [otBase] Added ``iterSubTable`` method to iterate over BaseTable's children of
  type BaseTable; useful for traversing a tree of otTables

4.30.0 (released 2022-03-10)
----------------------------
- [varLib] Added debug logger showing the glyph name for which ``gvar`` is built
- [varLib.errors] Fixed undefined names in ``FoundANone`` and ``UnsupportedFormat``
  exceptions (ac4d5611).
- [otlLib.builder] Added ``windowsNames`` and ``macNames`` (bool) parameters to the
  ``buildStatTabe`` function, so that one can select whether to only add one or both
  of the two sets
- [t1Lib] Added the ability to recreate PostScript stream
- [name] Added ``getFirstDebugName``, ``getBest{Family,SubFamily,Full}Name`` methods


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/fonts/py-fonttools/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/fonts/py-fonttools/PLIST
cvs rdiff -u -r1.56 -r1.57 pkgsrc/fonts/py-fonttools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/py-fonttools/Makefile
diff -u pkgsrc/fonts/py-fonttools/Makefile:1.78 pkgsrc/fonts/py-fonttools/Makefile:1.79
--- pkgsrc/fonts/py-fonttools/Makefile:1.78     Mon Feb  7 21:12:59 2022
+++ pkgsrc/fonts/py-fonttools/Makefile  Wed Apr 27 09:43:23 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2022/02/07 21:12:59 adam Exp $
+# $NetBSD: Makefile,v 1.79 2022/04/27 09:43:23 adam Exp $
 
-DISTNAME=      fonttools-4.29.1
+DISTNAME=      fonttools-4.33.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    fonts python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/FontTools/}

Index: pkgsrc/fonts/py-fonttools/PLIST
diff -u pkgsrc/fonts/py-fonttools/PLIST:1.40 pkgsrc/fonts/py-fonttools/PLIST:1.41
--- pkgsrc/fonts/py-fonttools/PLIST:1.40        Mon Feb  7 21:12:59 2022
+++ pkgsrc/fonts/py-fonttools/PLIST     Wed Apr 27 09:43:23 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.40 2022/02/07 21:12:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.41 2022/04/27 09:43:23 adam Exp $
 bin/fonttools-${PYVERSSUFFIX}
 bin/pyftmerge-${PYVERSSUFFIX}
 bin/pyftsubset-${PYVERSSUFFIX}
@@ -48,6 +48,9 @@ ${PYSITELIB}/fontTools/colorLib/table_bu
 ${PYSITELIB}/fontTools/colorLib/unbuilder.py
 ${PYSITELIB}/fontTools/colorLib/unbuilder.pyc
 ${PYSITELIB}/fontTools/colorLib/unbuilder.pyo
+${PYSITELIB}/fontTools/config/__init__.py
+${PYSITELIB}/fontTools/config/__init__.pyc
+${PYSITELIB}/fontTools/config/__init__.pyo
 ${PYSITELIB}/fontTools/cu2qu/__init__.py
 ${PYSITELIB}/fontTools/cu2qu/__init__.pyc
 ${PYSITELIB}/fontTools/cu2qu/__init__.pyo
@@ -71,6 +74,15 @@ ${PYSITELIB}/fontTools/cu2qu/ufo.pyo
 ${PYSITELIB}/fontTools/designspaceLib/__init__.py
 ${PYSITELIB}/fontTools/designspaceLib/__init__.pyc
 ${PYSITELIB}/fontTools/designspaceLib/__init__.pyo
+${PYSITELIB}/fontTools/designspaceLib/split.py
+${PYSITELIB}/fontTools/designspaceLib/split.pyc
+${PYSITELIB}/fontTools/designspaceLib/split.pyo
+${PYSITELIB}/fontTools/designspaceLib/statNames.py
+${PYSITELIB}/fontTools/designspaceLib/statNames.pyc
+${PYSITELIB}/fontTools/designspaceLib/statNames.pyo
+${PYSITELIB}/fontTools/designspaceLib/types.py
+${PYSITELIB}/fontTools/designspaceLib/types.pyc
+${PYSITELIB}/fontTools/designspaceLib/types.pyo
 ${PYSITELIB}/fontTools/encodings/MacRoman.py
 ${PYSITELIB}/fontTools/encodings/MacRoman.pyc
 ${PYSITELIB}/fontTools/encodings/MacRoman.pyo
@@ -161,6 +173,9 @@ ${PYSITELIB}/fontTools/misc/classifyTool
 ${PYSITELIB}/fontTools/misc/cliTools.py
 ${PYSITELIB}/fontTools/misc/cliTools.pyc
 ${PYSITELIB}/fontTools/misc/cliTools.pyo
+${PYSITELIB}/fontTools/misc/configTools.py
+${PYSITELIB}/fontTools/misc/configTools.pyc
+${PYSITELIB}/fontTools/misc/configTools.pyo
 ${PYSITELIB}/fontTools/misc/cython.py
 ${PYSITELIB}/fontTools/misc/cython.pyc
 ${PYSITELIB}/fontTools/misc/cython.pyo
@@ -799,6 +814,9 @@ ${PYSITELIB}/fontTools/varLib/mvar.pyo
 ${PYSITELIB}/fontTools/varLib/plot.py
 ${PYSITELIB}/fontTools/varLib/plot.pyc
 ${PYSITELIB}/fontTools/varLib/plot.pyo
+${PYSITELIB}/fontTools/varLib/stat.py
+${PYSITELIB}/fontTools/varLib/stat.pyc
+${PYSITELIB}/fontTools/varLib/stat.pyo
 ${PYSITELIB}/fontTools/varLib/varStore.py
 ${PYSITELIB}/fontTools/varLib/varStore.pyc
 ${PYSITELIB}/fontTools/varLib/varStore.pyo

Index: pkgsrc/fonts/py-fonttools/distinfo
diff -u pkgsrc/fonts/py-fonttools/distinfo:1.56 pkgsrc/fonts/py-fonttools/distinfo:1.57
--- pkgsrc/fonts/py-fonttools/distinfo:1.56     Mon Feb  7 21:12:59 2022
+++ pkgsrc/fonts/py-fonttools/distinfo  Wed Apr 27 09:43:23 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.56 2022/02/07 21:12:59 adam Exp $
+$NetBSD: distinfo,v 1.57 2022/04/27 09:43:23 adam Exp $
 
-BLAKE2s (fonttools-4.29.1.zip) = 3debcf651cb18dd6604ed9c06281f50c109d3955fb2a722b8d21faf2be8e0464
-SHA512 (fonttools-4.29.1.zip) = b68b8ff77bfceb129767fc8f360d51e5543b40d5469e6a3ae07533151ea961ae0ea6bc51a561d4018e2429f5695b916f368b361518d3f9350ce4a1d068986eff
-Size (fonttools-4.29.1.zip) = 4857543 bytes
+BLAKE2s (fonttools-4.33.3.zip) = 838a5a2e261d64200fc7b8e3b80dd17a8f8498a4e028c392c939c9ae490e0465
+SHA512 (fonttools-4.33.3.zip) = 9da24b91157872600e176428441b863c187424d3944c029e50653224c299736e6aa00c4e8d14fc89f4c724d1f719f3919349f0705639e942d000091cd54d8f74
+Size (fonttools-4.33.3.zip) = 4975226 bytes



Home | Main Index | Thread Index | Old Index