Installing pango-graphite corrupts text in gvim and other apps

Bug #240752 reported by Dries Harnie
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pango-graphite (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed a new font yesterday (ttf-gentium) and it suggested pango-graphite. It looked like it did something useful so I included it.
However, after installing it my font rendering has been acting up: numbers are now always rendered in a times new roman-esque font, even though the surrounding text is monospace. Even worse, the font display on Gvim is totally garbled!

Uninstalling pango-graphite fixes the problem and rendering reverts to how it used to be.

See attached screenshots for illustration: The numbers issue is clearly visible in gedit-after.png, and gvim corruption is shown in gvim-after.png.

I'm running Ubuntu hardy with the latest patches.

Revision history for this message
Dries Harnie (dharnie) wrote :
Revision history for this message
Dries Harnie (dharnie) wrote :
Revision history for this message
Kess Vargavind (kess) wrote :

This behavior is true for all GTK+ (pango?) apps I tried. The font Charis SIL is the one used instead on my computer. I do not have pango-graphite installed at the moment, but I recall that the substituted characters I checked only were digits and interpunctuation.

Hardy, Xfce (most Gnome/KDE packages uninstalled)

Revision history for this message
Johan Winge (johan-winge) wrote :

I just wanted to bump this, if possible. This bug is still present in Karmic. More exactly, the problem is that when pango-graphite is installed together with at least one Graphite font, then characters in the ranges U+0021 to U+0040 and U+00A1 to U+00BF will be rendered with glyphs from the Graphite font, regardless of what font is actually selected. (For example, open up Character Map and try the different fonts.) Since this is very specific, and easily reproducable, I would guess that it would not be too difficult to track down this bug. <rant>Can someone PLEASE have a look at this? I have on more than one occasion pointed this out directly on the Graphite development mailing list, but I have not received any indication that anyone is interested in investigating this. Well, I do care about this bug, even if they don't seem to...</rant>

Revision history for this message
Johan Winge (johan-winge) wrote :

I forgot to mention that it is not only the characters in the above mentioned ranges that are affected. In fact, it seems to affect most (all?) non-alphabetic characters. For example, U+00AA FEMININE ORDINAL INDICATOR and U+00BA MASCULINE ORDINAL INDICATOR are rendered correctly in the selected font, but characters like []{}×÷ are rendered as the Graphite font.

Revision history for this message
Shelagh (shelagh-manton) wrote :

I've just had some problems with running rhythmbox that are related to pango-graphite. Rhythmbox keeps crashing. I sent some bug reports about rhythmbox but when analysis was done, it was related to this package. I just uninstalled it and it appears that rhythmbox is behaving as normal.

Revision history for this message
Martin Erik Werner (arand) wrote :

Just to collect some structure, I'm insolently marking this as a dupe of Bug #540035.

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.