5828 Commits

Author SHA1 Message Date
Behdad Esfahbod
c20582b5e5 [scaleUpem] Add comments 2022-08-18 07:20:55 -06:00
Behdad Esfahbod
64627c2299 [scaleUpem] Support MATH table 2022-08-18 07:19:39 -06:00
Behdad Esfahbod
c43f234a4d [scaleUpem] Support VORG table 2022-08-18 07:17:49 -06:00
Behdad Esfahbod
0c6b67e8ec [scaleUpem] Optimize COLRv1 scale paint
032ff5620a
2022-08-18 07:05:34 -06:00
Behdad Esfahbod
1aff3e8fa2 [scaleUpem] Support post table 2022-08-18 06:20:33 -06:00
Behdad Esfahbod
376caff386
Merge pull request #2718 from fonttools/visitor
Add fontTools.misc.visitor, fontTools.ttLib.ttVisitor, ttLib.scaleUpem, Snippets/print-json.py
2022-08-18 06:12:19 -06:00
Behdad Esfahbod
2a15c450a4 [EBDT/EBLC] Make them work with TTVisitor 2022-08-18 06:10:52 -06:00
Behdad Esfahbod
18d2d9f6c9 [scaleUpem] Update docstring 2022-08-18 06:00:16 -06:00
Behdad Esfahbod
032ff5620a [scaleUpem] Support COLRv1 2022-08-18 05:54:26 -06:00
Behdad Esfahbod
b661125c1a [scaleUpem] Support BASE table 2022-08-18 05:23:08 -06:00
Behdad Esfahbod
0268f7a67b [scaleUpem] Move to ttLib 2022-08-18 05:08:40 -06:00
Behdad Esfahbod
ee14fc5b71 [scaleUpem] Add scale_upem API 2022-08-17 14:58:35 -06:00
Behdad Esfahbod
46be8fd9b7 [scale-upem] Move into fontTools.scaleUpem module 2022-08-17 14:54:40 -06:00
Behdad Esfahbod
a9e2595e7d [visitor] Document 2022-08-17 14:50:32 -06:00
Behdad Esfahbod
2a8f408b31 Fix signature of ensureDecompiled() 2022-08-17 14:27:47 -06:00
Behdad Esfahbod
33b07c757a [ttVisitor] Add comment 2022-08-17 14:20:36 -06:00
Behdad Esfahbod
61160fe5db [cffLib.specializer] Fix generalizer blend
Fixes https://github.com/fonttools/fonttools/issues/1975
2022-08-17 11:13:42 -06:00
Cosimo Lupo
24af2b91cf Bump version: 4.36.0 → 4.36.1.dev0 2022-08-17 19:01:50 +02:00
Cosimo Lupo
9caf92ef25 Release 4.36.0 2022-08-17 19:01:50 +02:00
Behdad Esfahbod
e494b118c4 [varLib.iup] Document API 2022-08-16 14:07:43 -06:00
Behdad Esfahbod
3325b47606
Merge pull request #2717 from fonttools/varLib-narrow
[varLib.models] Generate narrower tents
2022-08-16 12:46:22 -06:00
Behdad Esfahbod
8fdf4d160e [visitor_test] Add visitor tests 2022-08-16 12:28:26 -06:00
Just van Rossum
2f79fbc951 remove GDEF warning completely, as per discussion in #2694 2022-08-16 14:08:46 +02:00
Behdad Esfahbod
09ea38bac6 [visitor] Add visitDict 2022-08-15 17:39:53 -06:00
Behdad Esfahbod
cb27c528cb [visitor] Add visitLeaf 2022-08-15 17:29:08 -06:00
Behdad Esfahbod
6af0637e02 [ttVisitor] Pass arbitrary args 2022-08-15 17:08:16 -06:00
Behdad Esfahbod
ef1a009bea [visitor] Fix up attrs visiting 2022-08-15 13:59:05 -06:00
Behdad Esfahbod
8213c58a38 [visitor] Don't recurse on private or TTFont attributes 2022-08-15 13:43:03 -06:00
Just van Rossum
10c92ba338 Fix for #2694: only warn about not-requested-GDEF if building a VF AND GPOS is requested but GDEF isn't 2022-08-15 21:20:13 +02:00
Behdad Esfahbod
f582469cb8 [visitor] Split TTVisitor into its own module 2022-08-15 13:01:46 -06:00
Behdad Esfahbod
be7df107e2 [visitor_test] Implement glyf table visiting 2022-08-15 12:47:17 -06:00
Behdad Esfahbod
a0686e8d2e [visitor] Add register_attr(s) example 2022-08-15 12:37:38 -06:00
Behdad Esfahbod
9b0d0e7b56 [visitor] ensureDecompiled(recurse=False) 2022-08-15 12:09:26 -06:00
Behdad Esfahbod
de091983d5 [visitor] Handle enums 2022-08-15 12:05:52 -06:00
Behdad Esfahbod
5eb63212ad [visitor] Convert tabs to spaces and run black 2022-08-15 12:04:36 -06:00
Behdad Esfahbod
171670a15f
[instancer] Simplify a couple of things (#2732)
* [instancer] Simplify normalization
2022-08-15 11:47:09 -06:00
Behdad Esfahbod
41e6f60011
Merge pull request #2738 from fonttools/glyphset
TTVarGlyphset
2022-08-15 11:07:41 -06:00
Behdad Esfahbod
dc99ab6b3f [ttGlyphSet] Address review comments 2022-08-15 11:06:51 -06:00
Cosimo Lupo
9716b1c455 Bump version: 4.35.0 → 4.35.1.dev0 2022-08-15 15:53:13 +02:00
Cosimo Lupo
691a17d289 Release 4.35.0 2022-08-15 15:53:13 +02:00
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