GNU bug report logs -
#61619
30.0.50; Emacs on Android cannot type or display CJK characters
Previous Next
To reply to this bug, email your comments to 61619 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61619
; Package
emacs
.
(Sun, 19 Feb 2023 09:32:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"LeiYiXia29 <at> outlook.com" <LeiYiXia29 <at> outlook.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 19 Feb 2023 09:32:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Emacs on Android cannot type or display CKJ characters.
When I use a pinyin input method. Emacs recognizes CJK characters as <dead-circumflex> keys. Then it displays messages like "<dead-circumflex> RET is undefined".
Emacs cannot display CJK characters as well.
安卓上的Emacs无法输入中文,也无法显示中文。
用华为输入法(com.baidu.input_huawei)的拼音输入中文时会识别成<dead-circumflex>按键,导致无法输入中文
同时中文字符也无法正常显示。
In GNU Emacs 30.0.50 (build 1, armv7a-unknown-linux-android22) of 2023-02-18 built on localhost Configured using: 'configure --with-png=yes --with-webp=yes --with-gif=yes --with-json=ifavailable --with-jpeg=yes --with-xml2=yes --with-sqlite3=yes --with-gnutls=ifavailable --with-tiff=yes 'CFLAGS= -Werror=implicit-function-declaration'' Configured features: NOTIFY INOTIFY PDUMPER SECCOMP ZLIB Important settings: locale-coding-system: nil Major mode: Fundamental Minor modes in effect: icomplete-mode: t fido-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils modus-vivendi-tinted-theme modus-themes cl-macs gv subr-x icomplete cl-loaddefs cl-lib cus-load rmc iso-transl tooltip cus-start cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel android-win term/common-win ls-lisp touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote inotify android multi-tty make-network-process emacs) Memory information: ((conses 8 104634 11746) (symbols 24 8598 0) (strings 16 19237 1931) (string-bytes 1 487952) (vectors 8 11352) (vector-slots 4 159499 20358) (floats 8 66 224) (intervals 28 495 54) (buffers 568 11))
来自我的华为手机
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61619
; Package
emacs
.
(Sun, 19 Feb 2023 11:40:04 GMT)
Full text and
rfc822 format available.
Message #8 received at 61619 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"LeiYiXia29 <at> outlook.com" <LeiYiXia29 <at> outlook.com> writes:
> 安卓上的Emacs无法输入中文,也无法显示中文。
>
> 用华为输入法(com.baidu.input_huawei)的拼音输入中文时会识别成<dead-circumflex>按键,导致无法输入中文
The problem is twofold: firstly, you are using an outdated build from
F-Droid.
> 同时中文字符也无法正常显示。
Secondly, you need to install a suitable Chinese TrueType font to
~/fonts. Of course, this will only work if you update Emacs.
Most of my testing was done with PingFang SC. I am attaching a version
instructed with ttfautohint.
[PingFangSC.ttf (font/ttf, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61619
; Package
emacs
.
(Sun, 19 Feb 2023 12:08:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 61619 <at> debbugs.gnu.org (full text, mbox):
> Cc: 61619 <at> debbugs.gnu.org
> Date: Sun, 19 Feb 2023 19:06:16 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Most of my testing was done with PingFang SC. I am attaching a version
> instructed with ttfautohint.
That attachment file was 21MB large! Please don't post such large
attachments in public responses, please either upload it to some
place, or send off-list to people who ask for that explicitly.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61619
; Package
emacs
.
(Sun, 19 Feb 2023 12:23:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 61619 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: 61619 <at> debbugs.gnu.org
>> Date: Sun, 19 Feb 2023 19:06:16 +0800
>> From: Po Lu via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> Most of my testing was done with PingFang SC. I am attaching a version
>> instructed with ttfautohint.
>
> That attachment file was 21MB large! Please don't post such large
> attachments in public responses, please either upload it to some
> place, or send off-list to people who ask for that explicitly.
I didn't realize, my bad. I had fixed Emacs to mmap fonts into memory
and somehow concluded that the actual memory usage of all of that font's
tables afterwards (~2 MB) was the actual size of the font file.
Sorry about that.
This bug report was last modified 2 years and 179 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.