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

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


Branch: CURRENT, Version: 3.29.0, Package name: py27-fonttools-3.29.0, 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:
[textproc/py-expat] [devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: db5b9ad5f81e74fff845a95b072236566cc44402
RMD160: 3386727c403a1972379835b77086c810796104d7
Filesize: 2530.561 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-05 12:10:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fonttools: updated to 3.29.0

3.29.0:
- [feaLib] In the OTL table builder, when the name table is excluded
  from the list of tables to be build, skip compiling featureNames blocks,
  as the records referenced in FeatureParams table don't exist.
- [otBase] Try ExtensionLookup if other offset-overflow methods fail.
- [feaLib] Added support for explicit subtable; break statements in
  PairPos lookups; previously these were ignored.
- [cffLib.specializer] Make sure the stack depth does not exceed maxstack - 1,
  so that a subroutinizer can insert subroutine calls.
- [otTables] Added support for fixing offset overflow errors occurring inside
  MarkBasePos subtables.
- [subset] Write the default output file extension based on --flavor option,
  or the value of TTFont.sfntVersion.
- [unicodedata] Updated Blocks, Scripts and ScriptExtensions for Unicode 11.
- [xmlWriter] Added context manager to XMLWriter class to autoclose file
  descriptor on exit.
- [psCharStrings] Optimize the charstring's bytecode by encoding as integers
  all float values that have no decimal portion.
- [ttFont] Fixed missing import of TTLibError exception.
- [feaLib] Allow any languages other than dflt under DFLT script.
   2018-07-05 15:13:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.28.0

3.28.0:
- [featureVars] Added experimental module to build FeatureVariations
  tables. Still needs to be hooked up to varLib.build
- [fixedTools] Added otRound to round floats to nearest integer towards
  positive Infinity. This is now used where we deal with visual data like X/Y
  coordinates, advance widths/heights, variation deltas, and similar
- [subset] Improved GSUB closure memoize algorithm.
- [varLib.models] Fixed regression in model resolution
- [feaLib.ast] Fixed error when converting SubtableStatement to string
- [varLib.mutator] Set OS/2.usWeightClass and usWidthClass, and
  post.italicAngle based on the 'wght', 'wdth' and 'slnt' axis values
- [py23/loggingTools] Don't automatically set logging.lastResort handler
  on py27. Moved LastResortLogger to the loggingTools module
   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