emacs-devel
[Top][All Lists]
Advanced

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

Re: [emacs-unicode-2] incorrectly displayed cyrillic symbols


From: Philip Belemezov
Subject: Re: [emacs-unicode-2] incorrectly displayed cyrillic symbols
Date: Mon, 20 Aug 2007 06:11:15 +0200

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 <address@hidden>, Philip Belemezov <address@hidden> 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
> address@hidden





reply via email to

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