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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7bfea3630b77
branches:  trunk
changeset: 427056:7bfea3630b77
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 11 07:21:37 2020 +0000

description:
py-fonttools: updated to 4.7.0

4.7.0:
- [cu2qu] Added ``fontTools.cu2qu`` package, imported from the original
  `cu2qu <https://github.com/googlefonts/cu2qu>`__ project. The ``cu2qu.pens`` module
  was moved to ``fontTools.pens.cu2quPen``. The optional cu2qu extension module
  can be compiled by installing `Cython <https://cython.org/>` before installing
  fonttools from source (i.e. git repo or sdist tarball). The wheel package that
  is published on PyPI (i.e. the one ``pip`` downloads, unless ``--no-binary``
  option is used), will continue to be pure-Python for now

4.6.0:
- [varLib] Added support for building variable ``BASE`` table version 1.1
- [CPAL] Added ``fromRGBA`` method to ``Color`` class

4.5.0:
- [designspaceLib] Added ``add{Axis,Source,Instance,Rule}Descriptor`` methods to
  ``DesignSpaceDocument`` class, to initialize new descriptor objects using keyword
  arguments, and at the same time append them to the current document
- [unicodedata] Update to Unicode 13.0

4.4.3:
- [varLib] Always build ``gvar`` table for TrueType-flavored Variable Fonts,
  even if it contains no variation data. The table is required according to
  the OpenType spec

4.4.2:
- [ttx] Annotate ``LookupFlag`` in XML dump with comment explaining what bits
  are set and what they mean
- [feaLib] Added more descriptive message to ``IncludedFeaNotFound`` error

4.4.1:
- [woff2] Skip normalizing ``glyf`` and ``loca`` tables if these are missing from
  a font (e.g. in NotoColorEmoji using ``CBDT/CBLC`` tables).
- [timeTools] Use non-localized date parsing in ``timestampFromString``, to fix
  error when non-English ``LC_TIME`` locale is set
- [fontBuilder] Make sure the CFF table generated by fontBuilder can be used by varLib
  without having to compile and decompile the table first. This was breaking in
  converting the CFF table to CFF2 due to some unset attributes

4.4.0:
- [colorLib] Added ``fontTools.colorLib.builder`` module, initially with ``buildCOLR``
  and ``buildCPAL`` public functions. More color font formats will follow
- [fontBuilder] Added ``setupCOLR`` and ``setupCPAL`` methods
- [ttGlyphPen] Quantize ``GlyphComponent.transform`` floats to ``F2Dot14`` to fix
  round-trip issue when computing bounding boxes of transformed components
- [glyf] If a component uses reference points (``firstPt`` and ``secondPt``) for
  alignment (instead of X and Y offsets), compute the effective translation offset
  *after* having applied any transform
- [glyf] When all glyphs have zero contours, compile ``glyf`` table data as a single
  null byte in order to pass validation by OTS and Windows
- [feaLib] Parsing feature code now ensures that referenced glyph names are part of
  the known glyph set, unless a glyph set was not provided.
- [varLib] When filling in the default axis value for a missing location of a source or
  instance, correctly map the value forward.
- [varLib] The avar table can now contain mapping output values that are greater than
  OR EQUAL to the preceeding value, as the avar specification allows this.
- [varLib] The errors of the module are now ordered hierarchically below VarLibError.

4.3.0:
- [EBLC/CBLC] Fixed incorrect padding length calculation for Format 3 IndexSubTable
- [varLib] Fixed error when merging OTL tables and TTFonts were loaded as ``lazy=True``
- [varLib] Allow to use master fonts containing ``CFF2`` table when building VF
- [ttLib] Make ``recalcBBoxes`` option work also with ``CFF2`` table
- [feaLib] Don't reset ``lookupflag`` in lookups defined inside feature blocks.
  They will now inherit the current ``lookupflag`` of the feature. This is what
  Adobe ``makeotf`` also does in this case
- [feaLib] Fixed bug with mixed single/multiple substitutions. If a single substitution
  involved a glyph class, we were incorrectly using only the first glyph in the class

4.2.5:
- [feaLib] Do not fail on duplicate multiple substitutions, only warn
- [subset] Optimize SinglePos subtables to Format 1 if all ValueRecords are the same

diffstat:

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

diffs (101 lines):

diff -r da96c8d41a49 -r 7bfea3630b77 fonts/py-fonttools/Makefile
--- a/fonts/py-fonttools/Makefile       Sat Apr 11 07:14:27 2020 +0000
+++ b/fonts/py-fonttools/Makefile       Sat Apr 11 07:21:37 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2020/01/26 09:24:15 adam Exp $
+# $NetBSD: Makefile,v 1.61 2020/04/11 07:21:37 adam Exp $
 
-DISTNAME=      fonttools-4.2.4
+DISTNAME=      fonttools-4.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    fonts python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/FontTools/}
diff -r da96c8d41a49 -r 7bfea3630b77 fonts/py-fonttools/PLIST
--- a/fonts/py-fonttools/PLIST  Sat Apr 11 07:14:27 2020 +0000
+++ b/fonts/py-fonttools/PLIST  Sat Apr 11 07:21:37 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2019/12/14 10:35:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.28 2020/04/11 07:21:37 adam Exp $
 bin/fonttools-${PYVERSSUFFIX}
 bin/pyftmerge-${PYVERSSUFFIX}
 bin/pyftsubset-${PYVERSSUFFIX}
@@ -30,6 +30,34 @@
 ${PYSITELIB}/fontTools/cffLib/width.py
 ${PYSITELIB}/fontTools/cffLib/width.pyc
 ${PYSITELIB}/fontTools/cffLib/width.pyo
+${PYSITELIB}/fontTools/colorLib/__init__.py
+${PYSITELIB}/fontTools/colorLib/__init__.pyc
+${PYSITELIB}/fontTools/colorLib/__init__.pyo
+${PYSITELIB}/fontTools/colorLib/builder.py
+${PYSITELIB}/fontTools/colorLib/builder.pyc
+${PYSITELIB}/fontTools/colorLib/builder.pyo
+${PYSITELIB}/fontTools/colorLib/errors.py
+${PYSITELIB}/fontTools/colorLib/errors.pyc
+${PYSITELIB}/fontTools/colorLib/errors.pyo
+${PYSITELIB}/fontTools/cu2qu/__init__.py
+${PYSITELIB}/fontTools/cu2qu/__init__.pyc
+${PYSITELIB}/fontTools/cu2qu/__init__.pyo
+${PYSITELIB}/fontTools/cu2qu/__main__.py
+${PYSITELIB}/fontTools/cu2qu/__main__.pyc
+${PYSITELIB}/fontTools/cu2qu/__main__.pyo
+${PYSITELIB}/fontTools/cu2qu/cli.py
+${PYSITELIB}/fontTools/cu2qu/cli.pyc
+${PYSITELIB}/fontTools/cu2qu/cli.pyo
+${PYSITELIB}/fontTools/cu2qu/cu2qu.c
+${PYSITELIB}/fontTools/cu2qu/cu2qu.py
+${PYSITELIB}/fontTools/cu2qu/cu2qu.pyc
+${PYSITELIB}/fontTools/cu2qu/cu2qu.pyo
+${PYSITELIB}/fontTools/cu2qu/errors.py
+${PYSITELIB}/fontTools/cu2qu/errors.pyc
+${PYSITELIB}/fontTools/cu2qu/errors.pyo
+${PYSITELIB}/fontTools/cu2qu/ufo.py
+${PYSITELIB}/fontTools/cu2qu/ufo.pyc
+${PYSITELIB}/fontTools/cu2qu/ufo.pyo
 ${PYSITELIB}/fontTools/designspaceLib/__init__.py
 ${PYSITELIB}/fontTools/designspaceLib/__init__.pyc
 ${PYSITELIB}/fontTools/designspaceLib/__init__.pyo
@@ -87,6 +115,9 @@
 ${PYSITELIB}/fontTools/misc/cliTools.py
 ${PYSITELIB}/fontTools/misc/cliTools.pyc
 ${PYSITELIB}/fontTools/misc/cliTools.pyo
+${PYSITELIB}/fontTools/misc/cython.py
+${PYSITELIB}/fontTools/misc/cython.pyc
+${PYSITELIB}/fontTools/misc/cython.pyo
 ${PYSITELIB}/fontTools/misc/dictTools.py
 ${PYSITELIB}/fontTools/misc/dictTools.pyc
 ${PYSITELIB}/fontTools/misc/dictTools.pyo
@@ -186,6 +217,9 @@
 ${PYSITELIB}/fontTools/pens/cocoaPen.py
 ${PYSITELIB}/fontTools/pens/cocoaPen.pyc
 ${PYSITELIB}/fontTools/pens/cocoaPen.pyo
+${PYSITELIB}/fontTools/pens/cu2quPen.py
+${PYSITELIB}/fontTools/pens/cu2quPen.pyc
+${PYSITELIB}/fontTools/pens/cu2quPen.pyo
 ${PYSITELIB}/fontTools/pens/filterPen.py
 ${PYSITELIB}/fontTools/pens/filterPen.pyc
 ${PYSITELIB}/fontTools/pens/filterPen.pyo
@@ -637,6 +671,9 @@
 ${PYSITELIB}/fontTools/varLib/cff.py
 ${PYSITELIB}/fontTools/varLib/cff.pyc
 ${PYSITELIB}/fontTools/varLib/cff.pyo
+${PYSITELIB}/fontTools/varLib/errors.py
+${PYSITELIB}/fontTools/varLib/errors.pyc
+${PYSITELIB}/fontTools/varLib/errors.pyo
 ${PYSITELIB}/fontTools/varLib/featureVars.py
 ${PYSITELIB}/fontTools/varLib/featureVars.pyc
 ${PYSITELIB}/fontTools/varLib/featureVars.pyo
diff -r da96c8d41a49 -r 7bfea3630b77 fonts/py-fonttools/distinfo
--- a/fonts/py-fonttools/distinfo       Sat Apr 11 07:14:27 2020 +0000
+++ b/fonts/py-fonttools/distinfo       Sat Apr 11 07:21:37 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.40 2020/01/26 09:24:15 adam Exp $
+$NetBSD: distinfo,v 1.41 2020/04/11 07:21:37 adam Exp $
 
-SHA1 (fonttools-4.2.4.zip) = 6791d6675b5a5b5549ae47d77522f265a955cd53
-RMD160 (fonttools-4.2.4.zip) = 5c63b7a76a17ebf0cd5f5dc94b8ab8bbe85a4c8e
-SHA512 (fonttools-4.2.4.zip) = 452e75d8c7900482d8e5747f5742f87762eea89ba6db45e2978a16383a842784d406fd7b6c92e44d122f78a964ac3fa6f866ddbcb0d97a96b096a6798c430b65
-Size (fonttools-4.2.4.zip) = 3740303 bytes
+SHA1 (fonttools-4.7.0.zip) = 6c27cffd7f42175bf762ac60cb3be0a5f0be8576
+RMD160 (fonttools-4.7.0.zip) = 758023bdc3cd2e5f3b92b50be4a1b9e267d60bb6
+SHA512 (fonttools-4.7.0.zip) = bc70973d8f705fe708337ddfa3a33761b3e6ea091060ece8999f22b1b24d4d3f7b0e0329d6ba72fb900ee06f0de9e4dbe414e3e01d7c7078d7dc1569a0894ea5
+Size (fonttools-4.7.0.zip) = 3892191 bytes



Home | Main Index | Thread Index | Old Index