fonttools cannot list file name

Bug #783347 reported by Pander
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ttf-century-catalogue (Ubuntu)
Confirmed
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

Tags: fonts
Revision history for this message
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

Revision history for this message
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)
tags: added: fonts
vgeloven (vgeloven)
Changed in ttf-century-catalogue (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.