11968 Commits

Author SHA1 Message Date
pyup-bot
a694386946 Update lxml from 5.2.1 to 5.2.2 2024-05-27 16:50:05 +01:00
pyup-bot
c170328879 Update ufo2ft from 3.2.1 to 3.2.3 2024-05-27 16:50:05 +01:00
pyup-bot
ff1321804b Update scipy from 1.13.0 to 1.13.1 2024-05-27 16:50:04 +01:00
Behdad Esfahbod
39093b9b7e [cffLib] Add optional removeUnusedSubrs arg to remove_hints() 2024-05-25 10:15:00 -06:00
Behdad Esfahbod
129e8e34a5 [cffLib] Typo 2024-05-25 10:15:00 -06:00
Behdad Esfahbod
9943a109e8 [CFF2ToCFF] Clean up dicts and privates 2024-05-25 10:15:00 -06:00
Behdad Esfahbod
1076f2c558 [CFF2ToCFF] Remove unused code 2024-05-25 10:15:00 -06:00
Behdad Esfahbod
1536efc22e [CFFToCFF2] Add a test
Exercises:
https://github.com/fonttools/fonttools/pull/3518#discussion_r1611033728
2024-05-25 10:15:00 -06:00
Behdad Esfahbod
6a812ce925 [CFFToCFF2] Fix for non-FDArray fonts and subroutines 2024-05-25 10:15:00 -06:00
Just van Rossum
369a21353a
Merge pull request #3529 from fonttools/regenerate-table-lists
Regenerate table lists
2024-05-25 18:09:58 +02:00
Khaled Hosny
246bede217 [ttLib.removeOverlaps] Force calling new arguments by name 2024-05-25 19:08:18 +03:00
Just van Rossum
1c2a10f700 Rebuild tables lists 2024-05-25 17:50:29 +02:00
Just van Rossum
b60df6e5ce Fix generate script to output black-compatible code 2024-05-25 17:50:16 +02:00
Khaled Hosny
525ab7733a [ttLib.removeOverlaps] Add removeUnusedSubroutines, default to True 2024-05-25 18:41:36 +03:00
Behdad Esfahbod
0bf67cc0c9 [statisticsPen] Fix __start_point access
Fixes https://github.com/fonttools/fonttools/issues/3527
2024-05-25 09:38:39 -06:00
Khaled Hosny
945bedd891 [ttLib.removeOverlaps] Do nothing if no glyphs were modified 2024-05-25 18:36:07 +03:00
Khaled Hosny
44b15b41f6 [ttLib.removeOverlaps] Remove unused subroutines 2024-05-25 18:32:01 +03:00
Khaled Hosny
ce8fcfcc4f [ttLib.removeOverlaps] Add all options to CLI 2024-05-25 18:29:10 +03:00
Khaled Hosny
9268e1cdee [ttLib.removeOverlaps] Use argparse 2024-05-25 18:25:03 +03:00
Khaled Hosny
2da78ba158 [ttLib.removeOverlaps] Handle removeHinting for CFF table 2024-05-25 18:16:05 +03:00
Khaled Hosny
2f9033b22d [ttLib.removeOverlaps] Support CFF table 2024-05-25 18:11:30 +03:00
Peter Dekkers
a531041f3e Ensure that scipy/numpy output is JSON-serializable 2024-05-24 14:57:40 -07:00
Cosimo Lupo
524275ae14
Bump version: 4.52.1 → 4.52.2.dev0 2024-05-24 17:59:32 +01:00
Cosimo Lupo
7cf373edf7
Release 4.52.1 2024-05-24 17:59:30 +01:00
Cosimo Lupo
e34822bf1e
Update NEWS.rst 2024-05-24 17:56:49 +01:00
Behdad Esfahbod
2ea20f9572 [bezierTools] Add a test 2024-05-24 10:36:46 -06:00
Cosimo Lupo
34874c3508
[NEWS.rst] fix typos [skip ci] 2024-05-24 17:23:34 +01:00
Cosimo Lupo
fd51d8db93
Bump version: 4.52.0 → 4.52.1.dev0 2024-05-24 17:17:22 +01:00
Cosimo Lupo
96c2d0fe7d
Release 4.52.0 2024-05-24 17:17:21 +01:00
Cosimo Lupo
0e477a5d72
Update NEWS.rst [skip ci] 2024-05-24 17:16:12 +01:00
Cosimo Lupo
54bc2a5a8c
Merge pull request #3518 from fonttools/cff-to-cff2-remove-unused-subroutines
[CFFToCFF2] Remove unused subroutines if necessary
2024-05-24 16:35:47 +01:00
Behdad Esfahbod
db60a248dc
Merge pull request #3395 from fonttools/varc-table
[VARC] Variable Composites table
2024-05-24 08:09:51 -07:00
Behdad Esfahbod
90fed08964 [ttLib.__main__] Fix decompiling all tables 2024-05-23 13:02:43 -06:00
Behdad Esfahbod
aba4f52dea [CFFToCFF2] Remove unused subroutines if necessary
The transforms.py changes are for them to work with fonts
without font.charset. I'm not sure how we didn't catch these
before.
2024-05-23 12:19:39 -06:00
Behdad Esfahbod
33beeaa1a2 [CFFToCFF2] Keep charset during initial round
See comments.
2024-05-23 12:19:30 -06:00
Cosimo Lupo
91775d2205
Merge pull request #3520 from fonttools/dedup-lkp-refs
[feaLib] don't reference same lookup multiple times within the same feature
2024-05-23 19:12:35 +01:00
Cosimo Lupo
0902d1e482 [feaLib] don't reference same lookup multiple times within the same feature
Fixes https://github.com/fonttools/fonttools/issues/2946
2024-05-23 19:00:39 +01:00
Behdad Esfahbod
753197e017 [varc] Use multiVarStore instead of GDEF varStore
That's what we agreed upon.
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
973072b259 [Condition] Implement ConditionValue
Shift other Condition format numbers.

Implements
https://github.com/adobe-type-tools/opentype-spec-drafts/blob/main/condvalue_spec.md
2024-05-22 18:46:07 -06:00
Just van Rossum
77add05f7f Don't emit addVarComponent() if the component references the parent glyph (special case) 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
973dc5c9a7 [varc] Use Condition instead of ConditionSet
With more Condition formats.

df7dcc4618
https://github.com/harfbuzz/boring-expansion-spec/issues/147
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
9cb73dafeb [varc] Add a conditional VarComponent test 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
d53c08a497 [varc] Conditionals tested! 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
74f870f4ef [varc] Add ConditionSets 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
c155632e8f [varc] Skip reserved records 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
88828e0082 [CFF2IndexOf] Fix data_base
From the spec:
"Offsets in the offset array are relative to the byte
that precedes the object data."
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
a1641d91b2 Newer black 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
3bada5de80 Fix otConverters lazy reader 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
1acc80eba5 [VARC] Deepcopy the component
Since we modify comp.transform.
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
40584ad489 [VARC] Adjust XML output based on review feedback 2024-05-22 18:46:07 -06:00