pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/py-fonttools py-fonttools: updated to 4.25.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/85dcd7a3cf7d
branches: trunk
changeset: 456475:85dcd7a3cf7d
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jul 30 12:55:42 2021 +0000
description:
py-fonttools: updated to 4.25.2
4.25.2 (released 2021-07-26)
----------------------------
- [COLRv1] Various changes to sync with the latest CORLv1 draft spec. In particular:
define COLR.VarIndexMap, remove/inline ColorIndex struct, add VarIndexBase to ``PaintVar*`` tables
add reduced-precicion specialized transform Paints;
define Angle as fraction of half circle encoded as F2Dot14;
use FWORD (int16) for all Paint center coordinates;
change PaintTransform to have an offset to Affine2x3;
- [ttLib] when importing XML, only set sfntVersion if the font has no reader and is empty
4.25.1 (released 2021-07-16)
----------------------------
- [ttGlyphPen] Fixed bug in ``TTGlyphPointPen``, whereby open contours (i.e. starting
with segmentType "move") would throw ``NotImplementedError``. They are now treated
as if they are closed, like with the ``TTGlyphPen``
4.25.0 (released 2021-07-05)
----------------------------
- [tfmLib] Added new library for parsing TeX Font Metric (TFM) files
- [TupleVariation] Make shared tuples order deterministic on python < 3.7 where
Counter (subclass of dict) doesn't remember insertion order
- [otData] Renamed COLRv1 structs to remove 'v1' suffix and match the updated draft
spec: 'LayerV1List' -> 'LayerList', 'BaseGlyphV1List' -> 'BaseGlyphList',
'BaseGlyphV1Record' -> 'BaseGlyphPaintRecord'
Added 8 new ``PaintScale*`` tables: with/without centers, uniform vs non-uniform.
Added ``*AroundCenter`` variants to ``PaintRotate`` and ``PaintSkew``: the default
versions no longer have centerX/Y, but default to origin.
``PaintRotate``, ``PaintSkew`` and ``PaintComposite`` formats were re-numbered.
NOTE: these are breaking changes; clients using the experimental COLRv1 API will
have to be updated
- [pointPens] Allow ``GuessSmoothPointPen`` to accept a tolerance. Fixed call to
``math.atan2`` with x/y parameters inverted. Sync the code with fontPens
- [post] Fixed parsing ``post`` table format 2.0 when it contains extra garbage
at the end of the stringData array
- [subset] drop empty features unless 'size' with FeatureParams table
- [otlLib] Added ``otlLib.optimize`` module; added GPOS compaction algorithm.
The compaction can be run on existing fonts with ``fonttools otlLib.optimize``
or using the snippet ``compact_gpos.py``. There's experimental support for
compacting fonts at compilation time using an environment variable, but that
might be removed later
diffstat:
fonts/py-fonttools/Makefile | 4 ++--
fonts/py-fonttools/PLIST | 14 +++++++++++++-
fonts/py-fonttools/distinfo | 10 +++++-----
3 files changed, 20 insertions(+), 8 deletions(-)
diffs (62 lines):
diff -r 5405a27ce43e -r 85dcd7a3cf7d fonts/py-fonttools/Makefile
--- a/fonts/py-fonttools/Makefile Fri Jul 30 12:49:17 2021 +0000
+++ b/fonts/py-fonttools/Makefile Fri Jul 30 12:55:42 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.70 2021/06/01 05:29:23 adam Exp $
+# $NetBSD: Makefile,v 1.71 2021/07/30 12:55:42 adam Exp $
-DISTNAME= fonttools-4.24.4
+DISTNAME= fonttools-4.25.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
diff -r 5405a27ce43e -r 85dcd7a3cf7d fonts/py-fonttools/PLIST
--- a/fonts/py-fonttools/PLIST Fri Jul 30 12:49:17 2021 +0000
+++ b/fonts/py-fonttools/PLIST Fri Jul 30 12:55:42 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2021/06/01 05:29:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.36 2021/07/30 12:55:42 adam Exp $
bin/fonttools-${PYVERSSUFFIX}
bin/pyftmerge-${PYVERSSUFFIX}
bin/pyftsubset-${PYVERSSUFFIX}
@@ -231,6 +231,15 @@
${PYSITELIB}/fontTools/otlLib/maxContextCalc.py
${PYSITELIB}/fontTools/otlLib/maxContextCalc.pyc
${PYSITELIB}/fontTools/otlLib/maxContextCalc.pyo
+${PYSITELIB}/fontTools/otlLib/optimize/__init__.py
+${PYSITELIB}/fontTools/otlLib/optimize/__init__.pyc
+${PYSITELIB}/fontTools/otlLib/optimize/__init__.pyo
+${PYSITELIB}/fontTools/otlLib/optimize/__main__.py
+${PYSITELIB}/fontTools/otlLib/optimize/__main__.pyc
+${PYSITELIB}/fontTools/otlLib/optimize/__main__.pyo
+${PYSITELIB}/fontTools/otlLib/optimize/gpos.py
+${PYSITELIB}/fontTools/otlLib/optimize/gpos.pyc
+${PYSITELIB}/fontTools/otlLib/optimize/gpos.pyo
${PYSITELIB}/fontTools/pens/__init__.py
${PYSITELIB}/fontTools/pens/__init__.pyc
${PYSITELIB}/fontTools/pens/__init__.pyo
@@ -333,6 +342,9 @@
${PYSITELIB}/fontTools/t1Lib/__init__.py
${PYSITELIB}/fontTools/t1Lib/__init__.pyc
${PYSITELIB}/fontTools/t1Lib/__init__.pyo
+${PYSITELIB}/fontTools/tfmLib.py
+${PYSITELIB}/fontTools/tfmLib.pyc
+${PYSITELIB}/fontTools/tfmLib.pyo
${PYSITELIB}/fontTools/ttLib/__init__.py
${PYSITELIB}/fontTools/ttLib/__init__.pyc
${PYSITELIB}/fontTools/ttLib/__init__.pyo
diff -r 5405a27ce43e -r 85dcd7a3cf7d fonts/py-fonttools/distinfo
--- a/fonts/py-fonttools/distinfo Fri Jul 30 12:49:17 2021 +0000
+++ b/fonts/py-fonttools/distinfo Fri Jul 30 12:55:42 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.49 2021/06/01 05:29:23 adam Exp $
+$NetBSD: distinfo,v 1.50 2021/07/30 12:55:42 adam Exp $
-SHA1 (fonttools-4.24.4.zip) = 6d1c999bcae5cee3251cb626e16ba048b4419e24
-RMD160 (fonttools-4.24.4.zip) = ab74b166b118fc2699b1d3835cf6d7d0324df47c
-SHA512 (fonttools-4.24.4.zip) = 4eaac9423df302f006ca80ea4ce58ea0e2762a2fecfd84fb117b50222ab3fc3a842c36e30fe7eba0f7200d15472ae3c6d5d38e3d9473e9bfbf07712ea9e6bba6
-Size (fonttools-4.24.4.zip) = 4434215 bytes
+SHA1 (fonttools-4.25.2.zip) = fa10938607999a3af0e1621649cf3e97c55d6563
+RMD160 (fonttools-4.25.2.zip) = e79aae90eaf97161e9d0b22044642e448cd5fcaf
+SHA512 (fonttools-4.25.2.zip) = 17abea04ccd7b54a730fca01a5266db679baa9225a3c0b9e75199e27cdc042873cd0bc9870ca71b2384cdc25b5007085618851b95e5f58fb9eab45bd06bed11c
+Size (fonttools-4.25.2.zip) = 4457054 bytes
Home |
Main Index |
Thread Index |
Old Index