#11 Name Table

closed-fixed
TrueType (18)
9
2004-09-25
2003-08-07
Mehran Mehr
No

There are some Fonts, with wrong 'name' tables and TTX
cannot load these Fonts. But they can be loaded by
well-known font tools like Microsoft Windows Renderer,
FreeType, FontLab, and ...

Adding two lines of code to the beginning of the
"for" clause of "decompile" method of "table__n_a_m_e"
class of file "Lib/fontTools/ttLib/tables/_n_a_m_e.py",
this bug can be corrected:

for ....
if len(data) < 12:
break
name ....

Discussion

  • Mehran Mehr
    Mehran Mehr
    2003-08-07

     
    Attachments
  • Mehran Mehr
    Mehran Mehr
    2003-08-07

    • priority: 5 --> 9
    • assigned_to: nobody --> jvr
     
  • Logged In: YES
    user_id=92689

    Over a year later...

    Thanks, your suggestion is in CVS now:
    rev. 1.11 of _n_a_m_e.py

     
    • status: open --> closed-fixed