GNOME Bugzilla – Bug 103641
Monospaced font render in Pango
Last modified: 2004-12-22 21:47:04 UTC
look at follow screenshot. there are two font preview. one is fontilus(use Xft), and other is gedit(use pango). they use same font (GungsuhChe, fixed-width, 18 point). In this font, Hangul glyph (and other CJK glyphs) had double width of english glyph, on purpose. fontilus render glyphs correctly. gedit render all glyphs with same width. but this is not correct. because default glyph width in each other language are different.
Created attachment 13610 [details] screenshot
This is going to be a font specific problem of some sort, probably in FreeType. Pango doesn't even know that fixed width fonts exist. You'll have to find someone with the same font to debug it.
gulim.ttc and batang.ttc are only sample that I know for monospaced ttf; installed on MS Windows and used by default. so I believe that ttc are not guilty. and as ganadist said, pure Xft routine in fontilus is ok. so Pango the higher layer is guilty, suspective. btw, this issue is really important for gnome-terminal users; vte does not support layered fontname of Xft: bug 100594 so gnome-termianl with vte has a little bit funny shape for font.
http://mail.nl.linux.org/linux-utf8/2002-06/msg00036.html is for this matter, right?
It may be that Xft (or FreeType) finds the width of characters incorrectly but still draws correctly. Pango trusts Xft for the character widths and treats every font the same way. I don't understand what you mean "layered font names". vte does not use Pango to draw text.
Created attachment 13652 [details] qt 3.1 is equal problem. pango is not bad.
The screenshot looks like a different font, but I'm going to resolve this NOTGNOME because I am pretty sure it's a Xft or FreeType bug, that's going to have to be debugged by someone with access to the font.
http://www.mail-archive.com/fonts%40xfree86.org/msg01376.html seems to have a patch. let's see the upcoming Xft! :)
keith package fixed fontconfig. and resolve this problem. thanx ;)
sorry. I confused. sorry! keith packard but you have done great job!
The URL field has been removed from bugzilla.gnome.org. This URL was in the old URL field, and is being added as a comment so that the data is not lost. Please email bugmaster@gnome.org if you have any questions. URL: http://bugs.kde.org/show_bug.cgi?id=52538