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

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

Branch: CURRENT, Version: 3.41.0, Package name: py37-fonttools-3.41.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/python37]

Required to build:

Master sites:

SHA1: f93d81b2a1df400cfe2624d246a2dde3d97b4d7e
RMD160: d851d16576a6bc5d154f9d699fb4014d714c6d19
Filesize: 2873.201 KB

Version history: (Expand)

CVS history: (Expand)

   2019-04-30 09:55:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fonttools: updated to 3.41.0

- [varLib/cffLib] Added support for building CFF2 variable font from sparse
  masters, or masters with more than one model (multiple VarStore.VarData).
  In cffLib.specializer, added support for CFF2 CharStrings with
  blend operators.
- [subset] Fixed subsetting HVAR and VVAR with --retain-gids option,
  and when advances mapping is null while sidebearings mappings are non-null
- Added otlLib.maxContextCalc module to compute OS/2.usMaxContext value.
  Calculate it automatically when compiling features with feaLib. Added option
  --recalc-max-context to subset module
- [otBase/otTables] Fixed AttributeError on missing OT table fields after
  importing font from TTX
- [Silf] Fixed typo Silf table's decompile method
- [otlLib] Better compress GPOS SinglePos (LookupType 1) subtables

- [subset] Fixed error while subsetting VVAR with --retain-gids
- [designspaceLib] Use up-to-date default location in findDefault method
- [voltLib] Allow passing file-like object to Parser.
- [arrayTools/glyf] calcIntBounds (used to compute bounding boxes of glyf
  table's glyphs) now uses otRound instead of round3
- [svgLib] Added support for converting more SVG shapes to path d strings
  (ellipse, line, polyline), as well as support for transform attributes.
  Only matrix transformations are currently supported
- [varLib] Added support for building VVAR table from vmtx and VORG
- [fontBuilder] Enable making CFF2 fonts with post table format 2
- Fixed DeprecationWarning on invalid escape sequences
   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

- [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
  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

- [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

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

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

- [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
- [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.

- [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
- 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

- [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

- [hmtx/vmtx]: Allow to compile/decompile hmtx and vmtx tables even
  without the corresponding (required) metrics header tables, hhea and
- [varLib] Added support for localized axes' labelname and named instances'

- [_m_a_x_p] Include maxComponentElements in maxp table's recalculation.

- [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.