Bug 5345

Summary: Xft problem with fonts that have dual width
Product: xorg Reporter: Barosl LEE <barosl>
Component: Lib/XftAssignee: Keith Packard <keithp>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high    
Version: 7.1 (2006.05)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:
Attachments:
Description Flags
screenshot of programs using GulimChe(monospace) none

Description Barosl LEE 2005-12-15 19:19:15 UTC
"some fonts that have dual width are busted."

I'm using Korean monospace font, '?GulimChe'.

There was already an issue about this: Korean character and non-Korean character
are regarded as if they have same widths.
In default fontconfig configuration file(/etc/fonts/fonts.conf), there is
already a fix for the problem.

<match target="font">
	<test name="family"><string>GulimChe</string></test>
	<edit name="globaladvance"><bool>false</bool></edit>
	<edit name="width"><int>0</int></edit>
</match>

It worked perfectly, but after upgrading to fontconfig-2.3.2(and gtk+-2.8,
cairo), it doesn't work in many program.

gedit, firefox, epiphany, gtk font selector have the problem.
gnome-terminal, gvim, kedit, konqueror, opera don't have the problem.

The problem was originally reported as
https://bugs.freedesktop.org/show_bug.cgi?id=82
Comment 1 Barosl LEE 2005-12-15 19:21:45 UTC
Created attachment 4090 [details]
screenshot of programs using GulimChe(monospace)

gedit, firefox, epiphany, gtk font selector have the problem.
gnome-terminal, gvim, kedit, konqueror, opera don't have the problem.
Comment 2 Keith Packard 2006-09-01 11:12:27 UTC
This is a bug in Xft; it should be ignoring global advance unless explicitly
told to use it. We've fixed that in cairo, so most gnome apps should work now.
Comment 3 Daniel Stone 2007-02-27 01:29:22 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Jeremy Huddleston Sequoia 2011-09-27 00:25:56 UTC
Keith, is this something we want to fix in libXft, or should this be closed as 
wontfix/use cairo?
Comment 5 Keith Packard 2011-09-27 10:54:37 UTC
I'm afraid I'd have to go look at the code for a long time to even begin to understand what this was all about; it's been five years...
Comment 6 Adam Jackson 2018-06-12 19:09:39 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.