Opened 15 years ago

Last modified 14 years ago

#19171 closed defect

pango renders some fonts incorrectly — at Version 6

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: font Cc:
Port: pango firefox-x11 freetype

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I noticed that some fonts in firefox-x11 render incorrectly, and a message is spewed to the console:

(firefox-bin:37135): Pango-WARNING **: Error loading GDEF table 0x6EAD
(firefox-bin:37135): Pango-WARNING **: Error loading GSUB table 0x6EAD
(firefox-bin:37135): Pango-WARNING **: Error loading GPOS table 0x6EAD
(firefox-bin:37135): Pango-WARNING **: Error loading GDEF table 0x6EAD
(firefox-bin:37135): Pango-WARNING **: Error loading GSUB table 0x6EAD
(firefox-bin:37135): Pango-WARNING **: Error loading GPOS table 0x6EAD

The font having trouble is whatever is picked for the boxes in: http://fedorasolved.org/mobile/fc-wireless/bcm43xx-yum-extras

It looks like Courier at first guess, but I haven't looked into it more specifically.

Doing some searching, I found a similar issue last year regarding a font in wireshark (note 0x6ead == 28333):

The "fix" was to disable the freetype renderer for +quartz... well that's all well and good for the +quartz variant, but what about the X11 users? It looks like the problem is persisting for X11

Change History (6)

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Interesting... the rendering problem is because of the font "Fixed".

$ pango-view --font=Fixed Portfile

But that produces no warning message

You can see the problem in Firefox by:

  • Edit->Preferences->Content->Fonts/Advanced
  • Deselect 'Allow pages to choose their own fonts'
  • Choose 'Fixed' as the monospace font (bad)
  • Choose 'Courier' as the monospace fong (good)

comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

And it looks like the GSOP problem is caused by helvetica of all fonts:

$ pango-view --font="Helvetica" /tmp/txt (pango-view:56595): Pango-WARNING : Error loading GDEF table 0x6EAD (pango-view:56595): Pango-WARNING : Error loading GSUB table 0x6EAD (pango-view:56595): Pango-WARNING : Error loading GPOS table 0x6EAD

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I filed the helvetica 0x6EAD upstream: http://bugzilla.gnome.org/show_bug.cgi?id=577952

So lets focus back on the rendering issue with fixed.

$ fc-match Fixed 12x13ja.pcf.gz: "Fixed" "ja"

So for some reason it looks like it's prefering this japanese font instead of english .. ?

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

And on linux:

$ fc-match Fixed
console9x15.pcf: "Fixed" "Regular"

$  fc-list --verbose | grep Fixed
MiscFixed:style=Regular
MiscFixed:style=SemiCondensed
MiscFixed:style=Bold
MiscFixed:style=Bold SemiCondensed
Fixed:style=Regular

Back on OSX:

$ fc-list --verbose | grep Fixed
Fixed:style=Bold
Fixed:style=Bold SemiCondensed
Fixed:style=SemiCondensed
Fixed:style=Oblique SemiCondensed
Fixed:style=Oblique
Fixed:style=ko
Fixed:style=ja
Fixed:style=Regular

$  fc-match Fixed:style=Regular
7x13.pcf.gz: "Fixed" "Regular"

# Renders fine (although not fixed-width)
$ pango-view --font="Fixed:Style=Regular" /etc/passwd

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

As you've found in the links above, I've experienced this problem since over a year. I don't know how to fix it.

Note: See TracTickets for help on using tickets.