all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: cmr.pent@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Strange font used for Cyrillic characters
Date: Thu, 20 Dec 2012 11:10:07 -0800 (PST)	[thread overview]
Message-ID: <e9eff387-522c-4428-b65a-c5362c19128c@googlegroups.com> (raw)
In-Reply-To: <825ed608-b14f-4e8e-9949-2442582ddd8c@googlegroups.com>

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)



  parent reply	other threads:[~2012-12-20 19:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 21:52 Strange font used for Cyrillic characters cmr.pent
2012-12-20  0:04 ` Peter Dyballa
2012-12-20  5:28   ` Андрей Парамонов
     [not found]   ` <mailman.15730.1355983288.855.help-gnu-emacs@gnu.org>
2012-12-20  6:58     ` Jason Rumney
2012-12-20 19:10 ` cmr.pent [this message]
2012-12-20 21:23   ` Peter Dyballa
2012-12-21  9:10   ` Jason Rumney
2012-12-21 12:55     ` cmr.pent
2012-12-20 19:35 ` Oleksandr Gavenko
     [not found] ` <mailman.15786.1356032127.855.help-gnu-emacs@gnu.org>
2012-12-20 21:19   ` cmr.pent
2012-12-20 21:31     ` Peter Dyballa
2012-12-20 21:40       ` Андрей Парамонов
2012-12-20 22:01         ` Peter Dyballa
2012-12-21  9:14     ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9eff387-522c-4428-b65a-c5362c19128c@googlegroups.com \
    --to=cmr.pent@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.