From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43058: 27.1; Support for other colour font formats Date: Thu, 22 Sep 2022 10:10:53 +0300 Message-ID: <831qs3ubnm.fsf@gnu.org> References: <83v9h537tj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22060"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43058@debbugs.gnu.org, lists.gnu.org@mavit.org.uk To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 22 09:11:56 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obGNI-0005cD-OX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 09:11:56 +0200 Original-Received: from localhost ([::1]:46244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obGNH-0000aN-9j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 03:11:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obGMQ-0000YW-Cm for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 03:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obGMQ-0004XJ-4d for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 03:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obGMP-0000Be-VT for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 03:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2022 07:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43058 X-GNU-PR-Package: emacs Original-Received: via spool by 43058-submit@debbugs.gnu.org id=B43058.1663830651689 (code B ref 43058); Thu, 22 Sep 2022 07:11:01 +0000 Original-Received: (at 43058) by debbugs.gnu.org; 22 Sep 2022 07:10:51 +0000 Original-Received: from localhost ([127.0.0.1]:36068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obGME-0000B2-Sy for submit@debbugs.gnu.org; Thu, 22 Sep 2022 03:10:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obGMD-0000AN-Gk for 43058@debbugs.gnu.org; Thu, 22 Sep 2022 03:10:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obGM6-0004IG-W3; Thu, 22 Sep 2022 03:10:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YdJTRxLDAtvXaj7FlEVetYzFqclyZ2wrdEOnctVdB0I=; b=PVkNEjpRAkfP j0teomFM1y44NmMJuIY4HMtYpC1ZDD9zh4r95cFoTDIPPCv7YQjwg9ft7nJCMmOR/z33l9MMn8olK OyiBiA1tlECQrLFdr2kcgylvfKg9wkGnYVI1kQVlbbz+lpnxswCYlmoU148QyUbWwg2daEP4xRUR9 Bb5xp3nQFITkggzhPf2ogwMmKSSHYWRDOu5Z/9TZTou1wCNGOw9FUHbe9U8ZrvxIhbB2kNaBYUBqH B/H3ydTRXHAezqVL7gpeBt+xoJhtsVrxEECci8BtdwEMrLTfCNd2Tw30dEwBoiRSBB0Ni+lRjhrP6 OMc6ocdiK06ar4PV9mZuMg==; Original-Received: from [87.69.77.57] (port=4137 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obGM6-0002Ug-5l; Thu, 22 Sep 2022 03:10:42 -0400 In-Reply-To: (message from YAMAMOTO Mitsuharu on Thu, 22 Sep 2022 11:45:02 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243401 Archived-At: > Date: Thu, 22 Sep 2022 11:45:02 +0900 > From: YAMAMOTO Mitsuharu > Cc: Eli Zaretskii , > 43058@debbugs.gnu.org > > This font is rejected by the ftcr(hb) font backend because its average > width is computed as 0. The average width is approximated by that of > all ASCII chars, and the width of glyph ID 0 is used for missing ones. > OpenMoji Color does not have several ASCII chars, and the width of > glyph ID 0 is 0. That's why the average width becomes 0 there. > > The patch below avoids this by taking the average of non-zero width of > the ASCII chars. But glyphs are not displayed because SVG-in-OpenType > support in cairo is still in progress: > https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/319 Does this mean the patch, if installed, will not reject the font, but will also not display its glyphs? If so, doesn't it mean we should install this patch conditioned on some (future) Cairo version, where these glyphs will be displayed? As long as Cairo doesn't support that, I think rejecting these fonts is the best we can do, right? Thanks.