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: Sat Dec 14 10:35:17 UTC 2019
Modified Files:
pkgsrc/fonts/py-fonttools: Makefile PLIST distinfo
Log Message:
py-fonttools: updated to 4.2.2
4.2.2:
- [subset] Fixed issue with subsetting FeatureVariations table when the index
of features changes as features get dropped. The feature index need to be
remapped to point to index of the remaining features.
- [fontBuilder] Added `addFeatureVariations` method to `FontBuilder` class. This
is a shorthand for calling `featureVars.addFeatureVariations` on the builder's
TTFont object.
- [glyf] Fixed the flags bug in glyph.drawPoints() like we did for glyph.draw()
4.2.1:
- [glyf] Use the ``flagOnCurve`` bit mask in ``glyph.draw()``, so that we ignore
the ``overlap`` flag that may be set when instantiating variable fonts.
4.2.0:
- [pens] Added the following pens:
* ``roundingPen.RoundingPen``: filter pen that rounds coordinates and components'
offsets to integer;
* ``roundingPen.RoundingPointPen``: like the above, but using PointPen protocol.
* ``filterPen.FilterPointPen``: base class for filter point pens;
* ``transformPen.TransformPointPen``: filter point pen to apply affine transform;
* ``recordingPen.RecordingPointPen``: records and replays point-pen commands.
- [ttGlyphPen] Always round float coordinates and component offsets to integers
.
- [ufoLib] When converting kerning groups from UFO2 to UFO3, avoid confusing
groups with the same name as one of the glyphs
4.1.0:
- [instancer] Implemented restricting axis ranges (level 3 partial instancing).
You can now pass ``{axis_tag: (min, max)}`` tuples as input to the
``instantiateVariableFont`` function. Note that changing the default axis
position is not supported yet. The command-line script also accepts axis ranges
in the form of colon-separated float values, e.g. ``wght=400:700``.
- [instancer] Never drop STAT ``DesignAxis`` records, but only prune out-of-range
``AxisValue`` records.
- [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even
when regions list is empty to appease OTS < v8.0.
- [designspaceLib] Defined new ``processing`` attribute for ``<rules>`` element,
with values "first" or "last", plus other editorial changes to DesignSpace
specification. Bumped format version to 4.1.
- [varLib] Improved error message when masters' glyph orders do not match
- [featureVars] Allow to specify custom feature tag in ``addFeatureVariations``;
allow said feature to already exist, in which case we append new lookup indices
to existing features. Implemented ``<rules>`` attribute ``processing`` according to
DesignSpace specification update in. Depending on this flag, we generate
either an 'rvrn' (always processed first) or a 'rclt' feature (follows lookup order,
therefore last).
- [ttCollection] Added support for context manager auto-closing via ``with`` statement
like with ``TTFont``.
- [unicodedata] Require unicodedata2 >= 12.1.0.
- [py2.py3] Removed yet more PY2 vestiges.
- [_n_a_m_e] Fixed issue when comparing NameRecords with different string types.
- [fixedTools] Changed ``fixedToFloat`` to not do any rounding but simply return
``value / (1 << precisionBits)``. Added ``floatToFixedToStr`` and
``strToFixedToFloat`` functions to be used when loading from or dumping to XML.
Fixed values (e.g. fvar axes and instance coordinates, avar mappings, etc.) are
are now stored as un-rounded decimal floats upon decompiling.
- [feaLib] Fixed handling of multiple ``LigatureCaret`` statements for the same glyph.
Only the first rule per glyph is used, additional ones are ignored.
4.0.2:
- [voltLib] Added support for ``ALL`` and ``NONE`` in ``PROCESS_MARKS``.
- [Silf] Fixed issue in ``Silf`` table compilation and decompilation regarding str vs
bytes in python3.
- [merge] Handle duplicate glyph names better: instead of appending font index to
all glyph names, use similar code like we use in ``post`` and ``CFF`` tables.
4.0.1:
- [otTables] Support fixing offset overflows in ``MultipleSubst`` lookup subtables
- [subset] Prune empty strikes in ``EBDT`` and ``CBDT`` table data.
- [pens] Fixed issue in ``PointToSegmentPen`` when last point of closed contour has
same coordinates as the starting point and was incorrectly dropped.
- [Graphite] Fixed ``Sill`` table output to pass OTS.
- [name] Added ``removeNames`` method to ``table__n_a_m_e`` class.
- [ttLib] Added aliases for renamed entries ``ascender`` and ``descender`` in
``hhea`` table.
4.0.0:
- NOTE: The v4.x version series only supports Python 3.6 or greater. You can keep
using fonttools 3.x if you need support for Python 2.
- [py23] Removed all the python2-only code since it is no longer reachable, thus
unused; only the Python3 symbols were kept, but these are no-op. The module is now
DEPRECATED and will removed in the future.
- [ttLib] Fixed UnboundLocalError for empty loca/glyph tables. Also, allow
the glyf table to be incomplete when dumping to XML.
- [varLib.models] Fixed KeyError while sorting masters and there are no on-axis for
a given axis (38a8eb0e).
- [cffLib] Make sure glyph names are unique.
- [feaLib] Fix feature parser to correctly handle octal numbers
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/fonts/py-fonttools/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/fonts/py-fonttools/PLIST
cvs rdiff -u -r1.38 -r1.39 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.58 pkgsrc/fonts/py-fonttools/Makefile:1.59
--- pkgsrc/fonts/py-fonttools/Makefile:1.58 Thu Jul 4 12:09:08 2019
+++ pkgsrc/fonts/py-fonttools/Makefile Sat Dec 14 10:35:17 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2019/07/04 12:09:08 adam Exp $
+# $NetBSD: Makefile,v 1.59 2019/12/14 10:35:17 adam Exp $
-DISTNAME= fonttools-3.43.1
+DISTNAME= fonttools-4.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
@@ -20,6 +20,8 @@ USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 4.0.0
+
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
Index: pkgsrc/fonts/py-fonttools/PLIST
diff -u pkgsrc/fonts/py-fonttools/PLIST:1.26 pkgsrc/fonts/py-fonttools/PLIST:1.27
--- pkgsrc/fonts/py-fonttools/PLIST:1.26 Tue Apr 30 07:55:33 2019
+++ pkgsrc/fonts/py-fonttools/PLIST Sat Dec 14 10:35:17 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2019/04/30 07:55:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2019/12/14 10:35:17 adam Exp $
bin/fonttools-${PYVERSSUFFIX}
bin/pyftmerge-${PYVERSSUFFIX}
bin/pyftsubset-${PYVERSSUFFIX}
@@ -213,6 +213,9 @@ ${PYSITELIB}/fontTools/pens/reportLabPen
${PYSITELIB}/fontTools/pens/reverseContourPen.py
${PYSITELIB}/fontTools/pens/reverseContourPen.pyc
${PYSITELIB}/fontTools/pens/reverseContourPen.pyo
+${PYSITELIB}/fontTools/pens/roundingPen.py
+${PYSITELIB}/fontTools/pens/roundingPen.pyc
+${PYSITELIB}/fontTools/pens/roundingPen.pyo
${PYSITELIB}/fontTools/pens/statisticsPen.py
${PYSITELIB}/fontTools/pens/statisticsPen.pyc
${PYSITELIB}/fontTools/pens/statisticsPen.pyo
@@ -637,6 +640,9 @@ ${PYSITELIB}/fontTools/varLib/cff.pyo
${PYSITELIB}/fontTools/varLib/featureVars.py
${PYSITELIB}/fontTools/varLib/featureVars.pyc
${PYSITELIB}/fontTools/varLib/featureVars.pyo
+${PYSITELIB}/fontTools/varLib/instancer.py
+${PYSITELIB}/fontTools/varLib/instancer.pyc
+${PYSITELIB}/fontTools/varLib/instancer.pyo
${PYSITELIB}/fontTools/varLib/interpolatable.py
${PYSITELIB}/fontTools/varLib/interpolatable.pyc
${PYSITELIB}/fontTools/varLib/interpolatable.pyo
Index: pkgsrc/fonts/py-fonttools/distinfo
diff -u pkgsrc/fonts/py-fonttools/distinfo:1.38 pkgsrc/fonts/py-fonttools/distinfo:1.39
--- pkgsrc/fonts/py-fonttools/distinfo:1.38 Thu Jul 4 12:09:08 2019
+++ pkgsrc/fonts/py-fonttools/distinfo Sat Dec 14 10:35:17 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.38 2019/07/04 12:09:08 adam Exp $
+$NetBSD: distinfo,v 1.39 2019/12/14 10:35:17 adam Exp $
-SHA1 (fonttools-3.43.1.zip) = d1e9204262298983088e2fdffe1154b8ff20cda7
-RMD160 (fonttools-3.43.1.zip) = dacfc694e2dd4297a2e20db6a665afcbd78b7d7b
-SHA512 (fonttools-3.43.1.zip) = 3cb44b084f8ed2c2a948e89022656095928821bd323d698c6c393d15bae837ae149105c7e95ff8761e9735f5f777c00db5ed5e4f917b1289e6c33f4e406b3b46
-Size (fonttools-3.43.1.zip) = 3037094 bytes
+SHA1 (fonttools-4.2.2.zip) = 8425da95bd6e375c56e00b822bfc211b8bc21935
+RMD160 (fonttools-4.2.2.zip) = 193eeb85f40a8cc814be9392f8130dee1a25dc88
+SHA512 (fonttools-4.2.2.zip) = 2534eacbd2dc844de34b5d422cc89e66ed7ce58e36df2f9de59414d9fe8743744cd82faa1de6da3849d0bc07d6ba1bc4b8bd709b2db42a53afb9c2e131e9cf33
+Size (fonttools-4.2.2.zip) = 3739029 bytes
Home |
Main Index |
Thread Index |
Old Index