From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.devel Subject: Re: Interesting combining character issue Date: Fri, 05 Dec 2008 04:14:43 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228468961 27591 80.91.229.12 (5 Dec 2008 09:22:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2008 09:22:41 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 05 10:23:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L8WuR-00018i-22 for ged-emacs-devel@m.gmane.org; Fri, 05 Dec 2008 10:23:39 +0100 Original-Received: from localhost ([127.0.0.1]:48470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8WtG-0004Gl-0n for ged-emacs-devel@m.gmane.org; Fri, 05 Dec 2008 04:22:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8WtA-0004Gg-Mg for emacs-devel@gnu.org; Fri, 05 Dec 2008 04:22:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8Wt8-0004GU-Bx for emacs-devel@gnu.org; Fri, 05 Dec 2008 04:22:19 -0500 Original-Received: from [199.232.76.173] (port=58207 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8Wt8-0004GR-6L for emacs-devel@gnu.org; Fri, 05 Dec 2008 04:22:18 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]:46001) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L8Wt7-0003nw-RJ for emacs-devel@gnu.org; Fri, 05 Dec 2008 04:22:18 -0500 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 2F91B400A8; Fri, 5 Dec 2008 08:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1228467476; bh=eCUHuOiVd7RiZZ2iMJdz0kaY0kV8+4GFFfPyUVIqv nc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=hGi+r7thxrnwxjz8B0t1McltLHKX8zjJ5AVcx OTLjscbThDHholVknWl02tE9ENjYxjoeccoE7S9Q0IIj+TxCvNK3jWtR+lJkVxXyk1Y RzGiH3Fh/dn+nU9bJSpOfqQhpLDsjKxHQXkESt4qctAsDxv+M9D2ypVa61GuDE/WRjM = Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id B729AC6B2E; Fri, 5 Dec 2008 09:15:06 +0000 (UTC) In-Reply-To: (Kenichi Handa's message of "Fri, 05 Dec 2008 13:55:34 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2008 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 60 X-Hashcash: 1:23:081205:handa@m17n.org::hh/le7BHVaIFpy7O:000Nqnd X-Hashcash: 1:23:081205:monnier@iro.umontreal.ca::/+U9hQS2EXyVGW9U:0000000000000000000000000000000000000ZPyT X-Hashcash: 1:23:081205:emacs-devel@gnu.org::tpQS5iZ+bV1HWSsy:000000000000000000000000000000000000000001PME2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106599 Archived-At: >>>>> "Kenichi" == Kenichi Handa writes: Kenichi> The last vector is the information about the glyph of U+304 Kenichi> (COMBINING MACRON). Yours says that the glyph width is -9 Kenichi> (5th element), which is a little bit strange. Agreed. Kenichi> Please show me these info: Kenichi> % freetype-config --version Kenichi> % libotf-config --version Kenichi> % m17n-config --version Kenichi> Mine are 9.18.3, 0.9.8, 1.5.3 respectively. 9.18.3, 0.9.8, 1.5.1 I'm upgrading m17n now. Kenichi> And, please run the attached program as this: Kenichi> % fttest .../DejaVuSansMono.ttf 647 Kenichi> I got this: Kenichi> width=8, lbearing=2, rbearing=6, acsent=10, descent=-9 I got the same. Ignoring the glyf instructions, uni0304 looks like: ,----< excerpt from DejaVuSansMono.sfd > | StartChar: uni0304 | Encoding: 772 772 772 | Width: 1233 | Flags: W | AnchorPoint: "above" 616 1120 mark 0 | LayerCount: 2 | Fore | SplineSet | 317 1526 m 1,0,-1 | 915 1526 l 1,1,-1 | 915 1378 l 1,2,-1 | 317 1378 l 1,3,-1 | 317 1526 l 1,0,-1 | EndSplineSet | Position2: "'mark' Zero-Width Marks lookup" dx=0 dy=0 dh=-1233 dv=0 | EndChar `---- So it is a spacing glyph with a positioning command to make it work like a zero-width glyph. uni0304 in DejaVu Serif, OTOH, is a conventional zero-width glyph. I believe it was done this way to ensure that DejaVu Sans Mono gets listed as a monowidth font everywhere. Perhaps that is where the -9 comes from? -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6