Coloured Punctuation and Annotation

Michael Everson via Unicode unicode at unicode.org
Mon Apr 10 17:13:05 CDT 2017


Michael isn’t trying to make any coloured fonts.

Michael

> On 10 Apr 2017, at 23:08, Peter Constable via Unicode <unicode at unicode.org> wrote:
> 
> William:
> 
> Michael's scenario doesn't require a special palette index value such as you propose since (i) he could implement a font with alternate palettes to provide different colouring options of his choosing, and (ii) an app can always expose customization options to allow the user to customize any of the palette entries that are being used, even on a character-by-character basis if the app really wanted to.
> 
> Moreover, defining palette index 0xFFFE with a special meaning would be a breaking change that could negatively impact existing implementations. Also, it would create a potential ambiguity about what colour to use: whereas text drawing operations _always_ have a foreground colour specified, there is no convention for specifying a "first decoration colour". 
> 
> For these reasons, this is not going to happen.
> 
> 
> Peter
> 
> 
> -----Original Message-----
> From: Unicode [mailto:unicode-bounces at unicode.org] On Behalf Of William_J_G Overington
> Sent: Thursday, April 6, 2017 11:40 AM
> To: everson at evertype.com; richard.wordingham at ntlworld.com; unicode at unicode.org
> Subject: Re: Coloured Punctuation and Annotation
> 
> Michael Everson wrote:
> 
>> No. Here is an example of a font available in two variants. In one variant, all those grey swirls are fused to the letters, and it can all be printed in black or one colour ink. 
> 
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcdn.myfonts.net%2Fs%2Faw%2Foriginal%2F255%2F0%2F131020.png&data=02%7C01%7Cpetercon%40microsoft.com%7C99523bf7480842d3096708d47d1ecae7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636271018606863669&sdata=7r1pdkH%2BGDjMDxhw44fxfwXjQ6IU%2FUXZntejzC5npm4%3D&reserved=0 
> 
>> There is also a second set of fonts included which separates the swirls from the letters, and those can be used in typesetting to get the two-colour effect you see here. That can’t really be done using standard encoding. You’d probably see IIVVOORRYY in the backing store for that word, with every other letter being set in the letter font and the swirl font. 
> 
> Richard Wordingham mentioned the following.
> 
>> The third glyph would use 'index' 0xFFFF to specify that it be displayed in the foreground colour.
> 
> If the OpenType specification were augmented so that 'index' 0xFFFE were to specify that the appropriate part of the glyph be displayed in the "first decoration colour", a colour specified in the application program and not in the font; and an application program were augmented so that an end user were able to choose first decoration colour as well as choosing foreground colour, then would that produce the result for which Michael is looking?
> 
> William Overington
> 
> Thursday 6 April 2017
> 
> 
> 
> 




More information about the Unicode mailing list