pkgsrc/fonts/py-fonttools/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

py-fonttools: updated to 3.43.0 3.43.1 (released 2019-06-19) - [subset] Fixed regression when passing --flavor=woff2 option with an input font that was already compressed as WOFF 1.0 3.43.0 (released 2019-06-18) - [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed glyf and loca tables, as well as with transformed hmtx table. Removed Snippets/woff2_compress.py and Snippets/woff2_decompress.py scripts, and replaced them with a new console entry point fonttools ttLib.woff2 that provides two sub-commands compress and decompress. - [varLib.cff] Fixed bug when merging CFF2 PrivateDicts. The PrivateDict data from the first region font was incorrecty used for all subsequent fonts. The bug would only affect variable CFF2 fonts with hinting Also, fixed a merging bug when VF masters have no blends or marking glyphs - [loggingTools] Removed unused backport of LastResortLogger class. - [subset] Gracefully handle partial MATH table - [featureVars] Avoid duplicate references to rvrn feature record in DefaultLangSys tables when calling addFeatureVariations on a font that does not already have a GSUB table (aa8a5bc6). - [varLib] Fixed merging of class-based kerning. Before, the process could introduce rogue kerning values and variations for random classes against class zero (everything not otherwise classed). - [varLib] Fixed merging GPOS tables from master fonts with different number of SinglePos subtables - [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1. 3.42.0 (released 2019-05-28) - [OS/2] Fixed sign of fsType: it should be uint16, not int16 - [subset] Skip out-of-range class values in mark attachment - [fontBuilder] Add an empty DSIG table with setupDummyDSIG method - [varLib.merger] Fixed bug whereby GDEF.GlyphClassDef were being dropped when generating instance via varLib.mutator - [varLib] Added command-line options -v and -q to configure logging - [subset] Update font extents in head table - [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph - [requirements] Updated unicodedata2 backport for Unicode 12.0. 3.41.2 (released 2019-05-13) - [cffLib] Fixed issue when importing a CFF2 variable font from XML, whereby the VarStore state was not propagated to PrivateDict - [varLib] Don't drop post glyph names when building CFF2 variable font 3.41.1 (released 2019-05-13) - [designspaceLib] Added loadSourceFonts method to load source fonts using custom opener function - [head] Round font bounding box coordinates to integers to fix compile error if CFF font has float coordinates - [feaLib] Don't write None in ast.ValueRecord.asFea() - [subset] Fixed issue AssertionError when using --desubroutinize option - [graphite] Fixed bug in Silf table's decompile method unmasked by previous typo fix decompile method
2019-07-04 14:09:08 +02:00
# $NetBSD: Makefile,v 1.58 2019/07/04 12:09:08 adam Exp $
py-fonttools: updated to 3.43.0 3.43.1 (released 2019-06-19) - [subset] Fixed regression when passing --flavor=woff2 option with an input font that was already compressed as WOFF 1.0 3.43.0 (released 2019-06-18) - [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed glyf and loca tables, as well as with transformed hmtx table. Removed Snippets/woff2_compress.py and Snippets/woff2_decompress.py scripts, and replaced them with a new console entry point fonttools ttLib.woff2 that provides two sub-commands compress and decompress. - [varLib.cff] Fixed bug when merging CFF2 PrivateDicts. The PrivateDict data from the first region font was incorrecty used for all subsequent fonts. The bug would only affect variable CFF2 fonts with hinting Also, fixed a merging bug when VF masters have no blends or marking glyphs - [loggingTools] Removed unused backport of LastResortLogger class. - [subset] Gracefully handle partial MATH table - [featureVars] Avoid duplicate references to rvrn feature record in DefaultLangSys tables when calling addFeatureVariations on a font that does not already have a GSUB table (aa8a5bc6). - [varLib] Fixed merging of class-based kerning. Before, the process could introduce rogue kerning values and variations for random classes against class zero (everything not otherwise classed). - [varLib] Fixed merging GPOS tables from master fonts with different number of SinglePos subtables - [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1. 3.42.0 (released 2019-05-28) - [OS/2] Fixed sign of fsType: it should be uint16, not int16 - [subset] Skip out-of-range class values in mark attachment - [fontBuilder] Add an empty DSIG table with setupDummyDSIG method - [varLib.merger] Fixed bug whereby GDEF.GlyphClassDef were being dropped when generating instance via varLib.mutator - [varLib] Added command-line options -v and -q to configure logging - [subset] Update font extents in head table - [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph - [requirements] Updated unicodedata2 backport for Unicode 12.0. 3.41.2 (released 2019-05-13) - [cffLib] Fixed issue when importing a CFF2 variable font from XML, whereby the VarStore state was not propagated to PrivateDict - [varLib] Don't drop post glyph names when building CFF2 variable font 3.41.1 (released 2019-05-13) - [designspaceLib] Added loadSourceFonts method to load source fonts using custom opener function - [head] Round font bounding box coordinates to integers to fix compile error if CFF font has float coordinates - [feaLib] Don't write None in ast.ValueRecord.asFea() - [subset] Fixed issue AssertionError when using --desubroutinize option - [graphite] Fixed bug in Silf table's decompile method unmasked by previous typo fix decompile method
2019-07-04 14:09:08 +02:00
DISTNAME= fonttools-3.43.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
2017-11-06 14:34:30 +01:00
HOMEPAGE= https://github.com/fonttools/fonttools
COMMENT= Library for manipulating fonts
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
TEST_DEPENDS+= ${PYPKGPREFIX}-fs-[0-9]*:../../filesystems/py-fs
py-fonttools: updated to 3.35.2 3.35.2: - [hmtx/vmtx]: Allow to compile/decompile hmtx and vmtx tables even without the corresponding (required) metrics header tables, hhea and vhea - [varLib] Added support for localized axes' labelname and named instances' stylename. 3.35.1: - [_m_a_x_p] Include maxComponentElements in maxp table's recalculation. 3.35.0: - [psCharStrings] In encodeFloat function, use float's "general format" with 8 digits of precision (i.e. %8g) instead of str(). This works around a macOS rendering issue when real numbers in CFF table are too long, and also makes sure that floats are encoded with the same precision in python 2.7 and 3.x. - [_n_a_m_e/fontBuilder] Make _n_a_m_e_table.addMultilingualName also add Macintosh (platformID=1) names by default. Added options to FontBuilder setupNameTable method to optionally disable Macintosh or Windows names. - [varLib] Make build optionally accept a DesignSpaceDocument object, instead of a designspace file path. The caller can now set the font attribute of designspace's sources to a TTFont object, thus allowing to skip filenames manipulation altogether. - [sfnt] Allow SFNTReader objects to be deep-copied. - Require typing>=3.6.4 on py27 to fix issue with singledispatch. - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were not accepted. - [varLib] Fixed merging of multiple PairPosFormat2 subtables. - [varLib] The default STAT table version is now set to 1.1, to improve compatibility with legacy applications
2019-01-16 09:40:39 +01:00
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
py-fonttools: updated to 3.35.2 3.35.2: - [hmtx/vmtx]: Allow to compile/decompile hmtx and vmtx tables even without the corresponding (required) metrics header tables, hhea and vhea - [varLib] Added support for localized axes' labelname and named instances' stylename. 3.35.1: - [_m_a_x_p] Include maxComponentElements in maxp table's recalculation. 3.35.0: - [psCharStrings] In encodeFloat function, use float's "general format" with 8 digits of precision (i.e. %8g) instead of str(). This works around a macOS rendering issue when real numbers in CFF table are too long, and also makes sure that floats are encoded with the same precision in python 2.7 and 3.x. - [_n_a_m_e/fontBuilder] Make _n_a_m_e_table.addMultilingualName also add Macintosh (platformID=1) names by default. Added options to FontBuilder setupNameTable method to optionally disable Macintosh or Windows names. - [varLib] Make build optionally accept a DesignSpaceDocument object, instead of a designspace file path. The caller can now set the font attribute of designspace's sources to a TTFont object, thus allowing to skip filenames manipulation altogether. - [sfnt] Allow SFNTReader objects to be deep-copied. - Require typing>=3.6.4 on py27 to fix issue with singledispatch. - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were not accepted. - [varLib] Fixed merging of multiple PairPosFormat2 subtables. - [varLib] The default STAT table version is now set to 1.1, to improve compatibility with legacy applications
2019-01-16 09:40:39 +01:00
PYSETUPTESTTARGET= pytest
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:
cd ${DESTDIR}${PREFIX}/bin && \
for i in fonttools pyftmerge pyftsubset ttx; do \
py-fonttools: updated to 3.32.0 3.32.0: - [ufoLib] Make UFOWriter a subclass of UFOReader, and use mixins for shared methods - [featureVars] Fixed normalization error when a condition's minimum/maximum attributes are missing in designspace <rule> - [setup.py] Added [plot] to extras, to optionally install matplotlib, needed to use the fonTools.varLib.plot module. - [varLib] Take total bounding box into account when resolving model. If multiple axes have the same range ratio, cut across both. - [subset] Don't error if STAT has no AxisValue tables. - [fontBuilder] Added a new submodule which contains a FontBuilder wrapper class around TTFont that makes it easier to create a working TTF or OTF font from scratch with code. NOTE: the API is still experimental and may change in future versions. 3.31.0: - [ufoLib] Merged the ufoLib <https://github.com/unified-font-objects/ufoLib>__ master branch into a new fontTools.ufoLib package Moved ufoLib.pointPen module to fontTools.pens.pointPen. Moved ufoLib.etree module to fontTools.misc.etree. Moved ufoLib.plistlib module to fontTools.misc.plistlib. To use the new fontTools.ufoLib module you need to install fonttools with the [ufo] extra, or you can manually install the required additional dependencies (cf. README.rst). - [morx] Support AAT action type to insert glyphs and clean up compilation of AAT action tables. - [subset] The --no-hinting on a CFF font now also drops the optional hinting keys in Private dict: ForceBold, LanguageGroup, and ExpansionFactor - [subset] Include nameIDs referenced by STAT table - [loggingTools] Added msg=None argument to CapturingLogHandler.assertRegex. - [varLib.mutator] Implemented FeatureVariations instantiation - [g_l_y_f] Added PointPen support to _TTGlyph objects
2018-11-02 10:59:31 +01:00
${MV} $${i} $${i}-${PYVERSSUFFIX}; \
done
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
py-fonttools: updated to 3.32.0 3.32.0: - [ufoLib] Make UFOWriter a subclass of UFOReader, and use mixins for shared methods - [featureVars] Fixed normalization error when a condition's minimum/maximum attributes are missing in designspace <rule> - [setup.py] Added [plot] to extras, to optionally install matplotlib, needed to use the fonTools.varLib.plot module. - [varLib] Take total bounding box into account when resolving model. If multiple axes have the same range ratio, cut across both. - [subset] Don't error if STAT has no AxisValue tables. - [fontBuilder] Added a new submodule which contains a FontBuilder wrapper class around TTFont that makes it easier to create a working TTF or OTF font from scratch with code. NOTE: the API is still experimental and may change in future versions. 3.31.0: - [ufoLib] Merged the ufoLib <https://github.com/unified-font-objects/ufoLib>__ master branch into a new fontTools.ufoLib package Moved ufoLib.pointPen module to fontTools.pens.pointPen. Moved ufoLib.etree module to fontTools.misc.etree. Moved ufoLib.plistlib module to fontTools.misc.plistlib. To use the new fontTools.ufoLib module you need to install fonttools with the [ufo] extra, or you can manually install the required additional dependencies (cf. README.rst). - [morx] Support AAT action type to insert glyphs and clean up compilation of AAT action tables. - [subset] The --no-hinting on a CFF font now also drops the optional hinting keys in Private dict: ForceBold, LanguageGroup, and ExpansionFactor - [subset] Include nameIDs referenced by STAT table - [loggingTools] Added msg=None argument to CapturingLogHandler.assertRegex. - [varLib.mutator] Implemented FeatureVariations instantiation - [g_l_y_f] Added PointPen support to _TTGlyph objects
2018-11-02 10:59:31 +01:00
${MV} ttx.1 ttx-${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"