Behdad Esfahbod
f916971913
[instancer] Fix output filename decision-making
...
All limits are tuples now when not None. The old logic was
broken and for the following command:
$ fonttools varLib.instancer AdobeVFPrototype.otf CNTR=50:80 wght=900
it was saving the output with the name suffix `-instance`, whereas
it's clearly a partial instantiation. This fixes that.
2024-05-30 11:48:12 -06:00
Nikolaus Waxweiler
bdbc470f9f
Revert "[svgPen] Write two digits after decimal by default"
...
This reverts commit 42d6b6b4fedf51dd741d3134da74df04339335b4.
2024-05-30 10:31:53 -07:00
Simon Cozens
a5a1573012
Revert "[instancer] Fix name decision-making"
...
This reverts commit 969d09dcafd3669753e30060ccca7e5fd4c356cd.
2024-05-30 14:36:45 +01:00
Cosimo Lupo
4193aeaa26
Merge pull request #3495 from NightFurySL2001/patch-2
...
Allow UTF-8 with BOM for features.fea
2024-05-30 12:27:21 +01:00
خالد حسني (Khaled Hosny)
1c3137ee14
Merge pull request #3528 from fonttools/remove-overlaps-cff
...
[ttLib.removeOverlaps] Support CFF table
2024-05-30 14:25:59 +03:00
Khaled Hosny
353f3808f2
Bump version: 4.52.4 → 4.52.5.dev0
2024-05-27 23:31:46 +03:00
Khaled Hosny
6fb8c5d653
Release 4.52.4
2024-05-27 23:31:46 +03:00
Khaled Hosny
eff90154ed
[varLib.cff] Restore and deprecate convertCFFtoCFF2
...
It is used by ufo2ft.
2024-05-27 13:18:04 -07:00
Behdad Esfahbod
6c93fc6289
[instancer] Remove not about CFF2 not being supported
2024-05-27 14:16:57 -06:00
Khaled Hosny
f0dcf98f1a
Bump version: 4.52.3 → 4.52.4.dev0
2024-05-27 22:29:29 +03:00
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