OpenSolaris

Printable Version Enter a New Search
Bug ID 6370499
Synopsis Best font matching introduced in fontconfig 2.3.2 should be disabled by default.
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:font
Keywords solaris-asia-bugs
Responsible Engineer Jay Hobson
Reported Against snv_30
Duplicate Of
Introduced In
Commit to Fix snv_33
Fixed In snv_33
Release Fixed solaris_nevada(snv_33) , solaris_10u6(s10u6_01) (Bug ID:2136737)
Related Bugs 6372766
Submit Date 10-January-2006
Last Update Date 16-January-2007
Description
Best font matching introduced in fontconfig 2.3.2 should be disabled by default.
For exanmple, attached fc-match program show the following on nevada_b29
ja_JP.UTF-8 locale.
===
sayama@luna86[3]% ./fc-match sans
nfont=17
hggbpsun.ttf: "HG-PGothicB-Sun" "Regular"
ArialRegular.ttf: "Arial" "Regular"
songti.ttf: "FZSongTi" "Regular"
ming.ttf: "FZMingTi" "Regular"
sundotump.ttf: "SunDotum" "Regular"
MonotypeCenturySchoolbook.ttf: "Monotype Century Schoolbook" "Regular"
CenturyGothic.ttf: "Century Gothic" "Regular"
Rockwell.ttf: "Rockwell MT" "Regular"
FreeMono.ttf: "FreeMono" "Medium"
FreeSans.ttf: "FreeSans" "Medium"
LucidaSansRegular.ttf: "Lucida Sans" "Regular"
FreeSerif.ttf: "FreeSerif" "Medium"
<unknown style>: "h2hsrm" "Medium"
SaraswatiNormal.ttf: "Saraswati5" " Normal"
FreeSansBold.ttf: "FreeSans" "Bold"
LucidaSansDemiOblique.ttf: "Lucida Sans" "Demibold Oblique"
8x13.pcf: "Fixed" "Regular"
====
However, it shows the following on nevada b30.
====
sayama@tama[5]% ./fc-match sans
nfont=18
Arial.ttf: "Arial" "Regular"
hggbpsun.ttf: "HG-PGothicB-Sun" "Regular"
songti.ttf: "FZSongTi" "Regular"
ming.ttf: "FZMingTi" "Regular"
sundotump.ttf: "SunDotum" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
FreeSansBold.ttf: "FreeSans" "Bold"
7x13.pcf: "Fixed" "Medium"
MonotypeCenturySchoolbook.ttf: "Monotype Century Schoolbook" "Regular"
CenturyGothic.ttf: "Century Gothic" "Regular"
Rockwell.ttf: "Rockwell MT" "Regular"
FreeMono.ttf: "FreeMono" "Medium"
LucidaSansRegular.ttf: "Lucida Sans" "Regular"
FreeSerif.ttf: "FreeSerif" "Medium"
<unknown style>: "h2gtrm" "Medium"
SaraswatiNormal.ttf: "Saraswati5" " Normal"
MonotypeSorts.pfb: "Monotype Sorts" "Regular"
LucidaSansOblique.ttf: "Lucida Sans" "Oblique"
====
Instead of HG-PGothicB-Sun, Arial is piacked up as a first match font.
This causes two problems.
====
o HG-GothicB-Sun is not used for ASCII part in gnome-terminal.
In monospace family, we want to use Japanese font for 
ASCII because this ASCII font fit with Kanji/Hiragana balance,
these balance is very fit at a rate of 1 to 2. Many Japanese
text file (including e-mail) is written by this assumption.
This is described in 5098206.
o Zenkaku space is displayed as a corrupted strings (See zen.png attached).
It seems that pango rendering is tested with this order and depend on it.
===

As described in 5098206, since using lation font for ASCII is already implemented
in pango level, I think this should be disabled in fontconfig level to keep
the compatibility with previous release.
Work Around
N/A
Comments
N/A