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 19:17:26 +0200 Message-ID: <8337v21ffd.fsf@gnu.org> References: <567169C8.9010006@gmail.com> <838u4u1jjp.fsf@gnu.org> <87k2oel517.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1450286263 22414 80.91.229.3 (16 Dec 2015 17:17:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 17:17:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Random832 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 18:17:37 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 1a9Fho-0006e6-Ow for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 18:17:36 +0100 Original-Received: from localhost ([::1]:48509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Fhj-00033Q-6P for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 12:17:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9FhT-000324-1C for emacs-devel@gnu.org; Wed, 16 Dec 2015 12:17:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9FhN-0003nw-45 for emacs-devel@gnu.org; Wed, 16 Dec 2015 12:17:14 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9FhN-0003nr-0y; Wed, 16 Dec 2015 12:17:09 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4907 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a9FhM-00037X-Eg; Wed, 16 Dec 2015 12:17:08 -0500 In-reply-to: <87k2oel517.fsf@fastmail.com> (message from Random832 on Wed, 16 Dec 2015 11:41:40 -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:196392 Archived-At: > From: Random832 > Date: Wed, 16 Dec 2015 11:41:40 -0500 > > Eli Zaretskii writes: > > If your application needs that, you don't have to wait for this to be > > supported in the core. It should be very easy to write Lisp code that > > generated faces with specific colors > > I'm not sure if you understand the feature being requested. I'm not sure why are you not sure. > This is not a font that specifies a foreground and background color > per character, it is a font that defines a character as a full-color > graphic image (e.g. the US flag in red, white, and blue with shadows > and highlights, though flags specifically are ligatures of two > characters) 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? > The variation selectors are specifically to replace the "skin color" > (typically yellow by default on the fonts that support them) with a > selected natural human skin color. I think they're actually implemented > by selecting another graphic entirely, since some implementations also > have different hair colors. Yes, I know.