Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-837

[PATCH] Bug in Os2Table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • Utilities
    • Operating System: Linux
      Platform: PC

    Description

      Hi,

      the utility program ttf2svg crashes when converting fonts from Font Freak
      (ie http://www.fontfreak.com/fonts/a/Anagram.zip). It seems that during the decoding step of the Os2 table that some fields are optionals and depend on the version of the table (I took the information from FreeType2 web site
      http://freetype.sourceforge.net/freetype2/docs/reference/ft2-truetype_tables.html#TT_OS2)

      I attached a patch which take care of the version of the table.

      I used version 1.8pre but the bug is also present in SVN.

      Regards,

      Ludovic

      Attachments

        1. batik-os2-table.patch
          0.8 kB
          Ludovic L'Hours

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            ludovic.lhours@gmail.com Ludovic L'Hours
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: