OswaldFont icon indicating copy to clipboard operation
OswaldFont copied to clipboard

Errors

Open davelab6 opened this issue 11 years ago • 3 comments

  • [ ] Family naming is messed up, Heavy -> ExtraBold, DemiBold -> SemiBold, family naming should follow the Twardoch model
  • [ ] nbsp advance width does not match the sp advance width
  • [ ] italic angle not set in italic fonts
  • [ ] Fonts don't roundtrip in ttx
$ ttx Oswald-BoldItalic.ttf
Dumping "Oswald-BoldItalic.ttf" to "Oswald-BoldItalic.ttx"...
Dumping 'GlyphOrder' table...
Dumping 'head' table...
Dumping 'hhea' table...
Dumping 'maxp' table...
Dumping 'OS/2' table...
Dumping 'hmtx' table...
Dumping 'cmap' table...
Dumping 'fpgm' table...
Dumping 'prep' table...
Dumping 'cvt ' table...
Dumping 'loca' table...
Dumping 'glyf' table...
Dumping 'kern' table...
Traceback (most recent call last):
  File "/usr/local/bin/ttx", line 8, in <module>
    execfile(__file__)
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Tools/ttx", line 6, in <module>
    ttx.main(sys.argv[1:])
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Lib/fontTools/ttx.py", line 332, in main
    process(jobs, options)
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Lib/fontTools/ttx.py", line 317, in process
    action(input, output, options)
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Lib/fontTools/ttx.py", line 208, in ttDump
    bitmapGlyphDataFormat=options.bitmapGlyphDataFormat)
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Lib/fontTools/ttLib/__init__.py", line 275, in saveXML
    self._tableToXML(tableWriter, tag, progress, quiet)
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Lib/fontTools/ttLib/__init__.py", line 312, in _tableToXML
    table.toXML(writer, self)
  File "/Users/dcrossland/src/bakery-clean3/src/fonttools2/Lib/fontTools/ttLib/tables/_k_e_r_n.py", line 67, in toXML
    subtable.toXML(writer, ttFont)
TypeError: toXML() takes exactly 2 arguments (3 given)

davelab6 avatar Dec 04 '13 01:12 davelab6

so much for DTL's OpenTypeManager :-(

vernnobile avatar Dec 04 '13 04:12 vernnobile

Well, it inspects the data, doesn't set these up does it?

davelab6 avatar Dec 04 '13 04:12 davelab6

This caused major problems in Adobe apps, for example, a lot of italic fonts appeared under names of their regular versions. @bobtherobot took the trouble to clean it up, see his fork.

certainlyakey avatar Jan 02 '16 18:01 certainlyakey