[MacPorts] #19171: pango renders some fonts incorrectly
MacPorts
noreply at macports.org
Sun Apr 19 00:41:42 PDT 2009
#19171: pango renders some fonts incorrectly
-----------------------------------------+----------------------------------
Reporter: jeremyhu@… | Owner: ryandesign@…
Type: defect | Status: reopened
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Resolution: | Keywords: font
Port: pango firefox-x11 freetype |
-----------------------------------------+----------------------------------
Changes (by jeremyhu@…):
* status: closed => reopened
* resolution: fixed =>
Old description:
> 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):
> * http://mail.gnome.org/archives/gtk-i18n-list/2008-April/msg00008.html
> * http://trac.macosforge.org/projects/macports/ticket/15052
> * http://trac.macosforge.org/projects/macports/ticket/15209
> * http://graphviz.org/bugs/b1318.html
>
> 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
New description:
I noticed that some fonts in firefox-x11 render incorrectly. I narrowed
it down to a simple test case:
{{{
$ fc-match Fixed
12x13ja.pcf.gz: "Fixed" "ja"
$pango-view --font="Fixed" /etc/passwd
# See garbled cruft in the view
$ fc-match Fixed:style=Regular
7x13.pcf.gz: "Fixed" "Regular"
$pango-view --font="Fixed:Style=Regular" /etc/passwd
# See an expected render
}}}
It looks like we need some logic in the config file to prefer
style=Regular if no style is designated
--
--
Ticket URL: <http://trac.macports.org/ticket/19171#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list