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

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


Branch: CURRENT, Version: 3.39.0, Package name: py27-fonttools-3.39.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: 9e212b11671f587aa63f1ebc73a22ca2c5f4e4d2
RMD160: 242e063e8353223839f8f825890bfe04577a9c5f
Filesize: 2793.985 KB

Version history: (Expand)


CVS history: (Expand)


   2019-03-27 07:33:09 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-fonttools: updated to 3.39.0

3.39.0:
- [ttLib/glyf] Raise more specific error when encountering recursive
  component references.
- [Doc/designspaceLib] Defined new public.skipExportGlyphs lib key.
- [varLib] Use vmtx to compute vertical phantom points; or hhea.ascent
  and head.unitsPerEM if vmtx is missing.
- [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
  toXML to improve readability of TTX dump.
- [varLib.plot] Added support for 2D plots with only 1 variation axis.
- [designspaceLib] Use axes maps when normalizing locations in
  DesignSpaceDocument, and when finding default source.
- [mutator] Set OVERLAP_SIMPLE and OVERLAP_COMPOUND glyf flags by
  default in instantiateVariableFont. Added --no-overlap cli option
  to disable this.
- [subset] Fixed subsetting VVAR table.
  Fixed subsetting an HVAR table that has an AdvanceWidthMap when the
  option --retain-gids is used.
- [feaLib] Added forceChained in MultipleSubstStatement.
  Fixed double indentation of subtable statement.
  Added support for subtable statement in more places than just PairPos
  lookups.
  Handle lookupflag 0 and lookupflag without a value.
- [varLib] In load_designspace, provide a default English name for the
  ital axis tag.
- Remove pyftinspect because it is unmaintained and bitrotted.
   2019-02-27 13:06:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.38.0

3.38.0:
- [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with
  CFF table.
- [subset] Fixed AttributeError when using --desubroutinize option.
  Also, fixed desubroutinizing bug when subrs contain hints.
- [CPAL] Make Color a subclass of namedtuple.
- [feaLib] Allow hyphen in glyph class names.
- [feaLib] Added 'tables' option to __main__.py.
- [feaLib] Add support for special-case contextual positioning formatting.
- [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into
  equivalent SVG paths.
- [Snippets] Added name-viewer.ipynb Jupyter notebook.
   2019-02-12 09:58:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.37.3

3.37.3:
- The previous release accidentally changed several files from Unix to DOS
  line-endings. Fix that.

3.37.2:
- [varLib] Temporarily revert the fix to load_masters(), which caused a
  crash in interpolate_layout() when deepcopy-ing OTFs.

3.37.1:
- [varLib] load_masters() now actually assigns the fonts it loads to the
  source.font attributes.
- [varLib] Fixed an MVAR table generation crash when sparse masters were
  involved.
- [voltLib] parse_coverage_() returns a tuple instead of an ast.Enum.
- [feaLib] A MarkClassDefinition inside a block is no longer doubly indented
  compared to the rest of the block.

3.37.0:
- [svgLib] Added support for converting elliptical arcs to cubic bezier curves
- [py23] Added backport for math.isfinite.
- [varLib] Apply HIDDEN flag to fvar axis if designspace axis has attribute
  hidden=1.
- Fixed "DeprecationWarning: invalid escape sequence" in Python 3.7.
- [voltLib] Fixed parsing glyph groups. Distinguish different PROCESS_MARKS.
  Accept COMPONENT glyph type.
- [feaLib] Distinguish missing value and explicit <NULL> for PairPos2
  format A. Round-trip useExtension keyword. Implemented
  ValueRecord.asFea method.
- [subset] Insert empty widths into hdmx when retaining gids
   2019-01-22 10:17:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fonttools: updated to 3.36.0

3.36.0:
- [ttx] Added --no-recalc-timestamp option to keep the original font's
  head.modified timestamp.
- [ttx/psCharStrings] Fixed issues while dumping and round-tripping CFF2 table
  with ttx.
- [voltLib] Fixed check for duplicate anchors. Don't try to read past
  the END operator in .vtp file.
- [varLib] Use sentinel value -0x8000 (-32768) to ignore post.underlineThickness
  and post.underlinePosition when generating MVAR deltas.
- [subset] Added --retain-gids option to subset font without modifying the
  current glyph indices.
- [ufoLib] Replace deprecated calls to getbytes and setbytes with new
  equivalent readbytes and writebytes calls. fs >= 2.2 no required.
- [varLib] Allow loading masters from TTX files as well
   2019-01-16 09:40:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2018-12-22 20:06:53 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-fonttools: really fix ALTERNATIVES :)
   2018-12-22 18:19:35 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
fonts/py-fonttools: fix ALTERNATIVES file

Fix ALTERNATIVES file syntax.

Bump PKGREVISION.
   2018-12-22 10:20:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fonttools: updated to 3.34.2

3.34.2
- [merge] Fixed AssertionError when none of the script tables in GPOS/GSUB have
  a DefaultLangSys record

3.34.1
- [varLib] Work around macOS rendering issue for composites without gvar entry