pkgsrc/fonts/py-fonttools/Makefile
adam 18ff7bf5ee py-fonttools: updated to 4.24.4
4.24.4 (released 2021-05-25)
----------------------------

- [subset/instancer] Fixed ``AttributeError`` when instantiating a VF that
  contains GPOS ValueRecords with ``Device`` tables but without the respective
  non-Device values (e.g. ``XAdvDevice`` without ``XAdvance``). When not
  explicitly set, the latter are assumed to be 0.

4.24.3 (released 2021-05-20)
----------------------------

- [otTables] Fixed ``AttributeError`` in methods that split LigatureSubst,
  MultipleSubst and AlternateSubst subtables when an offset overflow occurs.
  The ``Format`` attribute was removed in v4.22.0.

4.24.2 (released 2021-05-20)
----------------------------

- [ttGlyphPen] Fixed typing annotation of TTGlyphPen glyphSet parameter.
- Fixed two instances of DeprecationWarning: invalid escape sequence.

4.24.1 (released 2021-05-20)
----------------------------

- [subset] Fixed AttributeError when SinglePos subtable has None Value (ValueFormat 0)

4.24.0 (released 2021-05-17)
----------------------------

- [pens] Add ``ttGlyphPen.TTGlyphPointPen`` similar to ``TTGlyphPen``.

4.23.1 (released 2021-05-14)
----------------------------

- [subset] Fix ``KeyError`` after subsetting ``COLR`` table that initially contains
  both v0 and v1 color glyphs when the subset only requested v1 glyphs; we were
  not pruning the v0 portion of the table.
- [colorLib] Set ``LayerV1List`` attribute to ``None`` when empty, it's optional
  in CORLv1.

4.23.0 (released 2021-05-13)
----------------------------

- [designspaceLib] Allow to use ``\\UNC`` absolute paths on Windows.
- [varLib.merger] Fixed bug where ``VarLibMergeError`` was raised with incorrect
  parameters.
- [feaLib] Allow substituting a glyph class with ``NULL`` to delete multiple glyphs
 .
- [glyf] Fixed ``NameError`` exception in ``getPhantomPoints``.
- [removeOverlaps] Retry pathops.simplify after rounding path coordinates to integers
  if it fails the first time using floats, to work around a rare and hard to debug
  Skia bug.
- [varLib] Added support for building, reading, writing and optimizing 32-bit
  ``ItemVariationStore`` as used in COLRv1 table.
- [otBase/otConverters] Add array readers/writers for int types.
- [feaLib] Allow more than one lookahead glyph/class in contextual positioning with
  "value at end".
- [COLRv1] Default varIdx should be 0xFFFFFFFF.
- [pens] Make RecordingPointPen actually pass on identifiers; replace asserts with
  explicit ``PenError`` exception.
- [mutator] Round lsb for CF2 fonts as well.

4.22.1 (released 2021-04-26)
----------------------------

- [feaLib] Skip references to named lookups if the lookup block definition
  is empty, similarly to makeotf. This also fixes an ``AttributeError`` while
  generating ``aalt`` feature.
- [subset] Fixed bug with ``--no-hinting`` implementation for Device tables.
  The previous code was alwyas dropping Device tables if no-hinting was
  requested, but some Device tables (DeltaFormat=0x8000) are also used to encode
  variation indices and need to be retained.
- [otBase] Fixed bug in getting the ValueRecordSize when decompiling ``MVAR``
  table with ``lazy=True``.
- [varLib/glyf/gvar] Optimized and simplified ``GlyphCoordinates`` and
  ``TupleVariation`` classes, use ``bytearray`` where possible, refactored
  phantom-points calculations. We measured about 30% speedup in total time
  of loading master ttfs, building gvar, and saving.
- [subset] Fixed ``AssertionError`` while pruning unused CPAL palettes when
  ``0xFFFF`` is present.

4.22.0 (released 2021-04-01)
----------------------------

- [ttLib] Remove .Format from Coverage, ClassDef, SingleSubst, LigatureSubst,
  AlternateSubst, MultipleSubst.
  ATTENTION: This will change your TTX dumps!
- [misc.arrayTools] move Vector to its own submodule, and rewrite as a tuple
  subclass.
- [docs] Added a terminology section for varLib.
- [varLib] Move rounding to VariationModel, to avoid error accumulation from
  multiple deltas
- [varLib] Explain merge errors in more human-friendly terms
- [otlLib] Correct some documentation
- [varLib/otlLib] Allow merging into VariationFont without first saving GPOS
  PairPos2
- [subset] Improve PairPosFormat2 subsetting
- [ttLib] TTFont.save: create file on disk as late as possible
- [cffLib] Add missing CFF2 dict operators LanguageGroup and ExpansionFactor
  ATTENTION: This will change your TTX dumps!
2021-06-01 05:29:23 +00:00

41 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2021/06/01 05:29:23 adam Exp $
DISTNAME= fonttools-4.24.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/fonttools/fonttools
COMMENT= Library for manipulating fonts
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
TEST_DEPENDS+= ${PYPKGPREFIX}-fs-[0-9]*:../../filesystems/py-fs
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
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.
SUBST_FILES.man+= setup.py
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
post-install:
.for bin in fonttools pyftmerge pyftsubset ttx
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
${MV} ttx.1 ttx-${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"