From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: composed characters question and suggestions for quail-cyrillic-* Date: Fri, 13 Jun 2008 16:56:20 +0100 Message-ID: <485298A4.30000@gnu.org> References: <86lk19mmua.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213372669 21931 80.91.229.12 (13 Jun 2008 15:57:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 15:57:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 13 17:58:32 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 1K7Bf9-0002Ka-VE for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 17:58:04 +0200 Original-Received: from localhost ([127.0.0.1]:38189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7BeM-0001vr-27 for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 11:57:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7Bdl-0001Y4-R1 for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:56:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7Bdj-0001XG-UJ for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:56:37 -0400 Original-Received: from [199.232.76.173] (port=57374 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7Bdj-0001XD-RO for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:56:35 -0400 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]:60970) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7Bdj-0003gQ-JN for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:56:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwFANz0TUhTQxds/2dsb2JhbACBW61Z X-IronPort-AV: E=Sophos;i="4.27,639,1204502400"; d="scan'208";a="96907004" X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 13 Jun 2008 16:56:33 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 113DD412; Fri, 13 Jun 2008 16:57:07 +0100 (BST) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <86lk19mmua.fsf@lifelogs.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:99119 Archived-At: Ted Zlatanov wrote: > It really looks unpleasant in the font recorded here, taking up two rows > so the accent can be displayed alone on top of the letter, so I'm > curious if Emacs will pick the right appearance if the font has an > accented version of the character. No. There are no unicode codepoints for those accented characters AFAICS so we can't do the substitution within Emacs. The only way to combine them would be if the font contained GSUB (glyph substitution) tables with entries for those sequences of characters, and Emacs had been told to use font-shape-text for displaying Cyrillic (currently it is only used for Indic and some South East Asian scripts, but should be for Arabic as well). The library that Emacs uses for shaping (libotf/m17n-flt or on Windows uniscribe) might need some knowledge of those accented characters as well, I'm not entirely sure of how glyph shaping all fits together. Different fonts might have different metrics for the accent characters though, which could improve the appearance.