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

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

Re: How to enforce unicode font for all charsets?


From: Eli Zaretskii
Subject: Re: How to enforce unicode font for all charsets?
Date: Fri, 13 Mar 2020 16:21:31 +0200

> From: Sergey Organov <sorganov@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Fri, 13 Mar 2020 14:58:04 +0300
> 
> > Thanks for the recipe.  Please go to each "привет" in the test buffer
> > and type "C-u C-x =", then show what the *Help* buffer displays for
> > each of the two.
> 
> Here are the results:
> 
> --- >8 ---
>              position: 24 of 60 (38%), column: 23
>             character: п (displayed as п) (codepoint 1087, #o2077, #x43f)
>     preferred charset: windows-1251 (WINDOWS-1251 (Cyrillic))
> code point in charset: 0xEF
>                script: cyrillic
>                syntax: w      which means: word
>              category: .:Base, L:Left-to-right (strong), Y:2-byte Cyrillic, 
> c:Chinese, h:Korean, j:Japanese, y:Cyrillic
>              to input: type "C-x 8 RET 43f" or "C-x 8 RET CYRILLIC SMALL 
> LETTER PE"
>           buffer code: #xD0 #xBF
>             file code: #xD0 #xBF (encoded by coding system utf-8-unix)
>               display: by this font (glyph code)
>     x:-xos4-terminus-medium-r-normal--16-160-72-72-c-80-microsoft-cp1251 
> (#xEF)
> 
> Character code properties: customize what to show
>   name: CYRILLIC SMALL LETTER PE
>   general-category: Ll (Letter, Lowercase)
>   decomposition: (1087) ('п')
> 
> There are text properties here:
>   charset              windows-1251
> --- >8 ---
>              position: 54 of 60 (88%), column: 23
>             character: п (displayed as п) (codepoint 1087, #o2077, #x43f)
>     preferred charset: unicode (Unicode (ISO10646))
> code point in charset: 0x043F
>                script: cyrillic
>                syntax: w      which means: word
>              category: .:Base, L:Left-to-right (strong), Y:2-byte Cyrillic, 
> c:Chinese, h:Korean, j:Japanese, y:Cyrillic
>              to input: type "C-x 8 RET 43f" or "C-x 8 RET CYRILLIC SMALL 
> LETTER PE"
>           buffer code: #xD0 #xBF
>             file code: #xD0 #xBF (encoded by coding system utf-8-unix)
>               display: by this font (glyph code)
>     xft:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 
> (#x37E)

So the windows-1251 charset is displayed by (a non-TrueType) font
"Terminus", for some reason.  It's a bitmap font, so maybe just
uninstalling it will fix your problem.  Or did it come with your
system's installation OOTB?

> Please confirm I need to report a bug based on the above information.

Please do, unless you can try the latest pretest of Emacs 27, and the
problem doesn't exist there.



reply via email to

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