#47 Incorrect file type guessing (TTX vs OTX)

Feature request

The code that attempts to detect the input file type uses this hardcoded string to recognize a ttx file that corresponds to an otf font:
<ttFont sfntVersion="OTTO" ttLibVersion="2.3">

Thus, this perfectly equivalent XML notation is not recognized as otf:
<ttFont sfntVersion='OTTO' ttLibVersion='2.3'>
(notice the single quotes)

In Windows, this can make the difference between a correct font and a font that fails to load (actually just changing the file extension works, but I spent a full day understanding this...)


  • Paul Wise

    Paul Wise - 2013-06-22
    • status: open --> closed-fixed
    • assigned_to: Paul Wise
    • Group: --> Feature request
  • Paul Wise

    Paul Wise - 2013-06-22

    Fixed in SVN, thanks for the report.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks