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: Wed, 16 Dec 2015 20:54:42 +0200 Message-ID: <83twniz0jx.fsf@gnu.org> References: <567169C8.9010006@gmail.com> <838u4u1jjp.fsf@gnu.org> <87k2oel517.fsf@fastmail.com> <8337v21ffd.fsf@gnu.org> <5671ADE8.7020508@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1450292077 23745 80.91.229.3 (16 Dec 2015 18:54:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 18:54:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?windows-1252?Q?Cl=E9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 19:54:36 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 1a9HDc-0006cG-0v for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 19:54:32 +0100 Original-Received: from localhost ([::1]:48843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9HDb-0007ZV-Ju for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 13:54:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9HDY-0007ZN-KY for emacs-devel@gnu.org; Wed, 16 Dec 2015 13:54:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9HDU-0002LQ-Ku for emacs-devel@gnu.org; Wed, 16 Dec 2015 13:54:28 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9HDU-0002LL-HV; Wed, 16 Dec 2015 13:54:24 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4949 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a9HDT-0006DX-S1; Wed, 16 Dec 2015 13:54:24 -0500 In-reply-to: <5671ADE8.7020508@gmail.com> (message from =?windows-1252?Q?C?= =?windows-1252?Q?l=E9ment?= Pit--Claudel on Wed, 16 Dec 2015 13:31:04 -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:196397 Archived-At: > From: Clément Pit--Claudel > Date: Wed, 16 Dec 2015 13:31:04 -0500 > > > I'm quite sure you know that Emacs displays character glyphs by > > drawing the background and foreground separately, and it sets the > > colors of each one according to the attributes of the current face. > > How, then, will the full-color image be displayed, if we override > > the colors it might specify? > > We wouldn't override the colors of the image; we would just display it, without modifications. The background color of the face is still relevant, but the foreground would not be (except for underlines, for example). I understand the theory, but that's not how the code currently works, AFAIU. It will have to be modified to support this. I also suspect that some support from the font back-end (a.k.a. "shaping engine") will be required, perhaps in using special APIs or activating some special options, in order to get all this working as expected.