* bug#10179: 24.0.91; enforcing double-width CJK character display
@ 2011-12-01 13:26 Kan-Ru Chen
2011-12-01 20:08 ` Werner LEMBERG
0 siblings, 1 reply; 2+ messages in thread
From: Kan-Ru Chen @ 2011-12-01 13:26 UTC (permalink / raw)
To: 10179
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#10179: 24.0.91; enforcing double-width CJK character display
2011-12-01 13:26 bug#10179: 24.0.91; enforcing double-width CJK character display Kan-Ru Chen
@ 2011-12-01 20:08 ` Werner LEMBERG
0 siblings, 0 replies; 2+ messages in thread
From: Werner LEMBERG @ 2011-12-01 20:08 UTC (permalink / raw)
To: kanru; +Cc: 10179
Just to have the wishes directly visible in this bug report:
Another important parameter to configure is glyph padding since
scaling makes Emacs display CJK characters very slowly on X11 (before
the glyphs get cached). Additionally, lines with such scaled glyphs
become too high, causing irregular line spacing.
Werner
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-01 20:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 13:26 bug#10179: 24.0.91; enforcing double-width CJK character display Kan-Ru Chen
2011-12-01 20:08 ` Werner LEMBERG
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).