From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cmr.pent@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Strange font used for Cyrillic characters Date: Thu, 20 Dec 2012 11:10:07 -0800 (PST) Message-ID: References: <825ed608-b14f-4e8e-9949-2442582ddd8c@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1356030620 19831 80.91.229.3 (20 Dec 2012 19:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2012 19:10:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 20 20:10:35 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TllVm-0004Mp-31 for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 20:10:30 +0100 Original-Received: from localhost ([::1]:36767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TllVY-0006Gx-A2 for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 14:10:16 -0500 X-Received: by 10.224.198.196 with SMTP id ep4mr1488786qab.3.1356030607767; Thu, 20 Dec 2012 11:10:07 -0800 (PST) Original-Received: by 10.49.48.41 with SMTP id i9mr1555677qen.36.1356030607750; Thu, 20 Dec 2012 11:10:07 -0800 (PST) Original-Path: usenet.stanford.edu!ee4no1204012qab.0!news-out.google.com!k2ni865qap.0!nntp.google.com!ee4no1250413qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <825ed608-b14f-4e8e-9949-2442582ddd8c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.179.245.94; posting-account=gGXeuQoAAAAj0VaJ1PQ4rEKCfxef3hne Original-NNTP-Posting-Host: 89.179.245.94 User-Agent: G2/1.0 Injection-Date: Thu, 20 Dec 2012 19:10:07 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:195939 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88256 Archived-At: Hmm, I've tried FC_DEBUG and C-u C-x =3D, 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 =3D position: 764 of 3233 (24%), column: 54 character: =D0=97 (displayed as =D0=97) (codepoint 1047, #o2027= , #x417) preferred charset: mule-unicode-0100-24ff (Unicode characters of the ra= nge 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 syst= em iso-2022-7bit-unix) display: by this font (glyph code) xft:-urw-Nimbus Roman No9 L-normal-normal-normal-*-15-*-*-*-*-0-iso1064= 6-1 (#x144) Character code properties: customize what to show name: CYRILLIC CAPITAL LETTER ZE general-category: Lu (Letter, Uppercase) decomposition: (1047) ('=D0=97') 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) "Time= s"(w) "Bitstream Vera Serif"(w) "DejaVu Serif"(w) "Times New Roman"(w) "Tho= rndale 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) "J= G LaoTimes"(w) "Saysettha Unicode"(w) "Pigiarniq"(w) "B Davat"(w) "B Compse= t"(w) "Kacst-Qr"(w) "Urdu Nastaliq Unicode"(w) "Raghindi"(w) "Mukti Narrow"= (w) "malayalam"(w) "Sampige"(w) "padmaa"(w) "Hapax Berb=C3=A8re"(w) "MS Min= cho"(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) "Ha= nyiSong"(w) "MgOpen Canonica"(w) "Sazanami Mincho"(w) "IPAMonaMincho"(w) "I= PAMincho"(w) "Kochi Mincho"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(= w) "AR PL Zenkai Uni"(w) "=EF=BC=AD=EF=BC=B3 =E6=98=8E=E6=9C=9D"(w) "ZYSong= 18030"(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 Konk= ani"(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) "seri= f"(w) "Nazli"(w) "Lotoos"(w) "Mitra"(w) "Ferdosi"(w) "Badr"(w) "Zar"(w) "se= rif"(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:=20 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff fffff= fff 0001: ffffffff ffffffff ffffffff ffffffff 00040000 00000000 00000000 00000= 000 0002: 0f000000 00000000 00000000 00000000 00000000 00000000 3f0002c0 00000= 000 0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 00000= 000 0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 033ff= fff 0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 00000= 000 0021: 00400000 00000004 00000000 00000000 00000000 00000000 00000000 00000= 000 0022: 46260044 00000000 00000000 00000031 00000000 00000000 00000000 00000= 000 0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 00000= 000 00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 00000= 000 00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000= 000 (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:=20 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff fffff= fff 0001: ffffffff ffffffff ffffffff ffffffff 00040000 00000000 00000000 00000= 000 0002: 0f000000 00000000 00000000 00000000 00000000 00000000 3f0002c0 00000= 000 0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 00000= 000 0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 033ff= fff 0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 00000= 000 0021: 00400000 00000004 00000000 00000000 00000000 00000000 00000000 00000= 000 0022: 46260044 00000000 00000000 00000031 00000000 00000000 00000000 00000= 000 0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 00000= 000 00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 00000= 000 00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000= 000 (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|k= i|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|s= w|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)