Cosimo Lupo
a8c09989bd
Merge pull request #2743 from fonttools/variable-colr-with-sweep-angle-bias
...
support proposed PaintSweepGradient's angles with +1.0 (180°) bias
2022-08-15 14:00:22 +01:00
Cosimo Lupo
e3aaf59084
Merge pull request #2734 from fonttools/instancer-bug
...
[instancer] Fix bug in _instantiateFeatureVariations()
2022-08-15 13:59:41 +01:00
Cosimo Lupo
1dffbae240
support proposed PaintSweepGradient's angles with +1.0 (180°) bias
...
In the upcoming draft of COLR spec, PaintSweepGradient's startAngle/endAngle are encoded with a +1.0 bias to allow for representation of a full +360° positive angle. Normal F2Dot14-fraction-of-half-circle angles can only represent angles between -360 <= angle < +360
This is a breaking change and will need to be coordinated with rendering implementations (at least FreeType/Skia).
2022-08-15 12:52:28 +02:00
Behdad Esfahbod
ec7057a56e
[visitor] Add visitor for TTFont
2022-08-14 14:43:11 -06:00
Behdad Esfahbod
87deecebe2
[ttFont] Add "recurse" argument to ensureDecompiled()
2022-08-14 14:42:21 -06:00
Behdad Esfahbod
688939394b
[varLib.models] Generate narrower tents
...
Based on https://github.com/fonttools/fonttools/pull/2218
but modify the general solver instead.
2022-08-14 14:00:09 -06:00
Behdad Esfahbod
449049a933
[mtiLib] Pad scriptTags with space
...
Fixes https://github.com/fonttools/fonttools/issues/1727
2022-08-14 13:05:53 -06:00
Behdad Esfahbod
cdc5307d1b
[merge] Use '.' instead of '#' in duplicate glyph names ( #2742 )
...
Fixes https://github.com/fonttools/fonttools/issues/1950
2022-08-14 12:49:35 -06:00
Behdad Esfahbod
33d51f52a7
[svgPathPen] Accept --variations
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
226761c8ed
[ttVarGlyphSet] Set glyph height
...
Untested
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
617e6ff3c7
[ttVarGlyphSet] Implement 'avar' mapping
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
37277ee86e
[glyphSet] Fix lsb offsetting
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
e1d8496d73
[TTVarGlyphSet] Use shallow glyph copying
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
125dbc64b5
[varLib.interpolatable] Use new ttGlyphSet var feature to open varfont
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
3ae5a673bc
[ttFont/ttGlyphSet] Add option to pass normalized locations
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
c148dc76e6
[ttFont/ttGlyphSet] Add API for drawing variable fonts
...
Fixes https://github.com/fonttools/fonttools/issues/1021
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
0d1550febe
[ttFont] Split TTGlyphSet code into ttGlyphSet.py
2022-08-14 12:08:12 -06:00
Behdad Esfahbod
9ebebcba6d
[gvar] Minor simplify
2022-08-14 12:07:54 -06:00
Behdad Esfahbod
260564a1e3
Lazy gvar ( #2741 )
...
* [gvar] Load variations lazily
Fixes https://github.com/fonttools/fonttools/issues/2740
2022-08-14 11:54:35 -06:00
Cosimo Lupo
bb6fd8d22e
Merge pull request #2730 from fonttools/varlib-pass-on-colr-layer-reuse-arg
...
[varlib.build_many] Pass on colr_layer_reuse
2022-08-14 11:44:20 +01:00
Behdad Esfahbod
6df779fd5d
[svgPen] Add main that prints SVG for input text
2022-08-13 15:23:10 -06:00
Behdad Esfahbod
52b28f9022
[statisticsPen] Avoid division-by-zero
2022-08-12 14:00:27 -06:00
Behdad Esfahbod
2963fa503a
[cffLib.widths] Fix off-by-one in values
...
Was wrong; didn't match the code block above it.
2022-08-09 21:44:08 -06:00
Behdad Esfahbod
13e592cadf
[instancer] Fix bug in _instantiateFeatureVariations()
...
Fixes https://github.com/fonttools/fonttools/issues/2733
2022-08-09 17:15:29 -06:00
Nikolaus Waxweiler
489eff6715
[varlib.build_many] Pass on colr_layer_reuse
2022-08-08 14:06:49 +01:00
Behdad Esfahbod
68b0509711
[varLib.AligningMerger] Try harder to make it work as a standalone merger
2022-08-04 13:22:00 -06:00
Behdad Esfahbod
287ac43212
[varLib.AligningMerger] Make it work as a standalone merger
2022-08-04 12:30:44 -06:00
Behdad Esfahbod
8fe672c6a2
Add misc.visitor.py
...
Fixes https://github.com/fonttools/fonttools/issues/1959
2022-07-31 12:27:09 -06:00
Garret Rieger
a33972da62
Use new uharfbuzz repack_with_tag if available.
2022-07-29 21:48:25 +00:00
Behdad Esfahbod
21d22ae30f
Merge pull request #2716 from fonttools/interpolatable-opener
...
Interpolatable opener
2022-07-29 14:42:58 -06:00
Behdad Esfahbod
c1dc2f3c81
Merge pull request #2711 from fonttools/iup-cython
...
Compile a couple of modules with Cython when available
2022-07-29 11:21:47 -06:00
Behdad Esfahbod
3e6b9c8c08
[varLib.interpolatable] Open .glyphs files as well
2022-07-29 11:19:27 -06:00
Behdad Esfahbod
10aecc029a
[varLib.interpolatable] Support reading .designspace file
2022-07-29 11:19:22 -06:00
Cosimo Lupo
cf00320403
Merge pull request #2714 from fonttools/NotANone
...
[varLib.merge] fix NameError: 'NotANone'
2022-07-29 12:54:31 +01:00
Cosimo Lupo
c6b2ba5286
[varLib.merge] fix NameError: 'NotANone'
...
Fixes https://github.com/fonttools/fonttools/issues/2712
2022-07-29 13:05:26 +02:00
Behdad Esfahbod
97df4a130c
[symfont/momentsPen] Cythonize greenPen / momentsPen
...
Makes varLib.interpolatable 3x faster.
2022-07-28 15:35:51 -06:00
Behdad Esfahbod
22fd6f3eeb
[momentsPen] Remove manual editions
...
Move OpenContourError to basePen.
2022-07-28 14:01:31 -06:00
Behdad Esfahbod
aa509b6df2
[varLib.interpolatable] Fix mix of space & tab
2022-07-28 14:01:15 -06:00
Behdad Esfahbod
5d9677038b
[varLib.iup] Compile with Cython when available
...
Even with no annotations, makes it ~35% faster.
2022-07-28 12:35:02 -06:00
Just van Rossum
e4c5c842f1
Allow features to be added to VF without building GDEF; warn when GDEF would be needed but isn't requested. This fixes #2694
2022-07-20 11:28:29 +02:00
Cosimo Lupo
32aa8eafcb
[otBase] fix AttributeError when uharfbuzz < 0.23.0 and 'repack' missing
...
Fixes #2671
2022-07-19 14:46:50 +02:00
Cosimo Lupo
dbe60eae80
[subset/svg] use broader ImportError instead of ModuleNotFoundError
...
Fixes https://github.com/fonttools/fonttools/issues/2696
2022-07-18 11:32:44 +02:00
Behdad Esfahbod
4139d8914a
[statisticsPen] By default report all glyphs
2022-07-12 16:39:56 -06:00
Just van Rossum
6c6245e382
Add missing required argument. Fixes #2692
2022-07-12 13:52:17 -06:00
Just van Rossum
8c19828d7e
[varLib.merge] Fix for error during error reporting ( #2689 )
...
* work around error during error reporting, as reported in #2688
* Use stack[-1] (the table tag) as per feedback
2022-07-12 20:59:29 +02:00
Cosimo Lupo
02a669ed63
Bump version: 4.34.4 → 4.34.5.dev0
2022-07-07 23:38:32 +02:00
Cosimo Lupo
5af9db16b6
Release 4.34.4
2022-07-07 23:38:32 +02:00
Just van Rossum
1c8efee98d
fix typo in COLR merge
2022-07-07 16:00:43 +02:00
Jany Belluz
ce89a0301f
Bump version: 4.34.3 → 4.34.4.dev0
2022-07-07 13:59:20 +01:00
Jany Belluz
e80acefdd1
Release 4.34.3
2022-07-07 13:59:20 +01:00