Simon Cozens
19ab25d4ed
Merge pull request #2411 from simoncozens/fix-fix-contextual-overflow
2021-09-23 12:45:40 +01:00
Simon Cozens
d01fe58dbf
Merge pull request #2413 from simoncozens/fix-orthogonal-line-intersections
2021-09-23 10:56:10 +01:00
Simon Cozens
54e307ea6c
Fix docTests
2021-09-23 08:20:51 +01:00
Simon Cozens
d9ce420967
Test for typo case
2021-09-23 08:15:57 +01:00
Simon Cozens
ed0cf2fa92
Typo
2021-09-23 08:10:00 +01:00
Simon Cozens
13f6cbdaba
Fix doctests
2021-09-22 16:41:02 +01:00
Simon Cozens
1cc8bf0827
Fix two problems when handling orthogonal lines
2021-09-22 16:28:10 +01:00
Simon Cozens
ed833dab74
Don’t complain about format 1 lookups we couldn’t even build
2021-09-20 10:34:41 +01:00
Simon Cozens
3a7c91602c
Merge pull request #2404 from simoncozens/fix-contextual-overflow
...
[otlLib] Fix chained contextual builder overflow
2021-09-15 11:20:39 +01:00
Simon Cozens
f53a75fb1d
Check for overflows in a loop
2021-09-15 11:08:50 +01:00
Cosimo Lupo
c4003fd986
Bump version: 4.27.0 → 4.27.1.dev0
2021-09-14 17:14:47 +02:00
Cosimo Lupo
eab1d6f16d
Release 4.27.0
2021-09-14 17:14:46 +02:00
Cosimo Lupo
f68bf0bccf
Update changelog [skip ci]
2021-09-14 17:14:03 +02:00
Simon Cozens
f9b927cdbb
Fix chained contextual builder overflow
2021-08-30 10:35:56 +01:00
Behdad Esfahbod
a3f988fbf6
Merge pull request #2398 from fonttools/vid
...
Clean up virtual GID handling
2021-08-26 11:39:31 -06:00
Behdad Esfahbod
d867397532
Remove residual allowVID stuff
...
Part of https://github.com/fonttools/fonttools/pull/2398
2021-08-25 15:55:17 -06:00
Behdad Esfahbod
3eef446efe
[ttFont] Address review comments
2021-08-23 16:06:18 -06:00
Behdad Esfahbod
ca06c9530c
[ttFont] Assume GlyphOrder is never modified after setting
...
See https://github.com/fonttools/fonttools/pull/2398#discussion_r694271551
2021-08-23 14:59:11 -06:00
Behdad Esfahbod
d5de11d805
[ttFont] Make setGlyphOrder() clear reverseGlyphOrderMap
...
Part of https://github.com/fonttools/fonttools/pull/2398
2021-08-23 14:01:26 -06:00
Behdad Esfahbod
e5bf2a7f1a
[ttFont] Apply review comments
2021-08-22 04:09:29 -06:00
Behdad Esfahbod
7a22c0fb07
[ttFont] Add getGlyphIDMany(); use in otLayout
...
Fixes https://github.com/fonttools/fonttools/issues/1536
Superced https://github.com/fonttools/fonttools/pull/1654
Part of https://github.com/fonttools/fonttools/pull/2398
2021-08-21 11:23:11 -06:00
Behdad Esfahbod
3ec769907b
[ttFont] Add getGlyphNameMany()
...
Part of fixing https://github.com/fonttools/fonttools/pull/1654
Related https://github.com/fonttools/fonttools/issues/2334
2021-08-20 16:17:48 -06:00
Khaled Hosny
89fe3bd3c5
[Tests] Add test for virtual GIDs
2021-08-21 00:16:45 +02:00
Behdad Esfahbod
322a7b2ead
[ttFont] Remove allowVID
...
Leave the parameter intact for back compat.
Part of https://github.com/fonttools/fonttools/pull/2398
Fixes https://github.com/fonttools/fonttools/issues/2334
2021-08-20 10:01:51 -06:00
Behdad Esfahbod
9988054f3c
[ttFont] Remove requireReal
...
To my knowledge this is not used by anyone.
See https://github.com/fonttools/fonttools/issues/2334#issuecomment-902789001
2021-08-20 09:59:47 -06:00
Behdad Esfahbod
d0d082e76e
[otTables] Allow virtual GIDs in Coverage/ClassDef reader
...
Fixes https://github.com/fonttools/fonttools/issues/2334#issuecomment-901885598
2021-08-20 09:59:46 -06:00
Khaled Hosny
0398d8aa54
Merge pull request #2400 from fonttools/py23-cleanup
...
Drop use of py23 module intenally
2021-08-20 15:33:44 +02:00
Khaled Hosny
5e3774bd7b
Remove py23 from the documentation
...
We don’t want anyone to use it anymore.
2021-08-20 01:31:50 +02:00
Khaled Hosny
232b2ccbc4
Move the rest of py23 module to textTools
...
Change all imports to use textTools module, except the test_py23.py test
which is kept until we decide to remove the module (if ever).
2021-08-20 01:29:45 +02:00
Cosimo Lupo
99743c14df
subset: explicitly subset ClipList, avoids warning when lazy-loading
...
relying on ClipList.compile to drop unused clips based on updated glyphOrder won't work when font is loaded lazily (default for subsetter), because ClipList gets decompiled too late (after glyphOrder has already been modified) and this produces warnings about missing glyphIDs.
Better to make the subsetter explicilty prune unused clips.
2021-08-18 09:42:10 +02:00
Cosimo Lupo
f04cb29fc4
Bump version: 4.26.2 → 4.26.3.dev0
2021-08-09 11:59:12 +02:00
Cosimo Lupo
02cd740c5c
Release 4.26.2
2021-08-09 11:59:11 +02:00
Cosimo Lupo
8f34fcc5cd
Update changelog [skip ci]
2021-08-09 11:59:00 +02:00
Cosimo Lupo
6d3bd9499f
Merge pull request #2390 from fonttools/fix-colr-composite-mode
...
[COLRv1] Add missing CompositeMode.PLUS
2021-08-09 11:41:47 +02:00
Cosimo Lupo
d025bb8ba7
fix NameError while decompiling ClipList
...
when range references a missing glyph ID, the loop must continue
2021-08-09 11:30:00 +02:00
Cosimo Lupo
9f7a4ea3e7
otTables: fix CompositeMode enum missing PLUS mode
...
Our enumeration of CompositeMode was missing one COMPOSITE_PLUS mode (12)...
see 'PaintComposite' paragraph in https://github.com/googlefonts/colr-gradients-spec/blob/main/OFF_AMD2_WD.md
2021-08-09 11:27:46 +02:00
Cosimo Lupo
627d8e6ee6
fontBuilder: pass through varIndexMap and clipBoxes parameters in setupCOLR
2021-08-09 11:24:41 +02:00
Cosimo Lupo
032befd2ea
Bump version: 4.26.1 → 4.26.2.dev0
2021-08-03 15:24:56 +02:00
Cosimo Lupo
6a1eaa1fd0
Release 4.26.1
2021-08-03 15:24:55 +02:00
Cosimo Lupo
f18cccebc7
Update changelog [skip ci]
2021-08-03 15:24:46 +02:00
Cosimo Lupo
e49c1df63f
Merge pull request #2386 from fonttools/transform-vector
...
add Transform.transformVector method
2021-08-03 12:13:48 +01:00
Cosimo Lupo
9c37862087
add Transform.transformVector method
...
Adds a transformVector and transformVectors methods to the Transform class. Useful for things like https://github.com/googlefonts/ufo2ft/pull/515
2021-08-03 11:49:44 +02:00
Cosimo Lupo
3047ce0006
Bump version: 4.26.0 → 4.26.1.dev0
2021-08-03 10:39:47 +02:00
Cosimo Lupo
5f25059c25
Release 4.26.0
2021-08-03 10:39:47 +02:00
Cosimo Lupo
12fc4dd9af
NEWS.rst: Add note about dropping support for python 3.6 from next release [skip ci]
2021-08-03 10:34:20 +02:00
Cosimo Lupo
85f2bf9a86
Update changelog [skip ci]
2021-08-03 10:33:10 +02:00
Cosimo Lupo
e161bbc980
Merge pull request #2384 from fonttools/newline-2021
...
Default to "\n" for newlinestr instead of None
2021-08-03 09:21:10 +01:00
Cosimo Lupo
094a40ca2e
Revert "Deprecate and ignore newlinestr"
...
This reverts commit 5af178ac8eb2da79b965be5c6cee693dad602c65.
2021-08-03 10:00:13 +02:00
Cosimo Lupo
01b0180ce1
Revert "Deprecate and ignore ttx’s --newline option"
...
This reverts commit 3042f129fc6012bd96668831b18d0926c634f7df.
2021-08-03 10:00:01 +02:00
Cosimo Lupo
745a6a6ea2
Merge pull request #2379 from fonttools/colr-clip-list
...
[colrv1] otData: define ClipList, ClipBox, etc.
2021-08-03 08:49:37 +01:00