Commit graph

44 commits

Author SHA1 Message Date
adam
954f40f563 py-fonttools: updated to 3.23.0
3.23.0:
[designspaceLib] Added an optional lib element to the designspace as a whole, as well as to the instance elements, to store arbitrary data in a property list dictionary, similar to the UFO’s lib. Added an optional font attribute to the SourceDescriptor, to allow operating on in-memory font objects.
[cffLib] Fixed issue with lazy-loading of attributes when attempting to set the CFF TopDict.Encoding.
[ttx] Fixed regression introduced in 3.22.0 that affected the split tables -s option.
[feaLib] Added IncludedFeaNotFound custom exception subclass, raised when an included feature file cannot be found.
[otTables] Changed VarIdxMap to use glyph names internally instead of glyph indexes. The old ttx dumps of HVAR/VVAR tables that contain indexes can still be imported.
[varLib] Implemented VarStore optimizer.
[subset] Implemented pruning of GDEF VarStore, HVAR and MVAR.
[sfnt] Restore backward compatiblity with numFonts attribute of SFNTReader object.
[merge] Initial support for merging LangSysRecords.
[ttCollection] don’t seek(0) when writing to possibly unseekable strems.
[subset] Keep all --name-IDs from 0 to 6 by default.
[cffLib] Added width module to calculate optimal CFF default and nominal glyph widths.
[varLib] Don’t fail if STAT already in the master fonts
2018-03-01 09:00:08 +00:00
adam
10e223f277 py-fonttools: updated to 3.22.0
3.22.0:
- [subset] Support subsetting endchar acting as seac-like components
  in CFF.
- [feaLib] Allow to build from pre-parsed ast.FeatureFile object.
  Added tables argument to only build some tables instead of all.
- [textTools] Replaced safeEval with ast.literal_eval.
- [feaLib] Added option to the parser to not resolve include statements.
- [ttLib] Added new ttCollection module to read/write TrueType and
  OpenType Collections. Exports a TTCollection class with a fonts
  attribute containing a list of TTFont instances, the methods save
  and saveXML, plus some list-like methods. The importXML method is
  not implemented yet.
- [unicodeadata] Added ot_tag_to_script function that converts from
  OpenType script tag to Unicode script code.
- Added new designspaceLib subpackage, originally from Erik Van Blokland's
  designSpaceDocument: https://github.com/LettError/designSpaceDocument
  NOTE: this is not yet used internally by varLib, and the API may be subject
  to changes.
- Added new FontTools icon images.
- [unicodedata] Added script_horizontal_direction function that returns
  either "LTR" or "RTL" given a unicode script code.
- [otConverters] Don't write descriptive name string as XML comment if the
  NameID value is 0 (== NULL).
- [unicodedata] Add ot_tags_from_script function to get the list of
  OpenType script tags associated with unicode script code.
- [feaLib] Don't error when "enumerated" kern pairs conflict with preceding
  single pairs; emit warning and chose the first value.
- [loggingTools] In CapturingLogHandler.assertRegex method, match the
  fully formatted log message.
- [sbix] Fixed TypeError when concatenating str and bytes.
- [bezierTools] Implemented cusp support and removed approximate_fallback
  arg in calcQuadraticArcLength. Added calcCubicArcLength
2018-02-08 08:28:56 +00:00
adam
f16dfc79cb py-fonttools: updated to 3.21.2
3.21.2:
- [varLib] Fixed merging PairPos Format1/2 with missing subtables
2018-01-10 07:42:17 +00:00
adam
58cf70d6a6 py-fonttools: updated to 3.21.1
3.21.1:
- [feaLib] Allow mixed single/multiple substitutions
- Added missing ``*.afm`` test assets to MAINFEST.in
- Fixed dumping ``SVG`` tables containing color palettes
2018-01-04 20:40:36 +00:00
adam
a2ab49236f py-fonttools: updated to 3.21.0
3.21.0:
[cmap] when compiling format6 subtable, don't assume gid0 is always called '.notdef'.
[ot] Allow decompiling fonts with bad Coverage format number.
Change FontTools licence to MIT.
[post] Prune extra names already in standard Mac set.
[subset] Delete empty SubrsIndex after subsetting.
[varLib] Don't share points in cvar by default, as it currently fails on some browsers.
[afmLib] Make poor old afmLib work on python3.
2017-12-22 06:07:42 +00:00
adam
d87159ed4f py-fonttools: updated to 3.20.1
3.20.1:
[unicodedata] Fixed issue with script and script_extension functions returning inconsistent short vs long names. They both return the short four- letter script codes now. Added script_name and script_code functions to look up the long human-readable script name from the script code, and viceversa.

3.20.0:
[unicodedata] Addded new module fontTools.unicodedata which exports the same interface as the built-in unicodedata module, with the addition of a few functions that are missing from the latter, such as script, script_extension and block. Added a MetaTools/buildUCD.py script to download and parse data files from the Unicode Character Database and generate python modules containing lists of ranges and property values.
[feaLib] Added __str__ method to all ast elements.
[feaLib] Parser constructor now accepts a glyphNames iterable instead of glyphMap dict. The latter still works but with a pending deprecation warning.
[bezierTools] Added arc length calculation functions originally from pens.perimeterPen module.
[varLib] Started generating STAT table (8af4309). Right now it just reflects the axes, and even that with certain limitations: * AxisOrdering is set to the order axes are defined, * Name-table entries are not shared with fvar.
[py23] Added backports for redirect_stdout and redirect_stderr context managers.
[Graphite] Fixed some round-trip bugs
2017-11-28 08:59:32 +00:00
adam
b05947055f py-fonttools: updated to 3.19.0
3.19.0:
[varLib] Try set of used points instead of all points when testing whether to share points between tuples.
[CFF2] Fixed issue with reading/writing PrivateDict BlueValues to TTX file. Read the commit message 8b02b5a and issue 1030 for more details. NOTE: this change invalidates all the TTX files containing CFF2 tables that where dumped with previous verisons of fonttools. CFF2 Subr items can have values on the stack after the last operator, thus a CFF2Subr class was added to accommodate this.
[_k_e_r_n] Fixed compilation of AAT kern version=1.0 tables
[ttLib] Added getBestCmap() convenience method to TTFont class and cmap table class that returns a preferred Unicode cmap subtable given a list of options.
[morx] Emit more meaningful subtable flags. Implement InsertionMorphAction
2017-11-07 13:29:35 +00:00
wiz
344d33ffe9 py-fonttools: follow redirect 2017-11-06 13:34:30 +00:00
adam
ebf621429a py-fonttools: updated to 3.18.0
3.18.0 (released 2017-10-30)
[feaLib] Fixed writing back nested glyph classes.
[TupleVariation] Reactivated shared points logic, bugfixes.
[AAT] Implemented morx ligature subtables.
[reverseContourPen] Keep duplicate lineTo following a moveTo.
[varLib.mutator] Suport instantiation of GPOS, GDEF and MVAR.
[sstruct] Fixed issue with unicode_literals and struct module in old versions of python 2.7
2017-10-30 18:24:50 +00:00
adam
a34999aa6b py-fonttools: update to 3.17.0
3.17.0:
- [svgPathPen] Added an ``SVGPathPen`` that translates segment pen commands
  into SVG path descriptions. Copied from Tal Leming's ``ufo2svg.svgPathPen``
  https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
- [reverseContourPen] Added ``ReverseContourPen``, a filter pen that draws
  contours with the winding direction reversed, while keeping the starting
  point.
- [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
  rather than segment by segment.
- [arrayTools] Added ``Vector`` class to apply math operations on an array
  of numbers, and ``pairwise`` function to loop over pairs of items in an
  iterable.
- [varLib] Added support for building and interpolation of ``cvar`` table
2017-10-17 18:45:27 +00:00
adam
29d759f420 py-fonttools: update to 3.16.0
3.16.0:
[head] Try using SOURCE_DATE_EPOCH environment variable when setting the head modified timestamp to ensure reproducible builds.
[VTT] Decode VTT’s TSI* tables text as UTF-8.
Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
[varLib] Default to using axis “name” attribute if “labelname” element is missing.
[merge] Added support for merging Script records. Remove unused features and lookups after merge.
Added fontTools.svgLib package. Includes a parser for SVG Paths that supports the Pen protocol. Also, added a snippet to convert SVG outlines to UFO GLIF.
[AAT] Added support for ankr, bsln, mort, morx, gcid, and cidg.
[subset] Implemented subsetting of prop, opbd, bsln, lcar.
2017-10-08 09:39:52 +00:00
khorben
3b8089dce0 Update fonts/py-fonttools to version 3.15.1
Changelog for this release:
- [otConverters] Implemented ``__add__`` and ``__radd__`` methods on
  ``otConverters._LazyList`` that decompile a lazy list before adding
  it to another list or ``_LazyList`` instance. Fixes an ``AttributeError``
  in the ``subset`` module when attempting to sum ``_LazyList`` objects
  (6ef48bd2, 1aef1683).
- [AAT] Support the `opbd` table with optical bounds (a47f6588).
- [AAT] Support `prop` table with glyph properties (d05617b4).
2017-10-02 22:42:47 +00:00
wiz
1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00
wiz
e88d9c7cc6 Add ALTERNATIVES file for py-fonttools. 2016-06-30 17:56:35 +00:00
wiz
303d07283c Updated py-fonttools to 3.0.
Make parallel-installable.

Changes to 2.4 not found, but now supports Python-3.x.
2016-06-30 17:56:14 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
agc
b9f9b025f5 Add SHA512 digests for distfiles for fonts category
Problems found locating distfiles:
	Package acroread7-chsfont: missing distfile acrobat7-fonts/chsfont.tar.gz
	Package acroread7-font-share: missing distfile acrobat7-fonts/korfont.tar.gz
	Package acroread7-korfont: missing distfile acrobat7-fonts/korfont.tar.gz
	Package acroread9-chtfont: missing distfile acrobat9-fonts/FontPack910_cht_i486-linux.tar.bz2
	Package acroread9-jpnfont: missing distfile acrobat9-fonts/FontPack910_jpn_i486-linux.tar.bz2
	Package cyberbase-ttf: missing distfile cyberbit-ttf/Cyberbase.ZIP
	Package cyberbit-ttf: missing distfile cyberbit-ttf/Cyberbit.ZIP
	Package pixel-sagas-startrek: missing distfile PS_Font_Fontana.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Montalban.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Probert.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Sternbach.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Trek_Arrowcaps.zip
	Package umefont-ttf: missing distfile umefont_560.tar.xz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 20:44:27 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
wiz
9958318af0 Update to 2.4:
TTX/FontTools Version 2.4
- Option to write to arbitrary files
- Better dump format for DSIG
- Better detection of OTF XML
- Fix issue with Apple's kern table format
- Fix mangling of TT glyph programs
- Fix issues related to mona.ttf
- Fix Windows Installer instructions
- Fix some modern MacOS issues
- Fix minor issues and typos
2014-01-19 17:45:51 +00:00
cheusov
4b97be0632 Bump revision for packages with changed CONFLICTS (PYTHON_SELF_CONFLICT) 2012-10-04 00:21:58 +00:00
cheusov
11c7685b77 CONFLICTS between python modules 2012-10-03 23:40:35 +00:00
asau
dfaf1eaae6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 18:28:15 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
939441dbe4 Add missing conditional PLIST for EGG_FILE. 2011-11-19 04:47:34 +00:00
obache
1a4046d2ef Update py-fonttools to 2.3
TTX/FontTools Version 2.3
* TrueType Collection (TTC) support
* Python 2.6 support
* Update Unicode data to 5.2.0
* Couple of bug fixes
2011-10-29 11:40:27 +00:00
tron
2ffbaf3d20 Remove "PYTHON_VERSIONS_ACCEPTED= 26 25 24" which is unnecessary
after Python 2.3 has been removed from "pkgsrc".

Approved by Thomas Klausner.
2009-09-23 09:54:45 +00:00
joerg
8d8653cb10 Fix Python 2.6, disable 2.3. 2009-07-16 15:11:37 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
wiz
0615f202fd Update to 2.2:
2.2:
The code now uses numpy. Unicode and Adobe data were updated. A
manual page was added.  Various bugs were fixed.

2.1:
Undocumented.
2009-02-22 12:29:42 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
joerg
dcf9829df2 py-Numeric needs Python 2.2+ 2006-06-02 23:38:10 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
b0c34ab32e Fix PLIST. Bump PKGREVISION. 2006-02-21 22:39:02 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
981f37c516 Fixed pkglint warnings about misquoted @comment in PLIST_SUBST. 2005-12-08 21:41:17 +00:00
rillig
6419e9879b Fixed PLIST quoting issue introduced by the recent "pkglint --autofix"
change.
2005-12-08 09:14:50 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
wiz
6301213966 Reset MAINTAINER -- he stopped working on pkgsrc. 2005-07-27 16:21:16 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
c1e24f7e2b Add RMD160 digests to the SHA1 ones. 2005-02-23 19:18:25 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
minskim
854df37cf8 Remove redundant PY_PATCHPLIST=yes. 2004-02-19 00:38:12 +00:00
minskim
6aa4d44012 Import py-fonttools from pkgsrc-wip. Packaged by Michal Pasternak and
modified by me.

FontTools is a library for manipulating fonts, written in Python.  It
supports TrueType, OpenType, AFM and to an extent Type 1 and some
Mac-specific formats.

This package also includes TTX: a tool to convert OpenType and TrueType
fonts to and from XML.
2004-02-19 00:22:41 +00:00