From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: double-width characters in tables Date: Tue, 12 Feb 2013 19:43:50 +0100 Message-ID: <877gmdcqzd.fsf@Rainer.invalid> References: <878v6tdcmm.fsf@ericabrahamsen.net> <87vc9xixze.fsf@bzg.ath.cx> <87vc9x4jwq.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Kps-0002bE-CF for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 13:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5Kpp-0000st-D2 for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 13:44:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:52114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Kpp-0000sZ-6E for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 13:44:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U5Kq3-0004UT-At for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 19:44:19 +0100 Received: from pd9eb2ef7.dip.t-dialin.net ([217.235.46.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Feb 2013 19:44:19 +0100 Received: from Stromeko by pd9eb2ef7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Feb 2013 19:44:19 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Abrahamsen writes: > Yes, org-string-width eventually calls string-width, so that behaves > "correctly" as far as it goes, but unfortunately that's not where the > value in the text properties comes from... > > 《蛙》 > 123456 > > Doesn't that line up for you? Those bracket characters come with their > own "whitespace", maybe this is clearer: > > 正能量 > 123456 > > One Chinese character should definitely take up two screen columns. That's a function of the font that is ultimately used and their run-length. Since you are unlikely to use a font that has _all_ those glyphs, eventually the ones that are missing in your specified font will be replaced with the glyph corresponding to the same codepoint in a different font if it exists or possibly a composition of multiple glyphs (if not you'll get a placeholder). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables