From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Status of multicolor fonts? Date: Thu, 17 Dec 2015 18:11:02 +0200 Message-ID: <83h9jhys15.fsf@gnu.org> References: <567169C8.9010006@gmail.com> <83d1u61o31.fsf@gnu.org> <5671E3C4.3030403@gmail.com> <56722886.1020807@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1450368720 29543 80.91.229.3 (17 Dec 2015 16:12:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Dec 2015 16:12:00 +0000 (UTC) Cc: emacs-devel@gnu.org, yuri.v.khan@gmail.com To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 17 17:11:45 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a9b9d-0008FF-4c for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2015 17:11:45 +0100 Original-Received: from localhost ([::1]:54526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9b9c-0005tj-4f for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2015 11:11:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9b8f-0004ZC-Mv for emacs-devel@gnu.org; Thu, 17 Dec 2015 11:10:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9b8c-0004ZQ-BX for emacs-devel@gnu.org; Thu, 17 Dec 2015 11:10:45 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9b8c-0004ZL-3h; Thu, 17 Dec 2015 11:10:42 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1410 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a9b8b-0000UL-Dx; Thu, 17 Dec 2015 11:10:41 -0500 In-reply-to: <56722886.1020807@gmail.com> (message from =?utf-8?Q?Cl=C3=A9?= =?utf-8?Q?ment?= Pit--Claudel on Wed, 16 Dec 2015 22:14:14 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196422 Archived-At: > From: Clément Pit--Claudel > Date: Wed, 16 Dec 2015 22:14:14 -0500 > Cc: Eli Zaretskii , Emacs developers > > >> This seems to be using Apple-specific APIs, however, so it probably > >> does not help much for other platforms. Still, it would be nice to > >> have similar features on GNU/Linux. The patches that allowed this > >> to function on MacOS were small; I wonder if it would be the same > >> on other platforms. > > > > If you want it on X11/GNU/Linux, you better start by convincing > > FreeType developers and/or sending them a patch. I sure don’t want > > each application implementing color fonts separately — if they get > > implemented at all, I want to be able to disable them everywhere > > with just one user setting. > > Fortunately, support for this was added in Freetype in 2013, so I won't have much convincing to do, nor much patch-sending. It's also implemented in FontConfig. Plenty of applications compiled for GNU/Linux support it out of the box too, such as Mozilla Firefox and Chrome Linux. Patches are welcome to add support for this to Emacs on Posix systems. On MS-Windows, this would require to switch from Uniscribe to DirectWrite, AFAIU, which presents only C++ APIs, so it would be harder.