Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled weekly dependency update for week 51 #71

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

fonttools 3.13.1 » 3.21.0 PyPI | Changelog | Repo

Changelogs

fonttools 3.13.1 -> 3.21.0

3.21.0


  • [cmap] when compiling format6 subtable, don't assume gid0 is always called
    '.notdef' (1e42224).
  • [ot] Allow decompiling fonts with bad Coverage format number (1aafae8).
  • Change FontTools licence to MIT (1127).
  • [post] Prune extra names already in standard Mac set (df1e8c7).
  • [subset] Delete empty SubrsIndex after subsetting (994, 1118).
  • [varLib] Don't share points in cvar by default, as it currently fails on
    some browsers (1113).
  • [afmLib] Make poor old afmLib work on python3.

3.20.1


  • [unicodedata] Fixed issue with script and script_extension functions
    returning inconsistent short vs long names. They both return the short four-
    letter script codes now. Added script_name and script_code functions
    to look up the long human-readable script name from the script code, and
    viceversa (1109, 1111).

3.20.0


  • [unicodedata] Addded new module fontTools.unicodedata which exports the
    same interface as the built-in unicodedata module, with the addition of
    a few functions that are missing from the latter, such as script,
    script_extension and block. Added a MetaTools/buildUCD.py script
    to download and parse data files from the Unicode Character Database and
    generate python modules containing lists of ranges and property values.
  • [feaLib] Added __str__ method to all ast elements (delegates to the
    asFea method).
  • [feaLib] Parser constructor now accepts a glyphNames iterable
    instead of glyphMap dict. The latter still works but with a pending
    deprecation warning (1104).
  • [bezierTools] Added arc length calculation functions originally from
    pens.perimeterPen module (1101).
  • [varLib] Started generating STAT table (8af4309). Right now it just reflects
    the axes, and even that with certain limitations:
  • AxisOrdering is set to the order axes are defined,
  • Name-table entries are not shared with fvar.
  • [py23] Added backports for redirect_stdout and redirect_stderr
    context managers (1097).
  • [Graphite] Fixed some round-trip bugs (1093).

3.19.0


  • [varLib] Try set of used points instead of all points when testing whether to
    share points between tuples (1090).
  • [CFF2] Fixed issue with reading/writing PrivateDict BlueValues to TTX file.
    Read the commit message 8b02b5a and issue 1030 for more details.
    NOTE: this change invalidates all the TTX files containing CFF2 tables
    that where dumped with previous verisons of fonttools.
    CFF2 Subr items can have values on the stack after the last operator, thus
    a CFF2Subr class was added to accommodate this (1091).
  • [_k_e_r_n] Fixed compilation of AAT kern version=1.0 tables (1089, 1094)
  • [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table
    class that returns a preferred Unicode cmap subtable given a list of options
    (1092).
  • [morx] Emit more meaningful subtable flags. Implement InsertionMorphAction

3.18.0


  • [feaLib] Fixed writing back nested glyph classes (1086).
  • [TupleVariation] Reactivated shared points logic, bugfixes (1009).
  • [AAT] Implemented morx ligature subtables (1082).
  • [reverseContourPen] Keep duplicate lineTo following a moveTo (1080,
    ReverseContourPen drops points cu2qu#51).
  • [varLib.mutator] Suport instantiation of GPOS, GDEF and MVAR (1079).
  • [sstruct] Fixed issue with unicode_literals and struct module in
    old versions of python 2.7 (993).

3.17.0


  • [svgPathPen] Added an SVGPathPen that translates segment pen commands
    into SVG path descriptions. Copied from Tal Leming's ufo2svg.svgPathPen
    https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
  • [reverseContourPen] Added ReverseContourPen, a filter pen that draws
    contours with the winding direction reversed, while keeping the starting
    point (1071).
  • [filterPen] Added ContourFilterPen to manipulate contours as a whole
    rather than segment by segment.
  • [arrayTools] Added Vector class to apply math operations on an array
    of numbers, and pairwise function to loop over pairs of items in an
    iterable.
  • [varLib] Added support for building and interpolation of cvar table
    (f874cf6, a25a401).

3.16.0


  • [head] Try using SOURCE_DATE_EPOCH environment variable when setting
    the head modified timestamp to ensure reproducible builds (1063).
    See https://reproducible-builds.org/specs/source-date-epoch/
  • [VTT] Decode VTT's TSI* tables text as UTF-8 (1060).
  • Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
    Thanks mhosken! (1054).
  • [varLib] Default to using axis "name" attribute if "labelname" element
    is missing (588f524).
  • [merge] Added support for merging Script records. Remove unused features
    and lookups after merge (d802580, 556508b).
  • Added fontTools.svgLib package. Includes a parser for SVG Paths that
    supports the Pen protocol (1051). Also, added a snippet to convert SVG
    outlines to UFO GLIF (1053).
  • [AAT] Added support for ankr, bsln, mort, morx, gcid,
    and cidg.
  • [subset] Implemented subsetting of prop, opbd, bsln, lcar.

3.15.1


  • [otConverters] Implemented __add__ and __radd__ methods on
    otConverters._LazyList that decompile a lazy list before adding
    it to another list or _LazyList instance. Fixes an AttributeError
    in the subset module when attempting to sum _LazyList objects
    (6ef48bd2, 1aef1683).
  • [AAT] Support the opbd table with optical bounds (a47f6588).
  • [AAT] Support prop table with glyph properties (d05617b4).

3.15.0


  • [AAT] Added support for AAT lookups. The lcar table can be decompiled
    and recompiled; futher work needed to handle morx table (1025).
  • [subset] Keep (empty) DefaultLangSys for Script 'DFLT' (6eb807b5).
  • [subset] Support GSUB/GPOS.FeatureVariations (fe01d87b).
  • [varLib] In models.supportScalars, ignore an axis when its peak value
    is 0 (fixes 1020).
  • [varLib] Add default mappings to all axes in avar to fix rendering issue
    in some rasterizers (19c4b377, 04eacf13).
  • [varLib] Flatten multiple tail PairPosFormat2 subtables before merging
    (c55ef525).
  • [ttLib] Added support for recalculating font bounding box in CFF and
    head tables, and min/max values in hhea and vhea tables (970).

3.14.0


  • [varLib.merger] Remove Extensions subtables before merging (f7c20cf8).
  • [varLib] Initialize the avar segment map with required default entries
    (1014).
  • [varLib] Implemented optimal IUP optmiziation (1019).
  • [otData] Add AxisValueFormat4 for STAT table v1.2 from OT v1.8.2
    (1015).
  • [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'.
  • [subset] Return value from _DehintingT2Decompiler.op_hintmask
    (c0d672ba).
  • [cffLib] Allow to get TopDict by index as well as by name (dca96c9c).
  • [cffLib] Removed global isCFF2 state; use one set of classes for
    both CFF and CFF2, maintaining backward compatibility existing code (1007).
  • [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1.
  • [cffLib] Added missing default (-100) for UnderlinePosition (983).
  • [feaLib] Enable setting nameIDs greater than 255 (1003).
  • [varLib] Recalculate ValueFormat when merging SinglePos (996).
  • [varLib] Do not emit MVAR if there are no entries in the variation store
    (987).
  • [ttx] For -x option, pad with space if table tag length is < 4.

That's it for now!

Happy merging! 🤖

@pyup-bot
Copy link
Contributor Author

Closing this in favor of #72

@pyup-bot pyup-bot closed this Dec 25, 2017
@anthrotype anthrotype deleted the pyup-scheduled-update-12-18-2017 branch December 25, 2017 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant