From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.bugs Subject: bug#43058: 27.1; Support for other colour font formats Date: Wed, 26 Aug 2020 13:24:05 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18564"; mail-complaints-to="usenet@ciao.gmane.io" To: 43058@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 14:25:32 2020 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 1kAuUd-0004hL-Q5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 14:25:31 +0200 Original-Received: from localhost ([::1]:34112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAuUc-0000sR-7s for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 08:25:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAuUA-0000sI-NF for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 08:25:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAuUA-00051n-Dw for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAuUA-0003yU-8T for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Oliver Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43058 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159844467315231 (code B ref -1); Wed, 26 Aug 2020 12:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Aug 2020 12:24:33 +0000 Original-Received: from localhost ([127.0.0.1]:37631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAuTg-0003xa-MS for submit@debbugs.gnu.org; Wed, 26 Aug 2020 08:24:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAuTc-0003xR-SD for submit@debbugs.gnu.org; Wed, 26 Aug 2020 08:24:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAuTc-0000qE-MM for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 08:24:28 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:55489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAuTZ-0004yL-Rg for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 08:24:28 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id a65so1540405wme.5 for ; Wed, 26 Aug 2020 05:24:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=YGqLKC4hbfowjO6TZbkq0NJjmU8ShjXZnYY4dc5j57w=; b=KWIgWKVRz1gmXVaWb5JTZbJmm9XKW8PFlKUaNHZlJQGtZa/O+F5lQsX9Y0Lv7dh/vh r+i1YIFJYd5TmfqPViHa5lMhfGOeQIDq+dDzoNCMo3cZlhwJhiO1N2TsJTWLouw4ocJv oVwdTgkZxiuCuUdAVW4NfDbNXM5ug8KlZVkjf5LPreFGbArSDFhxLdKlGXQ1LppiFa2h rItYheeaJUgk/Oir0DYHDMtCrzP2mKmDwzqEM4Aj996rzp8p5RpklRUsGjjSI+7TT7VW 8Lm0qBjRO+dZQo/gGpZiOm7oIsIydVLJyt+OKvuLNfipPsvSU/3K6e7jdWfvJks7fXRO nF0g== X-Gm-Message-State: AOAM531omSVowdKX6/VIEQYHyHbmWCTcIPZvrXGcxGsp/xtL/98n7Gh+ fGqospOMXsj5xko+ivu4Bt33oowV+X5lnoBO X-Google-Smtp-Source: ABdhPJxPheXfiA1wAioAOGHOL+hEZhg7s9zd5sPzJDezJk2PyXs/VgbeTx39aJl/m6UeQgbU1e0S4w== X-Received: by 2002:a1c:2b43:: with SMTP id r64mr6711464wmr.105.1598444662870; Wed, 26 Aug 2020 05:24:22 -0700 (PDT) Original-Received: from froglet.home.mavit.org.uk (cpc119764-dudl14-2-0-cust127.16-1.cable.virginm.net. [82.27.240.128]) by smtp.gmail.com with ESMTPSA id d21sm5441620wmd.41.2020.08.26.05.24.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 05:24:22 -0700 (PDT) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.15.2/8.15.2) with ESMTPS id 07QCOLLL013902 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 26 Aug 2020 13:24:21 +0100 Original-Received: (from mavit@localhost) by froglet.home.mavit.org.uk (8.15.2/8.15.2/Submit) id 07QCOLov013901; Wed, 26 Aug 2020 13:24:21 +0100 Received-SPF: pass client-ip=209.85.128.52; envelope-from=mavit@mavit.org.uk; helo=mail-wm1-f52.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/26 08:24:23 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:186427 Archived-At: As I understand it, there are four competing standards for colour in TFF fo= nts: CBDT (Google), COLR (Microsoft), SBIX (Apple) and SVG (W3C). I have tried CBDT, COLR and SVG in Emacs 27.1 on Fedora 32, and only CBDT w= orks for me. Gnome on Fedora 32 supports both CBDT and COLR, suggesting that the underly= ing libraries have the necessary support for COLR. CBDT is a bitmap format, whereas COLR is a vector format; it would be good = to be able to support both. Further, the existence of https://github.com/g= ooglefonts/colr-gradients-spec implies that Google could be considering swi= tching from CBDT to COLR, suggesting the possibility that the CBDT format c= ould become obsolete. The NEWS file for Emacs 27.1 says: =E2=80=9CMulticolor fonts such as "Noto Color Emoji" can be displayed on Emacs configured with Cairo drawing and linked with cairo >=3D 1.16.0.=E2= =80=9D I would submit a patch to change this to mention that only CBDT is currentl= y supported, but I=E2=80=99m not sure if that=E2=80=99s true on, e.g., Wind= ows or MacOS. In GNU Emacs 27.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.21, = cairo version 1.16.0) of 2020-08-20 built on buildvm-x86-24.iad2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.12008000 System Description: Fedora 32 (Workstation Edition) Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno --with-xwidgets --with-modules --with-harfbuzz --with-cairo --with-json build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER GMP Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix --=20 Peter Oliver