From: Philip Belemezov <philip.belemezov@googlemail.com>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: [emacs-unicode-2] incorrectly displayed cyrillic symbols
Date: Mon, 20 Aug 2007 06:11:15 +0200 [thread overview]
Message-ID: <1187583076.5399.26.camel@localhost> (raw)
In-Reply-To: <E1IMvxW-0004UI-5D@etlken.m17n.org>
Hello Kenichi!
Thank you for the response!
Emacs is started with the following command:
emacs --enable-font-backend --font "Dejavu Sans Mono-8"
You're right about this being a font issue. The output of `C-u C-x =' on
a Cyrillic letter is
----
character: к (1082, #o2072, #x43a)
preferred charset: iso-8859-5 (ISO/IEC 8859/5)
code point: 0xDA
syntax: w which means: word
category: Y:Cyrillic characters of 2-byte character sets
c:Chinese h:Korean j:Japanese
y:Cyrillic
buffer code: #xD0 #xBA
file code: #xD0 #xBA (encoded by coding system utf-8-unix)
display: by this font (glyph code)
-unknown-freeserif-medium-r-normal--11-79-100-100-p-64-iso8859-5
(#xDA)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
fontified t
----
I don't understand why Emacs is using freeserif to render the glyph.
It's definitely not caused by a customization because the problem also
occurs if I run Emacs from a different login with no .emacs file.
I just tried `C-u C-x =' on a Greek letter (capital omega):
----
character: Ω (937, #o1651, #x3a9)
preferred charset: iso-8859-7 (ISO/IEC 8859/7)
code point: 0xD9
syntax: w which means: word
category: G:Greek characters of 2-byte character sets c:Chinese
g:Greek h:Korean
j:Japanese
buffer code: #xCE #xA9
file code: #xCE #xA9 (encoded by coding system utf-8-unix)
display: by this font (glyph code)
-dejavu-dejavu sans
mono-medium-r-normal--11-79-100-100-m-70-iso8859-7 (#xD9)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
fontified t
rear-nonsticky t
----
And the following is the output of `C-u C-x =' on a katakana letter
(GI):
----
character: ギ (12462, #o30256, #x30ae)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
code point: 0x252E
syntax: w which means: word
category: K:Japanese Katakana characters of 2-byte character
sets c:Chinese
h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE3 #x82 #xAE
file code: #xE3 #x82 #xAE (encoded by coding system utf-8-unix)
display: by this font (glyph code)
-ISAS-Song ti-Medium-R-Normal--24-240-72-72-c-240-GB2312.1980-0
(#x252E)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
fontified t
rear-nonsticky t
----
I started Emacs with "Dejavu Sans Mono-16" and took a screenshot of how
the glyphs are rendered [1].
Best regards,
Philip
[1]
http://www.informatik.uni-bremen.de/~iblender/emacs/emacs-23-large-font.png
On Mon, 2007-08-20 at 10:21 +0900, Kenichi Handa wrote:
> Very sorry for the late response.
>
> In article <1185031803.2604.18.camel@localhost>, Philip Belemezov <philip.belemezov@googlemail.com> writes:
>
> > I've been using emacs-unicode-2 for some time (maybe a year), updating
> > from CVS every week. About a month or two ago, Emacs started displaying
> > cyrillic symbols in a very ugly way [1], regardless of (font)
> > customizations [2]. Current Emacs 22 does not have this problem [3].
>
> > Emacs 23 was compiled using `configure --enable-font-backend
> > --with-freetype --with-gtk --with-jpeg --with-png --with-tiff
> > --with-toolkit-scroll-bars --with-xft --with-xpm --without-gif'
>
> > Is this a known issue? Is there a fix available?
>
> > Thanks!
>
> > [1] Emacs 23 using DejaVu Sans Mono with enabled font backend:
> > http://www.informatik.uni-bremen.de/~iblender/emacs/emacs-23.png
> > [2] Emacs 23 with no customizations, i.e. default:
> > http://www.informatik.uni-bremen.de/~iblender/emacs/emacs-23-default.png
> > [3] Emacs 22:
> > http://www.informatik.uni-bremen.de/~iblender/emacs/emacs-22.png
>
> Please move cursor on a Cyrillic character, type C-u C-x =,
> and check which font is used for displaying it for the above
> cases.
>
> And, how did you specify "Dejavu Sans Mono" in case [1]?
>
> ---
> Kenichi Handa
> handa@m17n.org
next prev parent reply other threads:[~2007-08-20 4:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 15:30 [emacs-unicode-2] incorrectly displayed cyrillic symbols Philip Belemezov
2007-08-20 1:21 ` Kenichi Handa
2007-08-20 4:11 ` Philip Belemezov [this message]
2007-08-20 5:03 ` Kenichi Handa
2007-08-20 12:20 ` Philip Belemezov
2007-08-21 10:58 ` Kenichi Handa
2007-08-21 17:19 ` Philip Belemezov
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=1187583076.5399.26.camel@localhost \
--to=philip.belemezov@googlemail.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.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.