9157 Commits

Author SHA1 Message Date
pyup-bot
a767774056 Update sphinx_rtd_theme from 0.5.0 to 1.0.0 2021-10-18 17:07:04 +01:00
pyup-bot
5772775235 Update sphinx from 3.3.1 to 4.2.0 2021-10-18 17:07:03 +01:00
Cosimo Lupo
20188a0e36
Merge pull request #2430 from fonttools/svg-compile-reuse-offset
[SVG] reuse SVG doc offsets on compile; remove deprecated version-1 support
2021-10-18 16:08:17 +01:00
Cosimo Lupo
e3bc036c7e Add tests for SVG table 2021-10-13 14:53:00 +02:00
Cosimo Lupo
11c98b04a5 SVG: don't write extra empty newline at beginning of SVG table
it serves no purpose.
2021-10-13 14:51:42 +02:00
Cosimo Lupo
2967f18e35 SVG: on compile reuse offsets when doc bytes are same
https://github.com/fonttools/fonttools/issues/534#issuecomment-934528761
2021-10-13 14:50:08 +02:00
Cosimo Lupo
be8d6e29d5 SVG: remove old deprecated version1 and embedded colorPalettes
Fixes https://github.com/fonttools/fonttools/issues/2426
2021-10-13 14:47:41 +02:00
Cosimo Lupo
71a986e03a
Merge pull request #2424 from fonttools/subset-colrv1-no-cliplist
[subset] fix AttributeError when subsetting COLRv1 font without optional ClipList
2021-10-11 15:56:28 +01:00
Cosimo Lupo
5c54f4e666 subset: don't try subsetting ClipList if None 2021-10-11 16:48:00 +02:00
Cosimo Lupo
6df6db840e test subsetter doesn't fail when (optional) ClipList is empty
Kudos to Qunxin for catching the bug
2021-10-11 16:43:18 +02:00
Nikolaus Waxweiler
a5173b218a
Merge pull request #2422 from fonttools/ufolib-speed-up-filename-clash-checking
Use a set for file names for clash checking
2021-10-07 15:22:32 +01:00
Nikolaus Waxweiler
04664089cc Minor: wording 2021-10-07 14:44:20 +01:00
Nikolaus Waxweiler
cd32e1d16b Use set comprehension 2021-10-07 14:18:12 +01:00
Nikolaus Waxweiler
827004608c userNameToFileName should not have a mutable default parameter 2021-10-07 14:18:12 +01:00
Nikolaus Waxweiler
a7e4d86540 Use a set for file names for clash checking 2021-10-07 12:03:47 +01:00
Cosimo Lupo
df2916af61
Merge pull request #2417 from fonttools/drop-3.6
drop Python 3.6, require >= 3.7
2021-10-06 13:05:07 +01:00
Behdad Esfahbod
76ac638c43 [subset] Add a couple None checks
Exercised by Simon's Gulzar
2021-10-01 11:42:58 -06:00
Cosimo Lupo
37b2687a9b test on latest pypy that supports python 3.7 2021-09-27 14:37:20 +02:00
Cosimo Lupo
64299aa4b1 drop Python 3.6, require >= 3.7
3.10 is out next week, while 3.6 reaches end of life by the end of this year.
It's time to require 3.7 or greater, so we can finally use built-in dataclasses and more.

Fixes https://github.com/fonttools/fonttools/issues/2350
2021-09-27 13:21:08 +02:00
Cosimo Lupo
b4a789ee9e Bump version: 4.27.1 → 4.27.2.dev0 2021-09-23 14:36:00 +02:00
Cosimo Lupo
744bb47131 Release 4.27.1 2021-09-23 14:36:00 +02:00
Cosimo Lupo
2ce48d5a80 Update changelog [skip ci] 2021-09-23 14:35:20 +02:00
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