all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kan-Ru Chen <kanru@kanru.info>
To: emacs-devel@gnu.org
Subject: Re: enforcing double-width CJK character display
Date: Sun, 24 Jul 2011 21:39:58 +0800	[thread overview]
Message-ID: <874o2bajbl.fsf@isil.kanru.info> (raw)
In-Reply-To: 20110724.151758.438658364.wl@gnu.org

Werner LEMBERG <wl@gnu.org> writes:

>   1. scale the CJK font so that its (CJK) glyphs are exactly the
>      double width of a given mono-width font
>
>   2. pad the CJK font horizontally with space around each CJK
>      character
>
> I tend towards solution 2 and I wonder whether Emacs already provides
> a means to do that, or maybe this can be handled on the FontConfig
> level.

+1 for this.

Without this I will be always bound to tty emacs. You can see how gvim
handle this. But I'm thinking of the case where many different size
font-face was used on the same buffer.

Ex: http://farm1.static.flickr.com/107/312993958_fb13a395f5_o.png

How do you decide the proper font size?

-- 
Kanru




  reply	other threads:[~2011-07-24 13:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 12:40 enforcing double-width CJK character display Werner LEMBERG
2011-07-24 12:47 ` Eli Zaretskii
2011-07-24 13:17   ` Werner LEMBERG
2011-07-24 13:39     ` Kan-Ru Chen [this message]
2011-07-24 14:01       ` Werner LEMBERG
2011-07-24 14:38         ` Kan-Ru Chen
2011-07-24 15:59       ` Štěpán Němec
2011-07-24 17:01     ` Eli Zaretskii
2011-11-11  8:49     ` Kan-Ru Chen
2011-12-01  9:55       ` Werner LEMBERG
2011-12-01 14:00         ` Kan-Ru Chen
2011-12-01 20:04           ` Werner LEMBERG
2011-07-26  5:48 ` Ivan Kanis
2011-07-26 20:13   ` Werner LEMBERG
2011-07-26 20:27     ` Eli Zaretskii
2011-07-27  0:14     ` David De La Harpe Golden
2011-07-27  4:27       ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874o2bajbl.fsf@isil.kanru.info \
    --to=kanru@kanru.info \
    --cc=emacs-devel@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 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.