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 16:12:06 +0100 (BST) Message-ID: References: <83v9h537tj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1463811583-587403177-1598451811=:3319" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18441"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43058@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 17:16:03 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 1kAx9e-0004d6-Gp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 17:16:02 +0200 Original-Received: from localhost ([::1]:41644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAx9d-0002Wv-8y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 11:16:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAx6k-0007hR-FI for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 11:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAx6k-0003zI-57 for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 11:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAx6j-0007Mb-Vn for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 11:13:01 -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 15:13: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.159845473728241 (code B ref 43058); Wed, 26 Aug 2020 15:13:01 +0000 Original-Received: (at 43058) by debbugs.gnu.org; 26 Aug 2020 15:12:17 +0000 Original-Received: from localhost ([127.0.0.1]:40464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAx61-0007LR-4m for submit@debbugs.gnu.org; Wed, 26 Aug 2020 11:12:17 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:37130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAx5y-0007LE-JH for 43058@debbugs.gnu.org; Wed, 26 Aug 2020 11:12:16 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id x9so2144834wmi.2 for <43058@debbugs.gnu.org>; Wed, 26 Aug 2020 08:12:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-id; bh=UGJsOQu9gYDJiJOueuBUg6knDuSt3TjkqkOkFeNJOIM=; b=NYgh2P24bvmQavjhJhyk3/SuhusSfGaOsNr7fCX5fWGrMqkF5N8EzxMpskkxfTsx0l 9GT7zEPFF6e3t4eRFAkX7TrYX0lf4Jr6WngFx6a8WMNcXXskChsfyR/RjnqO/M6LOqcP 9SO9KymNdO1x7sNUTopl/CzFUIkfd7wT8bQghHVPHwgONZojPSunMSCDZ11fpAdWQSBU iesnsprtuv/Wp0x0SfKS0C1JMqXkTrW1Tqa3PjSPs3+rfCllaOaHVYyO3PZ5PlWs6INE SmpklZiFmtgRv0PxFApnTHqhKPbTxpgTu1XD0P9i1CEF//FffCMXEX0jzWx0YzQ1dq7y q6Bg== X-Gm-Message-State: AOAM530B5Vk0g4uPV9wyTFZsz3CHdEMrV4UWly6HOdSYLGMKrb8JxGC3 NHvWpiwdQXZiDmXaCnkZ0Nsm+g== X-Google-Smtp-Source: ABdhPJxfh19Ansza6bo0Cnw65BEfAGa/CbQLl4B5MOpCSnmitKdL70nBgDSYbrhHhjRCYL9ilZigFg== X-Received: by 2002:a7b:c015:: with SMTP id c21mr7501066wmb.87.1598454728927; Wed, 26 Aug 2020 08:12:08 -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 v12sm7311253wri.47.2020.08.26.08.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 08:12:08 -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 07QFC7hM031176 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 26 Aug 2020 16:12:07 +0100 Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.15.2/8.15.2/Submit) with ESMTP id 07QFC7mp031171; Wed, 26 Aug 2020 16:12:07 +0100 X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs In-Reply-To: <83v9h537tj.fsf@gnu.org> Content-ID: 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:186445 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811583-587403177-1598451811=:3319 Content-Type: text/plain; CHARSET=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Wed, 26 Aug 2020, Eli Zaretskii wrote: OB >> From: Peter Oliver >> Date: Wed, 26 Aug 2020 13:24:05 +0100 >> >> The NEWS file for Emacs 27.1 says: >> “Multicolor fonts such as "Noto Color Emoji" can be displayed on >> Emacs configured with Cairo drawing and linked with cairo >= 1.16.0.” >> I would submit a patch to change this to mention that only CBDT is currently supported, but I’m not sure if that’s true on, e.g., Windows or MacOS. > > AFAIK, we support whatever Cairo supports As I say, COLR works in other GTK apps, so I don’t think it’s as simple as “Cairo doesn’t support that”. Observation: First I grabbed a COLR TTF (e.g., https://github.com/hfg-gmuend/openmoji/raw/47c9efe5449ba2ef77b77cdcae28b00811dea843/font/untouchedsvgz/OpenMoji-Color.ttf) and saved it to ~/.local/share/fonts/. Then: ELISP> (x-list-fonts "OpenMoji Color") ("-NONE-OpenMoji Color-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1") ELISP> (font-info (car (x-list-fonts "OpenMoji Color"))) nil This makes me suspect that the problem isn’t with outputting with the font, but in finding the font in the first place. I’m not sure how to go about debugging this. -- Peter Oliver ---1463811583-587403177-1598451811=:3319--