Ugly bitmapped Chinese fonts in GTK apps under Kubuntu

Bug #36951 reported by Michael Robinson
6
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

In recent Dapper Kubuntu, ugly bitmapped Chinese fonts have mysteriously appeared, despite the fact that I have "Enable bitmapped fonts by default?", and no bitmapped fonts visible in the KDE font installer panel.

There is no apparent way for a Kubuntu user to make these bitmapped fonts go away.

Possibly related to:

"As a result of these findings, it is strongly recommended to turn on embedded bitmap in the fontconfig setting by default. It is now known that Uming, Kochi, IPA and IPAMona will all benefit from this, possibly including some other free CJK fonts. If in suspicion, inspection by Fontforge is encouraged."

https://wiki.kubuntu.org/BetterCJKSupportSpecification

Revision history for this message
Michael Robinson (robinson-netrinsics) wrote :

Should be:

...despite the fact that I have "Enable bitmapped fonts by default?" disabled in debconf...

Revision history for this message
Michael Robinson (robinson-netrinsics) wrote :

Further investigation shows that the fonts in question are not, in fact, bitmapped fonts, but TrueType fonts with anti-aliasing disabled.

So the problem becomes, how to restore anti-aliasing to Chinese fonts in GTK applications (KDE applications render the same fonts with anti-aliasing) in Kubuntu Dapper.

Revision history for this message
atie (atie-at-matrix) wrote :

@Michael, could you attach a screenshot with different sizes(or pixelsizes) of the font you use as well as letting us know which Chinese font/GTK application particular? Also wondering your locale in case you don't use one of Chinese locales.

I'm pretty sure, for your fonts, the properties of fontconfig such as AA and Hinting can be controlled per pixelsize/font family/lang. You may refer the DapperL10nSprint/FontConfigPreferencesKorean wiki for example.

Changed in fontconfig:
status: Unconfirmed → Needs Info
Revision history for this message
Michael Robinson (robinson-netrinsics) wrote :

I'm using the out-of-the-box C locale (ie, no environment settings).

I am attaching a screenshot of a GTK app (GAIM) and a KDE app (KNotes). Font rendering is consistent across both toolkits; all the GTK apps render without antialiasing, and all the KDE apps render with the antialiasing.

Revision history for this message
Michael Robinson (robinson-netrinsics) wrote : GTK Sample

Screenshot of a GTK app (GAIM) showing non-antialiased Chinese font.

Revision history for this message
Michael Robinson (robinson-netrinsics) wrote : KDE Sample

Screenshot of a KDE app (Knotes) showing anti-aliased Chinese fonts.

Kees Cook (kees)
Changed in fontconfig:
status: Needs Info → Confirmed
Revision history for this message
Michael Robinson (robinson-netrinsics) wrote :

This bug can be closed. It's been fixed at least since Feisty.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

closing.

Changed in fontconfig:
status: Confirmed → Fix Committed
Changed in fontconfig:
status: Fix Committed → Fix Released
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.