From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Cairo font selection for Ethiopic Date: Fri, 21 Jun 2019 10:05:51 +0200 Message-ID: <87zhmbicrk.fsf@gmx.net> References: <87pnn8cawu.fsf@rub.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="47157"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 21 10:07:49 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1heEaK-000C7w-Fj for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2019 10:07:48 +0200 Original-Received: from localhost ([::1]:55458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heEaJ-0006Rv-FS for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2019 04:07:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49071) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heEZo-0005ys-Lj for emacs-devel@gnu.org; Fri, 21 Jun 2019 04:07:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heEZ5-00059J-Vd for emacs-devel@gnu.org; Fri, 21 Jun 2019 04:07:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:58449) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heEZ4-00054Q-7y for emacs-devel@gnu.org; Fri, 21 Jun 2019 04:06:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1561104355; bh=wsE+QNfYOmRvUJBJFx7cbZAhaph5nCcDe/DGF7ECaRQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Jt15AF5blJEnRdp7qy/HuiDDylPk4MKOo+iYoQWe8VTbrr7FHO5b2Dd4QR0XPTZOT Q3+NqCfYgPKFUXcU+QXBM9DXnGQkmrHl+WCDx56hdlPCVMaNtIhCLjhUznAHd0q60H JUrAsEhFKXKUkCJHt86H4HlW8VWH6EblHzMEif9E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from linux-a75o ([84.61.247.161]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MTO3f-1i4S6W0luR-00SQRX; Fri, 21 Jun 2019 10:05:55 +0200 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 21 Jun 2019 10:54:03 +0900") X-Provags-ID: V03:K1:YEoIfAbzCMLnDw51/v9BKGV7flZtlDFIY4iiJUIsyF3CrjHKHiV aGDzCs2g9Uq+4YBlCNw2MPuhXMztzclzPvE+DRRlYwHMPxQzX5kpYETwrI2mOwEZyJIvCZC glnmYm5ksshtCJe2uK6YRP9NKzJCgAB6Bt8xi7vKYfoVwXhFGWh/bP05b2cv0+bVl3oLcoO Gt5Vqlk2Kh/bV7r8OnHTQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:II4V5vKE4XA=:JWrs+HIOYYtldMlzNkymYb B06JRw1zxf2OHKFSd3xXRaTwfpSqwi8n2BSYXfM975t59y7Rc8Ps6XG7XGv1Eux3930/WR7RV 1HoRwEcQgoTKSM+C76ToMN+HlZmUP1M05iBItWgVAeYaGIA7E5cmimQFUlhnvtaH842jkcIMs KWGdX8lkEE13R1XSL6Grtih0yI+DJYVwf1Fm9tqCaYlXSjGS6sWGlEaQlHtzwcvt1e+1QkdHl eyr/U1jjPBirK3I4SW7RZovK7SAQZDzAKq38OuUAp/sZ5uENwAYnRWQE2pNgvlEafOXtI8VsW ves4cYOTcKEWfE1nacDleJhrFKq4Q6Pl1+FZTDcIS0izCicJeW/HACTjFjsGMmgIXCJxOEO3e 6T/aXPIc3YOSpxEtHi6GApxuGCJ9/lsijZN5BQYA612DJZjqTl4zp6CH1Cq0GnoRZv26wAiI1 +HCixOERFcacXUEhIeKAypj8WNUKha/bXhYTMCrGvnjSLkLuFuZTflFsq0koNAt5U62hIPsRM 2+LKnoHgHakU52N+mjpKGW6eaNDDUgMGI5bZtu/SB13lI0iNaQoCGRpCzduK9yXxxKJnmn9C/ XxvqjLM4MvFw0sC4ohGCcL+4hfQKjvrvaTnsx5+zrUgSswmsZ/ZGzFS4UcJEJyfTXN2EIIpL5 Hzi9OCIRv7IWl6YRPYJv6zhmO/+SjWb7SCrn2Pc13PCVO5utlOD801+KRHFIY/nPklbLiuV3R yfcEEwBCOkdbETw4UIxEM2FxDNzFSgmRQWH/mpgNb1aWOpB1YbMyIQAbM8+xNCMTXbiLd4ug X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237998 Archived-At: On Fri, 21 Jun 2019 10:54:03 +0900 YAMAMOTO Mitsuharu wrote: > On Fri, 21 Jun 2019 04:30:09 +0900, > Stephen Berman wrote: >> >> I don't know if this is a bug or just the way Cairo works. On two >> different GNU/Linux systems I have built Emacs both --with-cairo and >> without. The non-Cairo builds use Xft as the font backend. On those >> builds the Ethiopic scripts (Amharic and Tigrinya) in HELLO are >> displayed with the Goha-Tibeb Zemen font. In the Cairo builds this fon= t >> is not used for these scripts; instead, on one system they are displaye= d >> with a mix of GNU Unifont and mutt-clearlyu, and on the other system, >> which lacks these fonts, only hex boxes are displayed. Is there >> something about Goha-Tibeb Zemen that is incompatible with Cairo? > > Goha-Tibeb Zemen does not have glyphs for ASCII printables that the > ftcr font backend relies on computing minimum/average/space width when > opening the font. The patch below should simulate the Xft behavior. Thanks. I rebuilt Emacs --with-cairo with this patch but the Ethiopic scripts in HELLO are still not displayed with Goha-Tibeb Zemen but also not with the same fonts as before: now they are uniformly displayed with -Misc-Misc Fixed Wide-normal-normal-normal-ja-13-*-*-*-c-120-iso10646-1 Is this the intended result of the patch? Steve Berman