From: Kan-Ru Chen <kanru@kanru.info>
To: 10179@debbugs.gnu.org
Subject: bug#10179: 24.0.91; enforcing double-width CJK character display
Date: Thu, 01 Dec 2011 21:26:31 +0800 [thread overview]
Message-ID: <87ipm04e48.fsf@isil.kanru.info> (raw)
Discussion was started by Werner LEMBERG in this thread:
https://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00938.html
Currently Emacs chooses fonts that has width close to the width of
the default font. But the font may have smaller advance width so a
double width character will not be rendered as wide as twice of a latin
character.
I set `face-font-rescale-alist' for every font that might be used as a
workaround:
(setq face-font-rescale-alist
'(("WenQuanYi Micro Hei" . 1.2)
("cwTexYen" . 1.35)
("AR Heiti Light B5" . 1.2)))
Ideally this should be calculated and applied automatically (I believe
the information has been exported to lisp but haven't find a good way to
manipulate the font-object) or the display engine should add padding to
double-width font so they are rendered nicely.
--
Kanru
next reply other threads:[~2011-12-01 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-01 13:26 Kan-Ru Chen [this message]
2011-12-01 20:08 ` bug#10179: 24.0.91; enforcing double-width CJK character display Werner LEMBERG
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipm04e48.fsf@isil.kanru.info \
--to=kanru@kanru.info \
--cc=10179@debbugs.gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).