all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.