Behdad Esfahbod
53e141fc41
[cffLib.CFF2ToCFF] Update post table version if needed
2024-05-16 16:34:24 -07:00
Behdad Esfahbod
0a7433f847
[cffLib] Add CFF<->CFF2 convertors that work on otFont
2024-05-16 16:29:22 -07:00
Behdad Esfahbod
b009b614f3
[cffLib.CFF2ToCFF] Fixup
2024-05-16 16:16:14 -07:00
Behdad Esfahbod
1d1b7eb2f2
[cffLib] Add --verbose / --quiet to convertors
...
As well as actually save!
2024-05-16 16:07:03 -07:00
Behdad Esfahbod
ec36fe74d5
[cffLib / varLib] Merge two impls of convertCFFToCFF2
...
Fixes https://github.com/fonttools/fonttools/issues/1835
2024-05-16 15:57:31 -07:00
Behdad Esfahbod
4384eef42e
[cffLib] Comment
2024-05-16 15:33:22 -07:00
Behdad Esfahbod
39ec4e6c0c
[cffLib] Add CFFToCFF2 and CFF2ToCFF cmdline and module
...
The CFF2ToCFF module is rather solid, at least IMO.
This takes convertCFFToCFF2 from cffLib. Apparently there's a more
complete one in varLib.cff:
https://github.com/fonttools/fonttools/issues/1835
Should merge the two and finish them.
2024-05-16 10:47:24 -07:00
Behdad Esfahbod
60e30fe008
[cffLib] Add a simple (and quite possibly incomplete) convertCFF2ToCFF()
2024-05-15 17:33:00 -07:00
Behdad Esfahbod
c06e8ba1e8
[instancer/CFF2] Comment
2024-05-14 18:26:35 -06:00
Behdad Esfahbod
c22f7d5af4
[cffLib.specializer] Simplify vsindex protocol
2024-05-14 18:13:51 -06:00
Behdad Esfahbod
3d2df43a67
[instancer/CFF2] Comment
2024-05-14 17:13:21 -06:00
Behdad Esfahbod
17474e19a4
[instancer/CFF2] Yet another test
2024-05-14 14:04:12 -06:00
Behdad Esfahbod
267fa79cca
[instancer/CFF2] Add another test
...
This one has private blend values.
2024-05-14 13:47:08 -06:00
Behdad Esfahbod
b3dc48a967
[instancer/CFF2] Micro-optimize commands
2024-05-14 13:39:09 -06:00
Behdad Esfahbod
1011d7e996
[instancer/CFF2] Add another test
2024-05-14 13:34:20 -06:00
Behdad Esfahbod
6d915fc816
[instancer/CFF2] Add test
2024-05-14 12:28:00 -06:00
Behdad Esfahbod
cbec49c72c
[cffLib] A couple of fixups
...
In particular, I don't know why we were appending a 'return'
at the end of CFF2 desubroutinized charstrings!
2024-05-14 11:56:15 -06:00
Behdad Esfahbod
1891a7220d
[instancer/CFF2] Fixups
2024-05-14 11:11:39 -06:00
Behdad Esfahbod
385c2cb979
[instancer/CFF2] Instantiate private-dict values
2024-05-14 11:11:25 -06:00
Behdad Esfahbod
bdd42f14fc
[instancer/CFF2] Fixups with used-vsindex handing
...
vsindex 0 is implied.
Also, add Unimplemented code for private-dict variable
values. I couldn't find any fonts using them, so for
now they remain unimplemented.
2024-05-14 01:15:04 -06:00
Behdad Esfahbod
68f87dd850
[instancer/CFF2] Fix tests
...
gvar is removed by the time we get to hmtx/vmtx subsetting.
2024-05-14 00:47:39 -06:00
Behdad Esfahbod
21fb882e67
[instancer/CFF2] Prune ununsed data
2024-05-14 00:35:09 -06:00
Behdad Esfahbod
6f85ebb02c
[instancer/CFF2] Full-instancing
2024-05-14 00:11:29 -06:00
Behdad Esfahbod
ae18197f6f
[instancer/CFF2] Instantiate hmtx/vmtx
2024-05-14 00:11:29 -06:00
Behdad Esfahbod
c9ed0d1348
[instancer/CFF2] Minor sanity check
2024-05-14 00:11:29 -06:00
Behdad Esfahbod
f6c72eabf9
[instancer/CFF2] Add specialize and generalize arguments
2024-05-14 00:11:29 -06:00
Behdad Esfahbod
bb9a23702b
[instancer] Instantiate CFF2!
2024-05-14 00:11:29 -06:00
Behdad Esfahbod
969d09dcaf
[instancer] Fix name decision-making
...
All limits are tuple these days.
2024-05-14 00:10:50 -06:00
Behdad Esfahbod
9f51fac512
[cffLib] Make sure we compile VarStore
...
Ouch. Took me a while to find this bug. If data is set,
it will be reused and no compilation happens.
2024-05-13 22:47:22 -06:00
Behdad Esfahbod
ce78d2c88f
Typo
2024-05-13 17:17:30 -06:00
Just van Rossum
24cb4e0dcf
[feaLib.variableScalar] fix value_at_location() method ( #3491 )
2024-05-13 08:48:59 +01:00
David Corbett
0738c41dfb
[psCharStrings] Shorten output of encodeFloat
2024-05-10 18:47:23 -07:00
Behdad Esfahbod
2ce45c2861
[bezierTools] Fix infinite-recursion in calcCubicArcLength
...
Fixes https://github.com/fonttools/fonttools/issues/3502
2024-05-07 08:54:42 -07:00
Simon Cozens
9acbd12637
Better failure mode for sstruct ( #3500 )
...
* Check format fits and give sensible error if not
* sstruct.getformat now returns dictionaries, merge them
2024-05-07 14:01:46 +01:00
خالد حسني (Khaled Hosny)
b88a71bed8
Merge pull request #3499 from fonttools/pyup-scheduled-update-2024-05-06
...
Scheduled weekly dependency update for week 18
2024-05-06 21:23:31 +03:00
pyup-bot
d7aed5f7cc
Update lxml from 5.2.0 to 5.2.1
2024-05-06 16:50:13 +01:00
pyup-bot
03293a54c3
Update glyphslib from 6.7.0 to 6.7.1
2024-05-06 16:50:13 +01:00
pyup-bot
a14ffb5331
Update ufo2ft from 3.2.0 to 3.2.1
2024-05-06 16:50:13 +01:00
pyup-bot
0090159765
Update scipy from 1.12.0 to 1.13.0
2024-05-06 16:50:12 +01:00
pyup-bot
333a86c9fb
Update black from 24.3.0 to 24.4.2
2024-05-06 16:50:12 +01:00
pyup-bot
ea628f6480
Update reportlab from 4.1.0 to 4.2.0
2024-05-06 16:50:11 +01:00
pyup-bot
4e346367b9
Update sphinx from 7.2.6 to 7.3.7
2024-05-06 16:50:10 +01:00
Behdad Esfahbod
d4fd62dc1e
Fix build. Sorry
2024-04-30 13:28:57 -06:00
Behdad Esfahbod
8c32511e5a
Hide cu2qu.cli from --help
2024-04-30 13:23:56 -06:00
Behdad Esfahbod
1d802db723
Remove qu2cu.cli from --help
2024-04-30 13:22:58 -06:00
Behdad Esfahbod
fbe2dc846c
Fix --help showing qu2cu.qu2cu
2024-04-30 13:22:02 -06:00
Behdad Esfahbod
70b5456387
[cu2qu/qu2cu] Don't show benchmark module in --help
2024-04-30 13:14:07 -06:00
Behdad Esfahbod
a25e584955
[removeOverlaps] Show in --help
2024-04-30 13:13:53 -06:00
rrawatt
6db3cee007
Improve structure and content of fontTools documentation
2024-04-26 15:39:41 -05:00
rrawatt
004cf3ac33
Improve structure and content of fontTools documentation
2024-04-26 15:39:41 -05:00