[XeTeX] \font "<platform font>":color=FFFFFF produces black, not white glyphs \font "<platform font>":color=FFFFFF produces black, not white glyphs, re-visited

Jonathan Kew jfkthame at gmail.com
Wed May 27 12:42:37 CEST 2020

On 27/05/2020 00:16, Akira Kakuto wrote:
> Hi Jonathan,
>> What's unclear to me -- because I don't remember, if I ever
>> knew -- is quite why the driver wanted to treat FFFFFF(FF)
>> specially, and therefore what the implications of removing that
>> behavior might be.
> In dvi.c, 0xFFFFFFFF was used as a sign that the font is not
> colored, I don't know why. So opacity range was 0-254.
> I simply introduced rgba_used to indicate the font is colored or not:

Thanks, Akira. Yes, adding a separate flag to avoid the problem looks 
like the right thing to do. Thanks for taking care of this!


More information about the XeTeX mailing list.