* Sun Jun 11 2023 dmuellerAATTsuse.com- update to 4.39.4: * [varLib.interpolatable] Allow for sparse masters (#3075) * [merge] Handle differing default/nominalWidthX in CFF (#3070) * [ttLib] Add missing main.py file to ttLib package (#3088) * [ttx] Fix missing composite instructions in XML (#3092) * [ttx] Fix split tables option to work on filenames containing \'%\' (#3096) * [featureVars] Process lookups for features other than rvrn last (#3099) * [feaLib] support multiple substitution with classes (#3103) * Fri Apr 21 2023 dmuellerAATTsuse.com- add sle15_python_module_pythons (jsc#PED-68) * Thu Mar 30 2023 dmuellerAATTsuse.com- update to 4.39.3: * [sbix] Fixed TypeError when compiling empty glyphs whose imageData is None * [ttFont] Fixed AttributeError on python <= 3.10 when opening a TTFont from a tempfile * SpooledTemporaryFile, seekable method only added on python 3.11 (#3052). * [varLib] Fixed regression introduced in 4.39.1 whereby an incomplete \'STAT\' table would be built even though a DesignSpace v5 did contain \'STAT\' definitions (#3045, #3046). * [avar2] Added experimental support for reading/writing avar version 2 as specified in this draft proposal: https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2.md * [glifLib] Wrap underlying XML library exceptions with GlifLibError when parsing GLIFs, and also print the name and path of the glyph that fails to be parsed (#3042). * [feaLib] Consult avar for normalizing user-space values in ConditionSets and in VariableScalars (#3042, #3043). * [ttProgram] Handle string input to Program.fromAssembly() (#3038). * [otlLib] Added a config option to emit GPOS 7 lookups, currently disabled by default because of a macOS bug (#3034). * [COLRv1] Added method to automatically compute ClipBoxes (#3027). * [ttFont] Fixed getGlyphID to raise KeyError on missing glyphs instead of returning None. * [sbix] Fixed UnboundLocalError: cannot access local variable \'rawdata\' (#3031). * [varLib] When building VF, do not overwrite a pre-existing ``STAT`` table that was built with feaLib from FEA feature file. Also, added support for building multiple VFs defined in Designspace v5 from ``fonttools varLib`` script * [mtiLib] Only add ``Debg`` table with lookup names when ``FONTTOOLS_LOOKUP_DEBUGGING`` env variable is set (#3023). * [mtiLib] Optionally add `Debg` debug info for MTI feature builds (#3018). * [ttx] Support reading input file from standard input using special `-` character, similar to existing `-o -` option to write output to standard output (#3020). * [cython] Prevent ``cython.compiled`` raise AttributeError if cython not installed properly (#3017). * [OS/2] Guard against ZeroDivisionError when calculating xAvgCharWidth in the unlikely scenario no glyph has non-zero advance (#3015). * [subset] Recompute xAvgCharWidth independently of --no-prune- unicode-ranges, previously the two options were involuntarily bundled together (#3012). * [fontBuilder] Add ``debug`` parameter to addOpenTypeFeatures method to add source debugging information to the font in the ``Debg`` private table (#3008). * [name] Make NameRecord `__lt__` comparison not fail on Unicode encoding errors (#3006). * [featureVars] Fixed bug in ``overlayBox`` (#3003, #3005). * [glyf] Added experimental support for cubic bezier curves in TrueType glyf table, as outlined in glyf v1 proposal (#2988): * Added new qu2cu module and related qu2cuPen, the reverse of cu2qu for converting TrueType quadratic splines to cubic bezier curves (#2993). * [glyf] Added experimental support for reading and writing Variable Composites/Components as defined in glyf v1 spec proposal (#2958): * [pens]: Added `addVarComponent` method to pen protocols\' base classes, which pens can implement to handle varcomponents * [misc.transform] Added DecomposedTransform class which implements an affine transformation with separate translate, rotation, scale, skew, and transformation-center components (#2598) * [sbix] Ensure Glyph.referenceGlyphName is set; fixes error after dumping and re-compiling sbix table with \'dupe\' glyphs (#2984). * [feaLib] Be cleverer when merging chained single substitutions into same lookup when they are specified using the inline notation (#2150, #2974). * [instancer] Clamp user-inputted axis ranges to those of fvar (#2959). * [otBase/subset] Define ``__getstate__`` for BaseTable so that a copied/pickled \'lazy\' object gets its own OTTableReader to read from; incidentally fixes a bug while subsetting COLRv1 table containing ClipBoxes on python 3.11 * [sbix] Handle glyphs with \"dupe\" graphic type on compile correctly (#2963). * [glyf] ``endPointsOfContours`` field should be unsigned! Kudos to behdad for spotting one of the oldest bugs in FT. Probably nobody has ever dared to make glyphs with more than 32767 points... (#2957). * [feaLib] Fixed handling of ``ignore`` statements with unmarked glyphs to match makeotf behavior, which assumes the first glyph is marked * Reformatted code with ``black`` and enforce new code style via CI check (#2925). * [feaLib] Sort name table entries following OT spec prescribed order in the builder (#2927). * [cu2quPen] Add Cu2QuMultiPen that converts multiple outlines at a time in interpolation compatible way; its methods take a list of tuples arguments that would normally be passed to individual segment pens, and at the end it dispatches the converted outlines to each pen (#2912). * [reverseContourPen/ttGlyphPen] Add outputImpliedClosingLine option * [gvar] Avoid expanding all glyphs unnecessarily upon compile * [scaleUpem] Fixed bug whereby CFF2 vsindex was scaled; it should not (#2893, #2894). * [designspaceLib] Add DS.getAxisByTag and refactor getAxis (#2891). * [unicodedata] map Zmth<->math in ot_tag_{to,from}_script (#1737, #2889). * [woff2] Support encoding/decoding OVERLAP_SIMPLE glyf flags (#2576, #2884). * [instancer] Update OS/2 class and post.italicAngle when default moved (L4) * Dropped support for Python 3.7 which reached EOL, fontTools requires 3.8+. * [instancer] Fixed instantiateFeatureVariations logic when a rule range becomes default-applicable (#2737, #2880). * [ttLib] Add main to ttFont and ttCollection that just decompile and re-compile the input font (#2869). * [featureVars] Insert \'rvrn\' lookup at the beginning of LookupList, to work around bug in Apple implementation of \'rvrn\' feature which the spec says it should be processed early whereas on macOS 10.15 it follows lookup order (#2140, * [instancer/mutator] Remove \'DSIG\' table if present. * [svgPathPen] Don\'t close path in endPath(), assume open unless closePath() (#2089, #2865). * Thu Feb 16 2023 mceplAATTsuse.com- Dependencies for testing on sympy and ufoLib2 are actually not necessary (the test suite automatically skips affected tests), and scipy could be replaced by much less demanding munkres package. * Tue Nov 22 2022 iAATTmarguerite.su- Update to 4.38.0 * [varLib.instancer] Added support for L4 instancing, i.e. moving the default value of an axis while keeping it variable. * [otlLib/featureVars] Set a few Count values so one doesn\'t need to compile the font to update them * [varLib.models] Make extrapolation work for 2-master models as well where one master is at the default location Add optional extrapolate=False to normalizeLocation() * [varLib.cff] Fixed sub-optimal packing of CFF2 deltas by no longer rounding them to integer * [scaleUpem] Calculate numShorts in VarData after scale; handle CFF hintmasks * Mon Aug 29 2022 pirateclipAATTprotonmail.com- Update to 4.37.1 * [subset] Fixed regression introduced with v4.37.0 while subsetting the VarStore of HVAR and VVAR tables, whereby an AttributeError: subset_varidxes was thrown because an apparently unused import statement (with the side-effect of dynamically binding that subset_varidxes method to the VarStore class) had been accidentally deleted in an unrelated PR * [pens] Added cairoPen * [gvar] Read gvar more lazily by not parsing all of the glyf table * [ttGlyphSet] Make drawPoints(pointPen) method work for CFF fonts as well via adapter pen * [cff.specializer] Fixed issue in charstring generalizer with the blend operator * [varLib.models] Added support for extrapolation * [ttGlyphSet] Ensure the newly added _TTVarGlyphSet inherits from _TTGlyphSet to keep backward compatibility with existing API * [kern] Allow compiling legacy kern tables with more than 64k entries * [visitor] Added new visitor API to traverse tree of objects and dispatch based on the attribute type: cf. fontTools.misc.visitor and fontTools.ttLib.ttVisitor. Added fontTools.ttLib.scaleUpem module that uses the latter to change a font\'s units-per-em and scale all the related fields accordingly * Etc. https://github.com/fonttools/fonttools/compare/4.33.3...4.37.1 * Sat May 07 2022 rpmAATTfthiessen.de- Update to version 4.33.3 * designspaceLib: * Fixed typo in deepcopyExceptFonts method, preventing font references to be transferred * Fixed another typo in the name of Range dataclass\'s __post_init__ magic method- Update to version 4.33.2 * otBase: Make logging less verbose when harfbuzz fails to serialize Do not exit at the first failure but continue attempting to fix offset overflow error using the pure-python serializer even when the USE_HARFBUZZ_REPACKER option was explicitly set to True.- Update to version 4.33.1 * otlLib: Put back the FONTTOOLS_GPOS_COMPACT_MODE environment variable to fix regression in ufo2ft. This is deprecated and will be removed once ufo2ft gets updated to use the new config setup.- Update to version 4.33.0 * Added fontTools.misc.configTools module, a generic configuration system * Added fontTools.config module, a fontTools-specific configuration system using configTools above. * Attached a Config object to TTFont. * otlLib: * Replaced environment variable for GPOS compression level with an equivalent option using the new config system. * designspaceLib: * Incremented format version to 5.0 * Added discrete axes, variable fonts, STAT information, either design- or user-space location on instances. * Added fontTools.designspaceLib.split module to split a designspace into sub-spaces that interpolate and that represent the variable fonts listed in the document. * Made instance names optional and allow computing them from STAT data instead. * Added fontTools.designspaceLib.statNames module. * Allow instances to have the same location as a previously defined STAT label. * Deprecated some attributes: SourceDescriptor: copyLib, copyInfo, copyGroups, copyFeatures. InstanceDescriptor: kerning, info; glyphs: use rules or sparse sources. For both, location: use the more explicit designLocation. * varLib: * Added build_many to build several variable fonts from a single designspace document * Added fontTools.varLib.stat module to build STAT tables from a designspace document. * otBase: * Try to use the Harfbuzz Repacker for packing GSUB/GPOS tables when uharfbuzz python bindings are available * CFF/T2: * Ensure that pen.closePath() gets called for CFF2 charstrings * Handle implicit CFF2 closePath within T2OutlineExtractor * Tue Apr 12 2022 codeAATTbnavigator.de- Update to 4.32.0 * [otlLib] Disable GPOS7 optimization to work around bug in Apple CoreText. Always force Chaining GPOS8 for now (#2540). * [glifLib] Added outputImpliedClosingLine=False parameter to Glyph.draw(), to control behaviour of PointToSegmentPen (6b4e2e7). * [varLib.interpolatable] Check for wrong contour starting point (#2571). * [cffLib] Remove leftover GlobalState class and fix calls to TopDictIndex() (#2569, #2570). * [instancer] Clear AxisValueArray if it is empty after instantiating (#2563).- Release 4.31.2 * [varLib] fix instantiation of GPOS SinglePos values (#2555).- Release 4.31.1 * [subset] fix subsetting OT-SVG when glyph id attribute is on the root