help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange font used for Cyrillic characters


From: cmr . pent
Subject: Re: Strange font used for Cyrillic characters
Date: Thu, 20 Dec 2012 11:10:07 -0800 (PST)
User-agent: G2/1.0

Hmm, I've tried FC_DEBUG and C-u C-x =, but still no luck. Emacs seems to send 
different queries to fontconfig for different symbols. Could someone please 
point me to some documentation for how exactly this works?

What bothers me is that my Emacs is on fresh Debian system. On my previous 
Debian system Monospace font was correctly used both for Latin and Cyrillic 
characters. But I fail to spot the difference :-(
Could you please someone take a look at the following debug info?

Below is the output for C-u C-x =

             position: 764 of 3233 (24%), column: 54
            character: З (displayed as З) (codepoint 1047, #o2027, #x417)
    preferred charset: mule-unicode-0100-24ff (Unicode characters of the range 
U+0100..U+24FF.)
code point in charset: 0x2837
               syntax: w        which means: word
             category: .:Base, L:Left-to-right (strong), Y:2-byte Cyrillic, 
c:Chinese, h:Korean, j:Japanese, y:Cyrillic
          buffer code: #xD0 #x97
            file code: ESC #x24 #x2C #x31 #x28 #x37 (encoded by coding system 
iso-2022-7bit-unix)
              display: by this font (glyph code)
    xft:-urw-Nimbus Roman No9 L-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1 
(#x144)

Character code properties: customize what to show
  name: CYRILLIC CAPITAL LETTER ZE
  general-category: Lu (Letter, Uppercase)
  decomposition: (1047) ('З')

There are text properties here:
  charset              mule-unicode-0100-24ff

Here is the relevant piece of fontconfig log, I think

Match Pattern has 28 elts (size 32)
        family: "Nimbus Roman No9 L"(s) "Times"(w) "Nimbus Roman No9 L"(w) 
"Times New Roman"(w) "Liberation Serif"(w) "Thorndale"(w) "Thorndale AMT"(w) 
"Times"(w) "Bitstream Vera Serif"(w) "DejaVu Serif"(w) "Times New Roman"(w) 
"Thorndale AMT"(w) "Luxi Serif"(w) "Nimbus Roman No9 L"(w) "Times"(w) 
"Artsounk"(w) "BPG UTF8 M"(w) "Kinnari"(w) "Norasi"(w) "Frank Ruehl"(w) 
"Dror"(w) "JG LaoTimes"(w) "Saysettha Unicode"(w) "Pigiarniq"(w) "B Davat"(w) 
"B Compset"(w) "Kacst-Qr"(w) "Urdu Nastaliq Unicode"(w) "Raghindi"(w) "Mukti 
Narrow"(w) "malayalam"(w) "Sampige"(w) "padmaa"(w) "Hapax Berbère"(w) "MS 
Mincho"(w) "SimSun"(w) "PMingLiu"(w) "WenQuanYi Zen Hei"(w) "WenQuanYi Bitmap 
Song"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung"(w) "ZYSong18030"(w) 
"HanyiSong"(w) "MgOpen Canonica"(w) "Sazanami Mincho"(w) "IPAMonaMincho"(w) 
"IPAMincho"(w) "Kochi Mincho"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) 
"AR PL Zenkai Uni"(w) "MS 明朝"(w) "ZYSong18030"(w) "NanumMyeongjo"(w) 
"UnBatang"(w) "Baekmuk Batang"(w) "KacstQura"(w) "Frank Ruehl CLM"(w) "Lohit 
Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit 
Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(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) "FreeSerif"(w) 
"Code2000"(w) "Code2001"(w) "serif"(w) "Nazli"(w) "Lotoos"(w) "Mitra"(w) 
"Ferdosi"(w) "Badr"(w) "Zar"(w) "serif"(w) "serif"(w) "serif"(w) "serif"(w) 
"serif"(w)
        slant: 0(i)(s)
        weight: 100(i)(s)
        width: 100(i)(s)
        pixelsize: 15(f)(s)
        foundry: "urw"(s)
        antialias: FcTrue(s)
        hintstyle: 3(i)(s)
        hinting: FcTrue(s)
        verticallayout: FcFalse(s)
        autohint: FcFalse(s)
        globaladvance: FcTrue(s)
        file: "/usr/share/fonts/X11/Type1/n021003l.pfb"(s)
        index: 0(i)(s)
        scalable: FcTrue(s)
        dpi: 96.0946(f)(s)
        rgba: 1(i)(s)
        scale: 1(f)(s)
        minspace: FcFalse(s)
        charset: 
        0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff 
ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff 00040000 00000000 00000000 
00000000
        0002: 0f000000 00000000 00000000 00000000 00000000 00000000 3f0002c0 
00000000
        0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 
00000000
        0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 
033fffff
        0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 
00000000
        0021: 00400000 00000004 00000000 00000000 00000000 00000000 00000000 
00000000
        0022: 46260044 00000000 00000000 00000031 00000000 00000000 00000000 
00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 
00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 
00000000
        00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
(s)
        lang: "ru-RU"(s)
        fontversion: 2147483647(i)(s)
        embolden: FcFalse(s)
        embeddedbitmap: FcTrue(s)
        decorative: FcFalse(s)
        lcdfilter: 1(i)(s)
        render: FcTrue(s)
        maxglyphmemory: 1048576(i)(s)

Best score 1 1 1 1001 3 0 0 0 1 20001 1 1 0 0 0 2.14748e+12
Pattern has 15 elts (size 15)
        family: "Nimbus Roman No9 L"(w)
        style: "Regular"(w)
        slant: 0(i)(w)
        weight: 80(i)(w)
        width: 100(i)(w)
        foundry: "urw"(w)
        file: "/usr/share/fonts/X11/Type1/n021003l.pfb"(w)
        index: 0(i)(w)
        outline: FcTrue(w)
        scalable: FcTrue(w)
        charset: 
        0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff 
ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff 00040000 00000000 00000000 
00000000
        0002: 0f000000 00000000 00000000 00000000 00000000 00000000 3f0002c0 
00000000
        0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 
00000000
        0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 
033fffff
        0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 
00000000
        0021: 00400000 00000004 00000000 00000000 00000000 00000000 00000000 
00000000
        0022: 46260044 00000000 00000000 00000031 00000000 00000000 00000000 
00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 
00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 
00000000
        00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
(w)
        lang: 
aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(w)
        fontversion: 0(i)(w)
        fontformat: "Type 1"(w)
        decorative: FcFalse(w)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]