7421 Commits

Author SHA1 Message Date
Khaled Hosny
3c9d6c1eaf Release 4.52.3 2024-05-27 22:29:29 +03:00
Khaled Hosny
ac21c4ad47 Bump version: 4.52.2 → 4.52.3.dev0 2024-05-27 22:22:02 +03:00
Khaled Hosny
3b6fd6a1b4 Release 4.52.2 2024-05-27 22:22:01 +03:00
خالد حسني (Khaled Hosny)
ed7701a0a2
Merge pull request #3525 from fonttools/cff-converters-fixes
CFF converters fixes
2024-05-27 22:19:16 +03:00
Behdad Esfahbod
c2cf6e6d04 [interpolatable] Avoid division-by-zero
Fixes https://github.com/fonttools/fonttools/issues/3533
2024-05-27 10:22:29 -06: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
6a812ce925 [CFFToCFF2] Fix for non-FDArray fonts and subroutines 2024-05-25 10:15:00 -06: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
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
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
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
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
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
Behdad Esfahbod
7d6df04d44 [VARC] Minor, match spec better
No functional change.
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
5b2df6b90b [VARC] Compute flags from XML transform components 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
037bbe1030 [VARC] Load axisValues as float
https://github.com/fonttools/fonttools/pull/3395#issuecomment-1897696665
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
5ad4045cec [VarComponent] Nicer XML output
https://github.com/fonttools/fonttools/pull/3395#issuecomment-1895944021
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
e3ba7a7e0b [lazyTools] Simplify based on review feedback 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
b3a0a21125 [transform] Remove redundant methods 2024-05-22 18:46:07 -06:00
Behdad Esfahbod
87ddb244ea [otBase] Add comment based on review feedback 2024-05-22 18:46:07 -06:00