Behdad Esfahbod
700b6a7b0e
[varLib.avar] Refactor code
...
So we can test it.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
65ab19468d
[varLib.avar] Comments and a bug fix
...
Code was in wrong block.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
bd76b4a24b
[varLib.avar] Handle default location mapping somewhere else
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
34e38c3d03
[varLib.avar] Do less work
...
No need to compute outputLocation for unneeded inputLocations.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
9f19a19c4e
[varLib.avar] Introduce base master earlier
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
b8306b1d82
[varLib.avar] Fix normalization
...
And see if I can make it deterministic. It still isn't.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
cb031514ea
[varLib.avar] Try dropping unnecessary "masters"
...
Untested, as I don't have a test font that exercises this.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
e606adfffe
[varLib.avar] Add peakLocation as well, oops
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
0127a235af
[varLib.avar] Don't require a full .designspace with sources
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
297f73aeaf
[varLib.avar] Err, don't drop empty pins
...
https://github.com/fonttools/fonttools/issues/3086#issuecomment-2263626285
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
40f6760e8a
[varLib.avar] Don't clamp values
...
https://github.com/fonttools/fonttools/pull/3598#issuecomment-2266082009
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
150d4fc195
[varLib.avar] Sketch of code to reconstruct mappings from binary
...
https://github.com/Lorp/fencer/issues/25
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
0c2652011e
[varLib.models] By default, assume OpenType-like normalized space
...
See:
https://github.com/fonttools/fonttools/pull/2846#issuecomment-2267750076
I *think* this is an improvement, and no one should have been relying
on the broken existing behavior.
Docs need updating.
2024-08-16 18:45:08 -06:00
Behdad Esfahbod
ead2a18d4b
[varLib.interpolatable] Support discrete axes in .designspace
...
Fixes https://github.com/fonttools/fonttools/issues/3597
2024-08-16 12:14:30 -06:00
Behdad Esfahbod
45bd0637bd
[varLib.interpolatable]
...
Fix master name formatting.
https://github.com/fonttools/fonttools/pull/3599#issuecomment-2269372640
2024-08-05 09:44:59 -06:00
David Jones
aa2d9196c0
Lift .get("hex") out of try:; and avoid re-evaluating it
2024-07-18 19:29:41 +01:00
Behdad Esfahbod
ba20aa2f56
[merge] Format
2024-07-18 12:05:46 -06:00
David Jones
4214a66405
Minor fixes to documentation for merge
2024-07-18 12:04:59 -06:00
Simon Cozens
647abe70a9
Bump version: 4.53.1 → 4.53.2.dev0
2024-07-05 13:03:28 +01:00
Simon Cozens
d3e68f28f2
Release 4.53.1
2024-07-05 13:03:27 +01:00
Simon Cozens
3546b9f06d
Search the object's MRO for visitors
2024-07-03 06:48:38 -06:00
David Corbett
aa390ec98b
Fix OS/2.usMaxContext for reverse GSUB rules
2024-06-16 20:37:17 -07:00
Cosimo Lupo
97929b3236
[feaLib] try reuse existing inline chained multiple subst lookups when possible
...
We already do this for inline single substitutions in chained contextual lookups, this PR extends this for multiple substitutions as well.
Fixes https://github.com/fonttools/fonttools/issues/3551
2024-06-03 17:06:46 +01:00
David Jones
fb30c9822b
Verify that unicode elements have hex attribute
2024-06-03 17:02:34 +01:00
Nikolaus Waxweiler
308b449edc
Bump version: 4.53.0 → 4.53.1.dev0
2024-05-31 17:24:59 +01:00
Nikolaus Waxweiler
af5894cd2d
Release 4.53.0
2024-05-31 17:24:59 +01:00
Cosimo Lupo
c61fae7a7d
Merge pull request #3548 from fonttools/instancer-name
...
[instancer] Fix output filename decision-making
2024-05-31 14:21:56 +01:00
Behdad Esfahbod
f4669f0538
[avar] Fix assertion
...
Fixes https://github.com/fonttools/fonttools/issues/3546
2024-05-31 01:36:17 -07:00
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