[Bug 918478] [hi_IN] Droid Sans Devanagari preferred over Lohit Devanagari for Devangari script when google-droid-sans-fonts installed

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 7 03:59:37 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=918478

Akira TAGOH <tagoh at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hobbes1069 at gmail.com,
                   |                            |paul at frixxon.co.uk,
                   |                            |tremble at tremble.org.uk
          Component|fontconfig                  |google-droid-fonts
           Assignee|tagoh at redhat.com            |nicolas.mailhot at laposte.net

--- Comment #3 from Akira TAGOH <tagoh at redhat.com> ---
There are nothing I can do in fontconfig for this issue... those recipes in
question is in google-droid-fonts.

FWIW as you pointed out, this is just a priority issue in that case:

$ FC_DEBUG=3 LANG=hi_IN fc-match foo
Font 28 Pattern has 20 elts (size 20)
        family: "Lohit Devanagari"(w)
...
 family: 87  "foo"(s) "DejaVu Sans"(w) "PT Sans"(w) "Bitstream Vera Sans"(w)
"DejaVu Sans"(w) "Verdana"(w) "Arial"(w) "Albany AMT"(w) "Luxi Sans"(w) "Nimbus
Sans L"(w) "Helvetica"(w) "Lucida Sa
ns Unicode"(w) "BPG Glaho International"(w) "Tahoma"(w) "Dustismo"(w) "Droid
Sans"(w) "Nachlieli"(w) "Lucida Sans Unicode"(w) "Yudit Unicode"(w) "Kerkis"(w)
"ArmNet Helvetica"(w) "Artsounk"(w) 
"BPG UTF8 M"(w) "Waree"(w) "Loma"(w) "Garuda"(w) "Umpush"(w) "Saysettha
Unicode"(w) "JG Lao Old Arial"(w) "GF Zemen Unicode"(w) "Pigiarniq"(w) "B
Davat"(w) "B Compset"(w) "Kacst-Qr"(w) "Urdu Na
staliq Unicode"(w) "Raghindi"(w) "Mukti Narrow"(w) "malayalam"(w) "Sampige"(w)
"padmaa"(w) "Hapax Berbère"(w) "MS Gothic"(w) "UmePlus P Gothic"(w) "SimSun"(w)
"PMingLiu"(w) "WenQuanYi Zen Hei"
w) "WenQuanYi Bitmap Song"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung"(w)
"MgOpen Modata"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami
Gothic"(w) "Kochi Gothic"(w) "AR PL Kai
tiM GB"(w) "AR PL KaitiM Big5"(w) "AR PL ShanHeiSun Uni"(w) "AR PL SungtiL
GB"(w) "AR PL Mingti2L Big5"(w) "MS ゴシック"(w) "ZYSong18030"(w) "TSCu_Paranar"(w)
"NanumGothic"(w) "UnDotum"(w) "B
aekmuk Dotum"(w) "Baekmuk Gulim"(w) "KacstQura"(w) "Lohit Bengali"(w) "Lohit
Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit
Kashmiri"(w) "Lohit Konkani"(w) "Lohit N
epali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w)
"Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w)
"LKLUG"(w) "Padauk"(w) "Lohit Devanagari"(w
) "FreeSans"(w) "FreeSans"(w) "Arial Unicode MS"(w) "Arial Unicode"(w)
"Code2000"(w) "Code2001"(w) "sans-serif"(w) "Roya"(w) "Koodak"(w) "Terafik"(w)
"foo"(w) "sans-serif"(w) "sans-serif"(w) "s
ans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w)
"sans-serif"(w) "sans-serif"(w) "sans-serif"(w),  "Lohit Devanagari"(w)
 slant: 1  0(i)(s),  0(i)(w)
 weight: 20001  100(i)(s),  80(i)(w)
 width: 1  100(i)(s),  100(i)(w)
 lang: 1  "hi"(w),  bh|bho|hi|kok|mr|ne|sa|hne|mai|brx|sat|doi(w)
 fontversion: 2.14732e+12  2147483647(i)(s),  163840(i)(w)
 decorative: 1  FcFalse(s),  FcFalse(w)
Score 0 0 0 1001 1 87 0 0 0 1 20001 1 1 0 0 0 2.14732e+12

...

Font 84 Pattern has 20 elts (size 20)
        family: "Droid Sans"(w)
...
        file:
"/usr/share/fonts/google-droid/DroidSansDevanagari-Regular.ttf"(w)
...
 family: 16  "foo"(s) "DejaVu Sans"(w) "PT Sans"(w) "Bitstream Vera Sans"(w)
"DejaVu Sans"(w) "Verdana"(w) "Arial"(w) "Albany AMT"(w) "Luxi Sans"(w) "Nimbus
Sans L"(w) "Helvetica"(w) "Lucida Sa
ns Unicode"(w) "BPG Glaho International"(w) "Tahoma"(w) "Dustismo"(w) "Droid
Sans"(w) "Nachlieli"(w) "Lucida Sans Unicode"(w) "Yudit Unicode"(w) "Kerkis"(w)
"ArmNet Helvetica"(w) "Artsounk"(w) 
"BPG UTF8 M"(w) "Waree"(w) "Loma"(w) "Garuda"(w) "Umpush"(w) "Saysettha
Unicode"(w) "JG Lao Old Arial"(w) "GF Zemen Unicode"(w) "Pigiarniq"(w) "B
Davat"(w) "B Compset"(w) "Kacst-Qr"(w) "Urdu Na
staliq Unicode"(w) "Raghindi"(w) "Mukti Narrow"(w) "malayalam"(w) "Sampige"(w)
"padmaa"(w) "Hapax Berbère"(w) "MS Gothic"(w) "UmePlus P Gothic"(w) "SimSun"(w)
"PMingLiu"(w) "WenQuanYi Zen Hei"
w) "WenQuanYi Bitmap Song"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung"(w)
"MgOpen Modata"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami
Gothic"(w) "Kochi Gothic"(w) "AR PL Kai
tiM GB"(w) "AR PL KaitiM Big5"(w) "AR PL ShanHeiSun Uni"(w) "AR PL SungtiL
GB"(w) "AR PL Mingti2L Big5"(w) "MS ゴシック"(w) "ZYSong18030"(w) "TSCu_Paranar"(w)
"NanumGothic"(w) "UnDotum"(w) "B
aekmuk Dotum"(w) "Baekmuk Gulim"(w) "KacstQura"(w) "Lohit Bengali"(w) "Lohit
Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit
Kashmiri"(w) "Lohit Konkani"(w) "Lohit N
epali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w)
"Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w)
"LKLUG"(w) "Padauk"(w) "Lohit Devanagari"(w
) "FreeSans"(w) "FreeSans"(w) "Arial Unicode MS"(w) "Arial Unicode"(w)
"Code2000"(w) "Code2001"(w) "sans-serif"(w) "Roya"(w) "Koodak"(w) "Terafik"(w)
"foo"(w) "sans-serif"(w) "sans-serif"(w) "s
ans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w)
"sans-serif"(w) "sans-serif"(w) "sans-serif"(w),  "Droid Sans"(w)
 slant: 1  0(i)(s),  0(i)(w)
 weight: 20001  100(i)(s),  80(i)(w)
 width: 1  100(i)(s),  100(i)(w)
 lang: 1  "hi"(w),  bh|bho|hi|kok|mr|ne|sa|hne|mai|brx|sat|doi(w)
 fontversion: 2.14748e+12  2147483647(i)(s),  6(i)(w)
 decorative: 1  FcFalse(s),  FcFalse(w)
Score 0 0 0 1001 1 16 0 0 0 1 20001 1 1 0 0 0 2.14748e+12

less score has a priority and Droid Sans has 16 in family name which is less
than 87 for Lohit.
this is the reason why fontconfig chooses Droid Sans rather than Lohit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=d7NCul4Oe8&a=cc_unsubscribe


More information about the fonts-bugs mailing list