[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to enforce unicode font for all charsets?
From: |
Sergey Organov |
Subject: |
Re: How to enforce unicode font for all charsets? |
Date: |
Fri, 13 Mar 2020 19:38:04 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Sergey Organov <sorganov@gmail.com>
>> Cc: help-gnu-emacs@gnu.org
>> Date: Fri, 13 Mar 2020 17:54:51 +0300
>>
>> > Is the snapshot you installed using the HarfBuzz library? (If it
>> > does, you should see it in the output of "C-u C-x =".) If it doesn't,
>> > please try a build that does use HarfBuzz, which is now the default
>> > font backend in Emacs, before you decide that the issue still exists
>> > in the latest codebase.
>>
>> I didn't built it myself and have no idea what HarfBuzz is, here is the
>> output of "C-u C-x =":
>>
>> --- >8 ---
>> position: 24 of 60 (38%), column: 23
>> character: п (displayed as п) (codepoint 1087, #o2077, #x43f)
>> 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)
>
> The output for the other string, the one with the 'unicode' charset,
> is the telltale sign. It shouldn't show "xft" before the font name.
It shows:
ftcrhb:-PfEd-DejaVu Sans
Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x37E)
so it must be HarfBuzz?
> Also, system-configuration-features should include "HARFBUZZ" if Emacs
> was built with HarfBuzz.
system-configuration-features is a variable defined in ‘C source code’.
Its value is
"XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2
GMP"
Yeah, it is.
-- Sergey
- Re: How to enforce unicode font for all charsets?, (continued)
- Re: How to enforce unicode font for all charsets?, Sergey Organov, 2020/03/13
- Re: How to enforce unicode font for all charsets?, Eli Zaretskii, 2020/03/13
- Re: How to enforce unicode font for all charsets?, Sergey Organov, 2020/03/13
- Re: How to enforce unicode font for all charsets?, Eli Zaretskii, 2020/03/13
- Re: How to enforce unicode font for all charsets?, Robert Pluim, 2020/03/13
- Re: How to enforce unicode font for all charsets?, Eli Zaretskii, 2020/03/13
- Re: How to enforce unicode font for all charsets?, Robert Pluim, 2020/03/14
- Re: How to enforce unicode font for all charsets?, Eli Zaretskii, 2020/03/14
- Re: How to enforce unicode font for all charsets?,
Sergey Organov <=