./fonts/py-fonttools, Library for manipulating fonts

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.27.1, Package name: py27-fonttools-3.27.1, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[devel/py-test] [pkgtools/cwrappers]

Master sites:

SHA1: bc53a753d6daea9b7beb86861b2d29e2627d9ecc
RMD160: 008ffd7fd76af32b97949863becf84701b44fcf9
Filesize: 2519.001 KB

Version history: (Expand)


CVS history: (Expand)


   2018-06-15 10:26:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.27.1

3.27.1:
Issue a warning and skip building non-existing components
Fixed issue when running ttx_test.py from a tagged commit.
   2018-05-11 16:38:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fonttools: updated to 3.26.0

3.26.0:
- [designspace] Added a new optional layer attribute to the source element,
  and a corresponding layerName attribute to the SourceDescriptor
  object.
  Added conditionset element to the rule element to the spec, but not
  implemented in designspace reader/writer yet.
- [varLib.models] Refine modeling one last time.
- [otBase] Fixed sharing of tables referred to by different offset sizes
- [subset] Don't drop a GDEF that only has VarStore. Set to None
  empty Coverage tables in MarkGlyphSets.
- [varLib]: Added --master-finder command-line option.
- [varLib.mutator] Prune fvar nameIDs from instance's name table.
- [otTables] Allow decompiling bad ClassDef tables with invalid format, with
  warning.
- [varLib] Make STAT v1.2 and reuse nameIDs from fvar table.
- [varLib.plot] Show master locations. Set axis limits to -1, +1.
- [subset] Handle HVAR direct mapping. Passthrough 'cvar'.
  Added --font-number command-line option for collections.
- [t1Lib] Allow a text encoding to be specified when parsing a Type 1 font
  Added kind argument to T1Font constructor.
- [ttLib] Added context manager API to TTFont class, so it can be used in
  with statements to auto-close the file when exiting the context
   2018-04-09 12:54:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.25.0

3.25.0:
[varLib] Improved support-resolution algorithm. Previously, the on-axis masters \ 
would always cut the space. They don’t anymore. That’s more consistent, and \ 
fixes the main issue Erik showed at TYPO Labs 2017. Any varfont built that had \ 
an unusual master configuration will change when rebuilt
[varLib.models] Added a main() entry point, that takes positions and prints \ 
model results.
[varLib.plot] Added new module to plot a designspace’s VariationModel. \ 
Requires matplotlib.
[varLib.mutator] Added -o option to specify output file path
[otTables] Fixed IndexError while pruning of HVAR pre-write
[varLib.models] Convert delta array to floats if values overflows signed short \ 
integer
   2018-03-08 13:48:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fonttools: updated to 3.24.1

3.24.1:
[varLib] Don't remap the same DeviceTable twice in VarStore optimizer.
[varLib] Add --disable-iup option to fonttools varLib script, and a \ 
optimize=True keyword argument to varLib.build function, to optionally disable \ 
IUP optimization while building varfonts.
[ttCollection] Fixed issue while decompiling ttc with python3
   2018-03-02 12:37:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.24.0

3.24.0:
[ttGlyphPen] Decompose composite glyphs if any components' transform is too \ 
large to fit a F2Dot14 value, or clamp transform values that are (almost) equal \ 
to +2.0 to make them fit and avoid decomposing.
[ttx] Added new -g option to dump glyphs from the glyf table splitted as \ 
individual ttx files.
Copied ufoLib.filenames module to fontTools.misc.filenames, used for the ttx \ 
split-glyphs option .
[feaLib] Added support for cvParameters blocks in Character Variant feautures \ 
cv01-cv99.
[Snippets] Added checksum.py script to generate/check SHA1 hash of ttx files.
[varLib.mutator] Fixed issue while instantiating some variable fonts whereby the \ 
horizontal advance width computed from gvar phantom points could turn up to be \ 
negative.
[varLib/subset] Fixed issue with subsetting GPOS variation data not picking up \ 
ValueRecord Device objects (54fd71f).
[feaLib/voltLib] In all AST elements, the location is no longer a required \ 
positional argument, but an optional kewyord argument (defaults to None). This \ 
will make it easier to construct feature AST from code
   2018-03-01 10:00:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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-02-08 09:28:56 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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-01-10 08:42:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fonttools: updated to 3.21.2

3.21.2:
- [varLib] Fixed merging PairPos Format1/2 with missing subtables