Error in OS/2 table of Saab.ttf

Bug #223929 reported by Pander on 2008-04-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ttf-indic-fonts (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: ttf-punjabi-fonts

Dumping OS/2 table of Saab.ttf results in the following error:

$ ttx -d . -t OS/2 /usr/share/fonts/truetype/ttf-punjabi-fonts/Saab.ttf
Dumping "/usr/share/fonts/truetype/ttf-punjabi-fonts/Saab.ttf" to "./Saab#1.ttx"...
Dumping 'OS/2' table...
Saab.ttx:39: parser error : xmlParseCharRef: invalid xmlChar value 12
tions for copying, distribution and
modification follow.

                                                                               ^
Saab.ttx:39: parser error : xmlParseCharRef: invalid xmlChar value 12
3;
 the Program is not required to print an announcement.)

                                                                               ^
Saab.ttx:39: parser error : xmlParseCharRef: invalid xmlChar value 12
#13;
compelled to copy the source along with the object code.

                                                                               ^
Saab.ttx:39: parser error : xmlParseCharRef: invalid xmlChar value 12
elieved to
be a consequence of the rest of this License.

                                                                               ^
Saab.ttx:39: parser error : xmlParseCharRef: invalid xmlChar value 12
AGES.

		 END OF TERMS AND CONDITIONS

                                                                               ^
Saab.ttx:84: parser error : xmlParseCharRef: invalid xmlChar value 12
tions for copying, distribution and
modification follow.

                                                                               ^
Saab.ttx:84: parser error : xmlParseCharRef: invalid xmlChar value 12
3;
 the Program is not required to print an announcement.)

                                                                               ^
Saab.ttx:84: parser error : xmlParseCharRef: invalid xmlChar value 12
#13;
compelled to copy the source along with the object code.

                                                                               ^
Saab.ttx:84: parser error : xmlParseCharRef: invalid xmlChar value 12
elieved to
be a consequence of the rest of this License.

                                                                               ^
Saab.ttx:84: parser error : xmlParseCharRef: invalid xmlChar value 12
AGES.

		 END OF TERMS AND CONDITIONS

                                                                               ^
Traceback (most recent call last):
  File "src/org/fonts/Analysis.py", line 28, in <module>
    doc = libxml2.parseFile(basename + '.ttx')
  File "/var/lib/python-support/python2.5/libxml2.py", line 1280, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
libxml2.parserError: xmlParseFile() failed

Please fix the OS/2 table of Saab.ttf so that ttx is able to dump it and also other applications can access this data without errors.

Arne Goetje (arnegoetje) wrote :

Seems the license text contains a few non-printable characters, namely horizontal tabs. This should be reported to upstream.

Changed in ttf-indic-fonts:
status: New → Confirmed
Pander (pander) on 2012-08-11
tags: added: fonts
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers