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.37.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1067c3aad2d9
branches:  trunk
changeset: 385360:1067c3aad2d9
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 15 19:05:27 2022 +0000

description:
py-fonttools: updated to 4.37.2

4.37.2 (released 2022-09-15)
----------------------------

- [subset] Keep CPAL table and don't attempt to prune unused color indices if OT-SVG
  table is present even if COLR table was subsetted away; OT-SVG may be referencing the
  CPAL table; for now we assume that's the case
- [varLib.instancer] Downgrade GPOS/GSUB version if there are no more FeatureVariations
  after instancing
- [subset] Added ``--no-lazy`` to optionally load fonts eagerly (mostly to ease
  debugging of table lazy loading, no practical effects)
- [varLib] Avoid building empty COLR.DeltaSetIndexMap with only identity mappings
- [feaLib] Allow multiple value record types (by promoting to the most general format)
  within the same PairPos subtable; e.g. this allows variable and non variable kerning
  rules to share the same subtable. This also fixes a bug whereby some kerning pairs
  would become unreachable while shapiong because of premature subtable splitting
- [feaLib] Speed up ``VarScalar`` by caching models for recurring master locations
- [feaLib] Optionally cythonize ``feaLib.lexer``, speeds up parsing FEA a bit
- [designspaceLib] Avoid crash when handling unbounded rule conditions
- [post] Don't crash if ``post`` legacy format 1 is malformed/improperly used
- [gvar] Don't be "lazy" (load all glyph variations up front) when TTFont.lazy=False
- [TTFont] Added ``normalizeLocation`` method to normalize a location dict from the
  font's defined axes space (also known as "user space") into the normalized (-1..+1)
  space. It applies ``avar`` mapping if the font contains an ``avar`` table
- [TTVarGlyphSet] Support drawing glyph instances from CFF2 variable glyph set
- [fontBuilder] Do not error when building cmap if there are zero code points
- [varLib.plot] Added ability to plot a variation model and set of accompaning master
  values corresponding to the model's master locations into a pyplot figure
- [Snippets] Added ``statShape.py`` script to draw statistical shape of a glyph as an
  ellips (requires pycairo) (baecd88).
- [TTVarGlyphSet] implement drawPoints natively, avoiding going through
  SegmentToPointPen
- [TTVarGlyphSet] Fixed bug whereby drawing a composite glyph multiple times, its
  components would shif; needed an extra copy

diffstat:

 fonts/py-fonttools/Makefile |  4 ++--
 fonts/py-fonttools/PLIST    |  7 ++++++-
 fonts/py-fonttools/distinfo |  8 ++++----
 3 files changed, 12 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 088eda9abe85 -r 1067c3aad2d9 fonts/py-fonttools/Makefile
--- a/fonts/py-fonttools/Makefile       Thu Sep 15 17:56:44 2022 +0000
+++ b/fonts/py-fonttools/Makefile       Thu Sep 15 19:05:27 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2022/09/07 15:13:52 adam Exp $
+# $NetBSD: Makefile,v 1.81 2022/09/15 19:05:27 adam Exp $
 
-DISTNAME=      fonttools-4.37.1
+DISTNAME=      fonttools-4.37.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    fonts python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/FontTools/}
diff -r 088eda9abe85 -r 1067c3aad2d9 fonts/py-fonttools/PLIST
--- a/fonts/py-fonttools/PLIST  Thu Sep 15 17:56:44 2022 +0000
+++ b/fonts/py-fonttools/PLIST  Thu Sep 15 19:05:27 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.42 2022/09/07 15:13:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.43 2022/09/15 19:05:27 adam Exp $
 bin/fonttools-${PYVERSSUFFIX}
 bin/pyftmerge-${PYVERSSUFFIX}
 bin/pyftsubset-${PYVERSSUFFIX}
@@ -57,6 +57,9 @@
 ${PYSITELIB}/fontTools/cu2qu/__main__.py
 ${PYSITELIB}/fontTools/cu2qu/__main__.pyc
 ${PYSITELIB}/fontTools/cu2qu/__main__.pyo
+${PYSITELIB}/fontTools/cu2qu/benchmark.py
+${PYSITELIB}/fontTools/cu2qu/benchmark.pyc
+${PYSITELIB}/fontTools/cu2qu/benchmark.pyo
 ${PYSITELIB}/fontTools/cu2qu/cli.py
 ${PYSITELIB}/fontTools/cu2qu/cli.pyc
 ${PYSITELIB}/fontTools/cu2qu/cli.pyo
@@ -110,9 +113,11 @@
 ${PYSITELIB}/fontTools/feaLib/error.py
 ${PYSITELIB}/fontTools/feaLib/error.pyc
 ${PYSITELIB}/fontTools/feaLib/error.pyo
+${PYSITELIB}/fontTools/feaLib/lexer.c
 ${PYSITELIB}/fontTools/feaLib/lexer.py
 ${PYSITELIB}/fontTools/feaLib/lexer.pyc
 ${PYSITELIB}/fontTools/feaLib/lexer.pyo
+${PYSITELIB}/fontTools/feaLib/lexer.so
 ${PYSITELIB}/fontTools/feaLib/location.py
 ${PYSITELIB}/fontTools/feaLib/location.pyc
 ${PYSITELIB}/fontTools/feaLib/location.pyo
diff -r 088eda9abe85 -r 1067c3aad2d9 fonts/py-fonttools/distinfo
--- a/fonts/py-fonttools/distinfo       Thu Sep 15 17:56:44 2022 +0000
+++ b/fonts/py-fonttools/distinfo       Thu Sep 15 19:05:27 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.58 2022/09/07 15:13:52 adam Exp $
+$NetBSD: distinfo,v 1.59 2022/09/15 19:05:27 adam Exp $
 
-BLAKE2s (fonttools-4.37.1.zip) = e37e16d3cfcc3f424daf4f6afd03e0359b0f9436b8b051b3a138f1713bc8d79d
-SHA512 (fonttools-4.37.1.zip) = 430a882d532f4da7d32355acb21fdecf3a0edc3718b9129c7a9badd0654394bb6c432163f73a43fe5f7c7c350c5fdda711c6cfae666afd501ab5a3a8c153882d
-Size (fonttools-4.37.1.zip) = 5045910 bytes
+BLAKE2s (fonttools-4.37.2.zip) = 2958ad126f8e24d9c79bfbccf9a162369890c448251076be7dc8da6b694c298a
+SHA512 (fonttools-4.37.2.zip) = 8a0717cb7ea2f96ea7f7e859a13b22e8dc3cdfeb5f3c71f1b363cb8bfeef89a37dbba926674ad315ce48262b653768b8dcc96e74990972fdf6467418b1ebe5fe
+Size (fonttools-4.37.2.zip) = 5058561 bytes



Home | Main Index | Thread Index | Old Index