[MacPorts] #19171: pango renders some fonts incorrectly
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- 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 -- Ticket URL: <http://trac.macports.org/ticket/19171> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): http://archive.netbsd.se/?ml=fink-commits&a=2009-03&m=9984934 http://bugzilla.gnome.org/show_bug.cgi?id=540617 -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): 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) -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): 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 -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): 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 .. ? -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): 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 }}} -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- 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, 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 -- Comment(by ryandesign@…): 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. -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: font | Port: pango firefox-x11 freetype -----------------------------------+---------------------------------------- Comment(by ryandesign@…): "Error loading GDEF table 0x6EAD" was fixed by updating pango to 1.24.1. -- Ticket URL: <http://trac.macports.org/ticket/19171#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------------+---------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: font Port: pango firefox-x11 freetype | -----------------------------------------+---------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Yeah, the GDEF issue is corrected, but the other issue is not (it turns out they were unrelated... see comment #4, sorry for the 2-for-1 bug report, but I thought they were related when reporting) The main issue here is the fontconfig match problem. $ 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:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#19171: pango renders some fonts incorrectly -----------------------------------------+---------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: font Port: pango firefox-x11 freetype | -----------------------------------------+---------------------------------- Comment(by jmr@…): Does this still happen with 1.28.3? -- Ticket URL: <https://trac.macports.org/ticket/19171#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19171: pango renders some fonts incorrectly -----------------------------------------+---------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: font Port: pango firefox-x11 freetype | -----------------------------------------+---------------------------------- Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: This seems to have been fixed upstream some time ago: http://bugzilla.gnome.org/show_bug.cgi?id=540617 Current versions in MacPorts look good. -- Ticket URL: <https://trac.macports.org/ticket/19171#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts