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

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


Branch: CURRENT, Version: 3.33.0, Package name: py27-fonttools-3.33.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: f9a2dd97d4d761ca2634a77f61ea5758843e2e59
RMD160: 22a4c855ab4a3b6f0bda07fd659f0ae6a094a109
Filesize: 2695.668 KB

Version history: (Expand)


CVS history: (Expand)


   2018-12-05 16:42:55 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.33.0

3.33.0:
- [subset] subsetter bug fix with variable fonts.
- [varLib.featureVar] Improve FeatureVariations generation with many rules.
- [varLib] Enable sparse masters when buildirg variable fonts.
- [varLib.mutator] Add IDEF for GETVARIATION opcode, for handling hints in an
  instance.
- [ttLib] Ignore the length of kern table subtable format 0
   2018-11-02 10:59:31 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
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-09-24 11:38:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.30.0

3.30.0:
- Skip building noop class PairPos subtables when Coverage is NULL
- Expose the previously reserved bit flag OVERLAP_SIMPLE of
  glyf table's contour points in the TTX dump. This is used in some
  implementations to specify a non-zero fill with overlapping contours.
- Added support for decompiling/compiling TS1C tables containing
  VTT sources for cvar variation table.
- Use fontTools.designspaceLib to read DesignSpaceDocument. The
  fontTools.varLib.designspace module is now deprecated and will be removed
  in future versions. The presence of an explicit axes element is now
  required in order to build a variable font.
- Implemented building GSUB FeatureVariations table from the rules
  element of DesignSpace document
- Added --no-layout-closure option to not expand the subset with
  the glyphs produced by OpenType layout features. Instead, OpenType features
  will be subset to only rules that are relevant to the otherwise-specified
  glyph setpy-fonttools: updated to 3.30.0
   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