https://bugzilla.novell.com/show_bug.cgi?id=246573 ------- Comment #38 from mfabian@novell.com 2007-02-21 13:13 MST ------- To investigate the problem I mentioned in comment #36, I checked the values of gi1 and gi2 in the function is_double_width_font_xft() after the two XftTextExtentsUtf8() calls. Results: (gdb) run -fa "Sazanami Gothic" -fd "Sazanami Gothic" [...] (gdb) p gi1 $39 = {width = 177, height = 13, x = -2, y = 13, xOff = 190, yOff = 0} (gdb) p gi2 $40 = {width = 177, height = 18, x = 0, y = 15, xOff = 190, yOff = 0} (gdb) (gdb) run -fa "MS PGothic" -fd "MS PGothic" [...] (gdb) p gi1 $31 = {width = 178, height = 13, x = -1, y = 13, xOff = 190, yOff = 0} (gdb) p gi2 $32 = {width = 188, height = 18, x = -1, y = 15, xOff = 190, yOff = 0} (gdb) (gdb) run -fa "MS Gothic" -fd "MS Gothic" [...] (gdb) p gi1 $35 = {width = 99, height = 18, x = -1, y = 15, xOff = 100, yOff = 0} (gdb) p gi2 $36 = {width = 188, height = 18, x = -1, y = 15, xOff = 190, yOff = 0} (gdb) I.e. ((2 * gi1.xOff == gi2.xOff) || (gi1.xOff == gi2.xOff)) is false in case of "MS Gothic" and is_double_width_font_xft() thus returns false. I'm still a bit confused what the above numbers mean and what the real cause for the problem is, I'll look further into that tomorrow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.