From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Status of multicolor fonts? Date: Wed, 16 Dec 2015 17:20:52 -0500 Message-ID: <5671E3C4.3030403@gmail.com> References: <567169C8.9010006@gmail.com> <83d1u61o31.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S7cBpMF6FhxFwoDijUFlsIxcrg8oK7xpE" X-Trace: ger.gmane.org 1450304520 2442 80.91.229.3 (16 Dec 2015 22:22:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 22:22:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 23:21:54 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 1a9KSI-0000w5-BU for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 23:21:54 +0100 Original-Received: from localhost ([::1]:49671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9KSH-0004Tr-Lv for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 17:21:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9KRP-0003gV-5s for emacs-devel@gnu.org; Wed, 16 Dec 2015 17:21:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9KRL-0000eX-R8 for emacs-devel@gnu.org; Wed, 16 Dec 2015 17:20:59 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.24]:62407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9KRL-0000eN-Hl; Wed, 16 Dec 2015 17:20:55 -0500 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0LwXB1-1aH5ZJ0I2x-018Nv3; Wed, 16 Dec 2015 23:20:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <83d1u61o31.fsf@gnu.org> X-Provags-ID: V03:K0:K4wdaQxHH6EXBTgAfKpwfCmnr6A8TAploCAMKE58TBGmwUDep8m TREz8VgHDaXFonR3Kb/qA728J3MlZ/gEK7a4f84qrpsrg8bZictYPxBDSBo/qpKR0ck3eZc qY2eE/siU/FKU1AR0r/DNUqZP9g5COUIZoQVegnJzIcbvnGlsJxJLInySuC8LaFSphKdk0N CNWr8wJSOB8/0v6G1WuFA== X-UI-Out-Filterresults: notjunk:1;V01:K0:hsPG/3JvSlM=:jto1iI0MSBEw1xurhSs2s5 tFnWw0Q3YpeLcIMt0/31lotMFXy+zbSxqiZ4nxGqloeNXXgaQBYRN/ZWfD6qVB04t6Uiy/m+B W87GZiWAv/qSg6nFlytljXAyBocQpzUFSJU6xVGJJS1xUHZ3ej46MPxZbDCLRraAi/0urKrpZ 4xduRTXQOIicY93bCdHE1VcY5Rk/JVvGsz4Som5FmQvg5vhOfb+v55f0E3NFou4rwgJlCr4aH 2MAx/VODbfnIf22rXA8Cv8hsaMJBa+aJuxAhS39VieevA6EvsI7UlNGyImMu0DkkwjvV6YsYQ l1ehhSUmds//WR9+EjKu9VM+m39i0JVxmOIlkYNZV6Mb6jwYdr+H1xI5v24hspvS4KY9+ArTF ORbX76AiwdJqGWib4JnXShNfVFq6RRBGG109HN45rOE0vOVnE92YRjYNYpc2203igSYSEfPU/ kX2KFZkBXzttWQGABcmh3K+ooJwWP05ZvXxyLoTFotTyq5uvgUw4Hr9+Ojvq1iaRxPHMNrwgo Ba19HF/uahIvZLERP/XF+CJHiNBqUbN9VIMAd/piMdZ+G4eTyUN385q71Py81w0wVDEOGRlav QztI4elutFsO9DFWT+NxXV9SMUiYeit0I1N5pD8/fql+otu86d5wcTFmLMAFSMaFF3R5sQNR1 aqBSwF4CxpYf0Jf3pjyx8wkmGW2vOBEg9jJJTU1RsSPyIfG4kaRo2gVlkLe9qRz60Vzo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 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:196401 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --S7cBpMF6FhxFwoDijUFlsIxcrg8oK7xpE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/16/2015 09:10 AM, Eli Zaretskii wrote: > The characters > will be displayed on any platform, in their text representation, but > AFAIK Emacs doesn't take color information from the font; the color is > determined by the color attributes of the face. We also don't support > emoji modifiers and emoji variation selectors. Looking at the code in more detail suggests that it in fact does on Mac, = in macfont.m. The relevant bits of code were merged from Macport by Jab D= j=C3=A4rv in May of 2014: macfont_info->color_bitmap_p =3D 0; if (sym_traits & kCTFontTraitColorGlyphs) macfont_info->color_bitmap_p =3D 1; and further below #if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 1070 if (macfont_info->color_bitmap_p #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070 && CTFontDrawGlyphs !=3D NULL #endif ) { if (len > 0) { CTFontDrawGlyphs (macfont_info->macfont, glyphs, positi= ons, len, context); } } else #endif /* MAC_OS_X_VERSION_MAX_ALLOWED >=3D 1070 */ { CGContextSetFont (context, macfont_info->cgfont); CGContextSetFontSize (context, font_size); CGContextShowGlyphsAtPositions (context, glyphs, positions,= len); } } 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 simila= r features on GNU/Linux. The patches that allowed this to function on Mac= OS were small; I wonder if it would be the same on other platforms.=20 --S7cBpMF6FhxFwoDijUFlsIxcrg8oK7xpE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJWcePEAAoJEPqg+cTm90wj4wUQAKVXsLunsZWP7sfbS8z60PUB RsfftKNyeHbKiUy2K3q7D3ZOr9yOBFjlT5/zmo907wJgpH9fEHxf7bnVQPSCdNkV 9ABPDu41mh9r2sE0VYnCICYHQl4+PNLKT2WJMaUjXEUs5HcbodOsHEPj82LO3zcs DJ16shYmAfMhA7D3UuqvskLlSixGuflj6EzfQEFIA06G0gXHVKf3Z9hi/ovV1An9 3ZVwckKJ29Qb5syV4Pk/xJLW5/sh1O5RFbudco4W4ITZfTOYttYoewq8JH/bCpI+ I80iqMqrSCM3N9Znl8ybG5cXaVrHDCLcwDnE/Du0YjXhXx7bIxGpoStuXZM2K+lq ig2YizCBzXx6tKKBzNLY8KJyKxIcSczr28w9svgRbRI6NYnHaCB29NzxtfeSUDEv K5NzP4QAv4Znka3fz3bgW8/PXWAIIxKMkMx5e5v1iK3AoE1oQ4JBZcvKy84AZSs7 2vUvsRWQRZl+iuYYSw37YbNRd3aJ9bvVCRERfeiBDyC0olAMbMpLYGAem8fiVBOC E11zd78iOynEi2FjoRsnNxd4d+TXD0cm05MxZQypEFDprUWZIB4F6NpkrboFw+JR Bhqk/PqTt4A+hnrT5NWHhzJ/Z8tev5NOCssxy0inpb5h+az2zjFm0iDWxygv8fqY 6omNgoLqQmnKKtbMxxHZ =NYaf -----END PGP SIGNATURE----- --S7cBpMF6FhxFwoDijUFlsIxcrg8oK7xpE--