Behdad Esfahbod
4ad6b0db13
[CFF2ToCFF] Map charset to CIDs
...
This seems to fix the case of ttx not handling the results.
I *think* this fixes the rest of the issues I've been seeing
with this conversion.
2024-10-23 11:36:26 -06:00
Behdad Esfahbod
c384709c0a
[CFF2ToCFF] Convert FD's to CFF1
...
Makes ftview like the font, but still not ttx.
2024-10-23 11:36:26 -06:00
Behdad Esfahbod
87ae6ba224
[CFF2ToCFF] Remove wrong and unnecessary argument
...
This had no effect though, since file is None.
2024-10-23 11:36:26 -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
397a19deb7
[CFF2ToCFF] Don't decompile subroutines
...
They can't be decompiled standalone. Decompiling glyph programs
already decompiled the used ones.
2024-05-17 11:35:11 -07:00
Behdad Esfahbod
ee1632c584
Update Lib/fontTools/cffLib/CFF2ToCFF.py
...
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
2024-05-17 12:31:54 -06:00
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
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