Ubuntu

fonttools cannot list file name

Reported by Pander on 2011-05-16
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ttf-century-catalogue (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: ttf-century-catalogue

fclist and fc-cat from fonttools cannot list file name for /usr/share/fonts/truetype/ttf-century-catalogue/Century-Catalogue.ttf

Pander (pander) wrote :

fc-cat|grep "Century Catalogue"

"Century-Catalogue.ttf" 0 "Century Catalogue:familylang=en:style=Roman
,Roman:stylelang=en,en:fullname=Century Catalogue:fullnamelang=en:slant=0:weight=80:width=100:foundry=unknown:index=0:outline=True:scalable=True:charset= |>^1!|>^1!P0oWQ yf#Cx|>^1!|>T(~!!!%# !!71$!#>r1F3y?4!!K?& !!!)$ *)#ES !!#0GM>RAd!!.)r!!!!5 !!#3H !!!!& !!#6I!!K?& !!+u{!!!!) :lang=aa|ast|ay|bi|br|ch|co|da|de|en|es|et|eu|fi|fj|fr|fur|fy|gd|gl|gv|ho|ia|id|ie|io|it|lb|mg|nb|nds|nl|nn|no|nr|nso|oc|om|pt|rm|sma|smj|so|sq|ss|st|sv|sw|tl|tn|ts|uz|vo|vot|wa|xh|yap|zu|an|fil|ht|jv|kj|kwm|li|ms|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za:fontversion=65601:capability=otlayout\\:latn:fontformat=TrueType:decorative=False"

I think there is a line feed in the style=Roman,Roman before the comma

Pander (pander) wrote :

For sure fc-list and fc-cat cannot handle this file because of incorrect metadata in the font file. This needs to be fixed.

Also running ttx on the font file results in data with errors. Running:
  ttx -d /tmp -t name -t OS/2 -t GSUB -t maxp Century-Catalogue.ttf
results in a file with on line 114 the following:
        <FeatureTag value="^@^A^@^@"/>
which is also disruptive for analysing font metadata.

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

Other bug subscribers