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 Sep 7 15:13:52 UTC 2022
Modified Files:
pkgsrc/fonts/py-fonttools: Makefile PLIST distinfo
Log Message:
py-fonttools: updated to 4.37.1
4.37.1 (released 2022-08-24)
----------------------------
- [subset] Fixed regression introduced with v4.37.0 while subsetting the VarStore of
``HVAR`` and ``VVAR`` tables, whereby an ``AttributeError: subset_varidxes`` was
thrown because an apparently unused import statement (with the side-effect of
dynamically binding that ``subset_varidxes`` method to the VarStore class) had been
accidentally deleted in an unrelated PR.
- [pens] Added ``cairoPen``.
- [gvar] Read ``gvar`` more lazily by not parsing all of the ``glyf`` table.
- [ttGlyphSet] Make ``drawPoints(pointPen)`` method work for CFF fonts as well via
adapter pen.
4.37.0 (released 2022-08-23)
----------------------------
- [varLib.models] Reverted PR 2717 which added support for "narrow tents" in v4.36.0,
as it introduced a regression. It will be restored in upcoming release
once we found a solution to the bug.
- [cff.specializer] Fixed issue in charstring generalizer with the ``blend`` operator.
- [varLib.models] Added support for extrapolation.
- [ttGlyphSet] Ensure the newly added ``_TTVarGlyphSet`` inherits from ``_TTGlyphSet``
to keep backward compatibility with existing API.
- [kern] Allow compiling legacy kern tables with more than 64k entries (d21cfdede).
- [visitor] Added new visitor API to traverse tree of objects and dispatch based
on the attribute type: cf. ``fontTools.misc.visitor`` and ``fontTools.ttLib.ttVisitor``. Added ``fontTools.ttLib.scaleUpem`` module that uses the latter to
change a font's units-per-em and scale all the related fields accordingly.
4.36.0 (released 2022-08-17)
----------------------------
- [varLib.models] Use a simpler model that generates narrower "tents" (regions, master
supports) whenever possible: specifically when any two axes that actively "cooperate"
(have masters at non-zero positions for both axes) have a complete set of intermediates.
The simpler algorithm produces fewer overlapping regions and behaves better with
respect to rounding at the peak positions than the generic solver, always matching
intermediate masters exactly, instead of maximally 0.5 units off. This may be useful
when 100% metrics compatibility is desired.
- [feaLib] Remove warning when about ``GDEF`` not being built when explicitly not
requested; don't build one unconditonally even when not requested.
- [ttFont] ``TTFont.getGlyphSet`` method now supports selecting a location that
represents an instance of a variable font (supports both user-scale and normalized
axes coordinates via the ``normalized=False`` parameter). Currently this only works
for TrueType-flavored variable fonts.
4.35.0 (released 2022-08-15)
----------------------------
- [otData/otConverters] Added support for 'biased' PaintSweepGradient start/end angles
to match latest COLRv1 spec.
- [varLib.instancer] Fixed bug in ``_instantiateFeatureVariations`` when at the same
time pinning one axis and restricting the range of a subsequent axis; the wrong axis
tag was being used in the latter step (as the records' axisIdx was updated in the
preceding step but looked up using the old axes order in the following step).
- [mtiLib] Pad script tags with space when less than 4 char long.
- [merge] Use ``'.'`` instead of ``'#'`` in duplicate glyph names.
- [gvar] Added support for lazily loading glyph variations.
- [varLib] In ``build_many``, we forgot to pass on ``colr_layer_reuse`` parameter to
the ``build`` method.
- [svgPathPen] Add a main that prints SVG for input text (6df779fd).
- [cffLib.width] Fixed off-by-one in optimized values; previous code didn't match the
code block above it (2963fa50).
- [varLib.interpolatable] Support reading .designspace and .glyphs files (via optional
``glyphsLib``).
- Compile some modules with Cython when available and building/installing fonttools
from source: ``varLib.iup`` (35% faster), ``pens.momentsPen`` (makes
``varLib.interpolatable`` 3x faster).
- [feaLib] Allow features to be built for VF without also building a GDEF table (e.g.
only build GSUB); warn when GDEF would be needed but isn't requested.
- [otBase] Fixed ``AttributeError`` when uharfbuzz < 0.23.0 and 'repack' method is
missing (32aa8eaf). Use new ``uharfbuzz.repack_with_tag`` when available (since
uharfbuzz>=0.30.0), enables table-specific optimizations to be performed during
repacking.
- [statisticsPen] By default report all glyphs (4139d891). Avoid division-by-zero
(52b28f90).
- [feaLib] Added missing required argument to FeatureLibError exception
- [varLib.merge] Fixed error during error reporting. Fixed undefined
``NotANone`` variable.
4.34.4 (released 2022-07-07)
----------------------------
- Fixed typo in varLib/merger.py that causes NameError merging COLR glyphs
containing more than 255 layers.
4.34.3 (released 2022-07-07)
----------------------------
- [designspaceLib] Don't make up bad PS names when no STAT data
4.34.2 (released 2022-07-06)
----------------------------
- [varStore/subset] fixed KeyError exception to do with NO_VARIATION_INDEX while
subsetting varidxes in GPOS/GDEF (a08140d).
4.34.1 (released 2022-07-06)
----------------------------
- [instancer] When optimizing HVAR/VVAR VarStore, use_NO_VARIATION_INDEX=False to avoid
including NO_VARIATION_INDEX in AdvWidthMap, RsbMap, LsbMap mappings, which would
push the VarIdx width to maximum (4bytes), which is not desirable. This also fixes
a hard crash when attempting to subset a varfont after it had been partially instanced
with use_NO_VARIATION_INDEX=True.
4.34.0 (released 2022-07-06)
----------------------------
- [instancer] Set RIBBI bits in head and OS/2 table when cutting instances and the
subfamily nameID=2 contains strings like 'Italic' or 'Bold'.
- [otTraverse] Addded module containing methods for traversing trees of otData tables
.
- [otTables] Made DeltaSetIndexMap TTX dump less verbose by omitting no-op entries
.
- [colorLib.builder] Added option to disable PaintColrLayers's reuse of layers from
LayerList.
- [varLib] Added support for merging multiple master COLRv1 tables into a variable
COLR table. Base color glyphs of same name in different masters must have
identical paint graph structure (incl. number of layers, palette indices, number
of color line stops, corresponding paint formats at each level of the graph),
but can differ in the variable fields (e.g. PaintSolid.Alpha). PaintVar* tables
are produced when this happens and a VarStore/DeltaSetIndexMap is added to the
variable COLR table. It is possible for non-default masters to be 'sparse', i.e.
omit some of the color glyphs present in the default master.
- [feaLib] Let the Parser set nameIDs 1 through 6 that were previously reserved.
- [varLib.varStore] Support NO_VARIATION_INDEX in optimizer and instancer.
- [feaLib] Show all missing glyphs at once at end of parsing.
- [varLib.iup] Rewrite force-set conditions and limit DP loopback length.
For Noto Sans, IUP time drops from 23s down to 9s, with only a slight size increase
in the final font. This basically turns the algorithm from O(n^3) into O(n).
- [featureVars] Report about missing glyphs in substitution rules.
- [mutator/instancer] Added CLI flag to --no-recalc-timestamp.
- [SVG] Allow individual SVG documents in SVG OT table to be compressed on uncompressed,
and remember that when roundtripping to/from ttx. The SVG.docList is now a list
of SVGDocument namedtuple-like dataclass containing an extra ``compressed`` field,
and no longer a bare 3-tuple.
- [designspaceLib] Check for descriptor types with hasattr() to allow custom classes
that don't inherit the default descriptors.
- [subset] Enable sharing across subtables of extension lookups for harfbuzz packing
. Updated how table packing falls back to fontTools from harfbuzz.
- [subset] Updated default feature tags following current Harfbuzz.
- [svgLib] Fixed regex for real number to support e.g. 1e-4 in addition to 1.0e-4.
Support parsing negative rx, ry on arc commands.
- [subset] Fixed subsetting SinglePosFormat2 when ValueFormat=0.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/fonts/py-fonttools/Makefile
cvs rdiff -u -r1.41 -r1.42 pkgsrc/fonts/py-fonttools/PLIST
cvs rdiff -u -r1.57 -r1.58 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.79 pkgsrc/fonts/py-fonttools/Makefile:1.80
--- pkgsrc/fonts/py-fonttools/Makefile:1.79 Wed Apr 27 09:43:23 2022
+++ pkgsrc/fonts/py-fonttools/Makefile Wed Sep 7 15:13:52 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2022/04/27 09:43:23 adam Exp $
+# $NetBSD: Makefile,v 1.80 2022/09/07 15:13:52 adam Exp $
-DISTNAME= fonttools-4.33.3
+DISTNAME= fonttools-4.37.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
@@ -13,6 +13,8 @@ LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+# lxml
+DEPENDS+= ${PYPKGPREFIX}-lxml>=4.0:../../textproc/py-lxml
# ufo
DEPENDS+= ${PYPKGPREFIX}-fs>=2.2.0:../../filesystems/py-fs
# woff
@@ -21,8 +23,8 @@ DEPENDS+= ${PYPKGPREFIX}-zopfli>=0.1.4:.
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-# as of 4.17.1:
-# 3 failed, 3456 passed, 143 skipped, 2 xfailed, 23 warnings, 6 errors
+# as of 4.37.1:
+# 8 failed, 3967 passed, 45 skipped, 2 xfailed, 34 warnings
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
Index: pkgsrc/fonts/py-fonttools/PLIST
diff -u pkgsrc/fonts/py-fonttools/PLIST:1.41 pkgsrc/fonts/py-fonttools/PLIST:1.42
--- pkgsrc/fonts/py-fonttools/PLIST:1.41 Wed Apr 27 09:43:23 2022
+++ pkgsrc/fonts/py-fonttools/PLIST Wed Sep 7 15:13:52 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.41 2022/04/27 09:43:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.42 2022/09/07 15:13:52 adam Exp $
bin/fonttools-${PYVERSSUFFIX}
bin/pyftmerge-${PYVERSSUFFIX}
bin/pyftsubset-${PYVERSSUFFIX}
@@ -246,9 +246,15 @@ ${PYSITELIB}/fontTools/misc/timeTools.py
${PYSITELIB}/fontTools/misc/transform.py
${PYSITELIB}/fontTools/misc/transform.pyc
${PYSITELIB}/fontTools/misc/transform.pyo
+${PYSITELIB}/fontTools/misc/treeTools.py
+${PYSITELIB}/fontTools/misc/treeTools.pyc
+${PYSITELIB}/fontTools/misc/treeTools.pyo
${PYSITELIB}/fontTools/misc/vector.py
${PYSITELIB}/fontTools/misc/vector.pyc
${PYSITELIB}/fontTools/misc/vector.pyo
+${PYSITELIB}/fontTools/misc/visitor.py
+${PYSITELIB}/fontTools/misc/visitor.pyc
+${PYSITELIB}/fontTools/misc/visitor.pyo
${PYSITELIB}/fontTools/misc/xmlReader.py
${PYSITELIB}/fontTools/misc/xmlReader.pyc
${PYSITELIB}/fontTools/misc/xmlReader.pyo
@@ -294,6 +300,9 @@ ${PYSITELIB}/fontTools/pens/basePen.pyo
${PYSITELIB}/fontTools/pens/boundsPen.py
${PYSITELIB}/fontTools/pens/boundsPen.pyc
${PYSITELIB}/fontTools/pens/boundsPen.pyo
+${PYSITELIB}/fontTools/pens/cairoPen.py
+${PYSITELIB}/fontTools/pens/cairoPen.pyc
+${PYSITELIB}/fontTools/pens/cairoPen.pyo
${PYSITELIB}/fontTools/pens/cocoaPen.py
${PYSITELIB}/fontTools/pens/cocoaPen.pyc
${PYSITELIB}/fontTools/pens/cocoaPen.pyo
@@ -309,9 +318,11 @@ ${PYSITELIB}/fontTools/pens/freetypePen.
${PYSITELIB}/fontTools/pens/hashPointPen.py
${PYSITELIB}/fontTools/pens/hashPointPen.pyc
${PYSITELIB}/fontTools/pens/hashPointPen.pyo
+${PYSITELIB}/fontTools/pens/momentsPen.c
${PYSITELIB}/fontTools/pens/momentsPen.py
${PYSITELIB}/fontTools/pens/momentsPen.pyc
${PYSITELIB}/fontTools/pens/momentsPen.pyo
+${PYSITELIB}/fontTools/pens/momentsPen.so
${PYSITELIB}/fontTools/pens/perimeterPen.py
${PYSITELIB}/fontTools/pens/perimeterPen.pyc
${PYSITELIB}/fontTools/pens/perimeterPen.pyo
@@ -405,6 +416,9 @@ ${PYSITELIB}/fontTools/ttLib/macUtils.py
${PYSITELIB}/fontTools/ttLib/removeOverlaps.py
${PYSITELIB}/fontTools/ttLib/removeOverlaps.pyc
${PYSITELIB}/fontTools/ttLib/removeOverlaps.pyo
+${PYSITELIB}/fontTools/ttLib/scaleUpem.py
+${PYSITELIB}/fontTools/ttLib/scaleUpem.pyc
+${PYSITELIB}/fontTools/ttLib/scaleUpem.pyo
${PYSITELIB}/fontTools/ttLib/sfnt.py
${PYSITELIB}/fontTools/ttLib/sfnt.pyc
${PYSITELIB}/fontTools/ttLib/sfnt.pyo
@@ -690,6 +704,9 @@ ${PYSITELIB}/fontTools/ttLib/tables/otDa
${PYSITELIB}/fontTools/ttLib/tables/otTables.py
${PYSITELIB}/fontTools/ttLib/tables/otTables.pyc
${PYSITELIB}/fontTools/ttLib/tables/otTables.pyo
+${PYSITELIB}/fontTools/ttLib/tables/otTraverse.py
+${PYSITELIB}/fontTools/ttLib/tables/otTraverse.pyc
+${PYSITELIB}/fontTools/ttLib/tables/otTraverse.pyo
${PYSITELIB}/fontTools/ttLib/tables/sbixGlyph.py
${PYSITELIB}/fontTools/ttLib/tables/sbixGlyph.pyc
${PYSITELIB}/fontTools/ttLib/tables/sbixGlyph.pyo
@@ -706,6 +723,12 @@ ${PYSITELIB}/fontTools/ttLib/ttCollectio
${PYSITELIB}/fontTools/ttLib/ttFont.py
${PYSITELIB}/fontTools/ttLib/ttFont.pyc
${PYSITELIB}/fontTools/ttLib/ttFont.pyo
+${PYSITELIB}/fontTools/ttLib/ttGlyphSet.py
+${PYSITELIB}/fontTools/ttLib/ttGlyphSet.pyc
+${PYSITELIB}/fontTools/ttLib/ttGlyphSet.pyo
+${PYSITELIB}/fontTools/ttLib/ttVisitor.py
+${PYSITELIB}/fontTools/ttLib/ttVisitor.pyc
+${PYSITELIB}/fontTools/ttLib/ttVisitor.pyo
${PYSITELIB}/fontTools/ttLib/woff2.py
${PYSITELIB}/fontTools/ttLib/woff2.pyc
${PYSITELIB}/fontTools/ttLib/woff2.pyo
@@ -796,9 +819,11 @@ ${PYSITELIB}/fontTools/varLib/interpolat
${PYSITELIB}/fontTools/varLib/interpolate_layout.py
${PYSITELIB}/fontTools/varLib/interpolate_layout.pyc
${PYSITELIB}/fontTools/varLib/interpolate_layout.pyo
+${PYSITELIB}/fontTools/varLib/iup.c
${PYSITELIB}/fontTools/varLib/iup.py
${PYSITELIB}/fontTools/varLib/iup.pyc
${PYSITELIB}/fontTools/varLib/iup.pyo
+${PYSITELIB}/fontTools/varLib/iup.so
${PYSITELIB}/fontTools/varLib/merger.py
${PYSITELIB}/fontTools/varLib/merger.pyc
${PYSITELIB}/fontTools/varLib/merger.pyo
Index: pkgsrc/fonts/py-fonttools/distinfo
diff -u pkgsrc/fonts/py-fonttools/distinfo:1.57 pkgsrc/fonts/py-fonttools/distinfo:1.58
--- pkgsrc/fonts/py-fonttools/distinfo:1.57 Wed Apr 27 09:43:23 2022
+++ pkgsrc/fonts/py-fonttools/distinfo Wed Sep 7 15:13:52 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.57 2022/04/27 09:43:23 adam Exp $
+$NetBSD: distinfo,v 1.58 2022/09/07 15:13:52 adam Exp $
-BLAKE2s (fonttools-4.33.3.zip) = 838a5a2e261d64200fc7b8e3b80dd17a8f8498a4e028c392c939c9ae490e0465
-SHA512 (fonttools-4.33.3.zip) = 9da24b91157872600e176428441b863c187424d3944c029e50653224c299736e6aa00c4e8d14fc89f4c724d1f719f3919349f0705639e942d000091cd54d8f74
-Size (fonttools-4.33.3.zip) = 4975226 bytes
+BLAKE2s (fonttools-4.37.1.zip) = e37e16d3cfcc3f424daf4f6afd03e0359b0f9436b8b051b3a138f1713bc8d79d
+SHA512 (fonttools-4.37.1.zip) = 430a882d532f4da7d32355acb21fdecf3a0edc3718b9129c7a9badd0654394bb6c432163f73a43fe5f7c7c350c5fdda711c6cfae666afd501ab5a3a8c153882d
+Size (fonttools-4.37.1.zip) = 5045910 bytes
Home |
Main Index |
Thread Index |
Old Index