View Issue Details

IDProjectCategoryView StatusLast Update
0004135NoesisGUIC++ SDKpublic2025-05-12 16:38
Reportermaxnt Assigned Tojsantos  
PrioritynormalSeverityminor 
Status resolvedResolutionno change required 
Product Version3.2.7 
Target Version3.2.8 
Summary0004135: Support Glyph COLR 0xFFFF special case text Foreground colour
Description

All colors are specified as a base zero index into CPAL palette entries. A font can define alternate palettes in its CPAL table; it is up to the application to determine which palette is used. A palette entry index value of 0xFFFF is a special case indicating that the text foreground color (defined by the application) should be used, and must not be treated as an actual index into the CPAL ColorRecord array.

https://learn.microsoft.com/en-us/typography/opentype/spec/cpal

Example image attached, here the X would appear black (or red if the Foreground was red)

Attached Files
image.png (6,992 bytes)   
image.png (6,992 bytes)   
PlatformAny

Activities

jsantos

jsantos

2025-05-07 15:09

manager   ~0010590

Interesting, I see code for this and it seems it is already implemented but in the font you attached the color index is 0 instead of 0xFFFF.

Could you please verify that?

maxnt

maxnt

2025-05-12 15:45

reporter   ~0010616

Hmmm maybe something is going on with our font generation.. I've just regenerated the font again, just to make sure I had not made a weepsie and its the same.

maxnt

maxnt

2025-05-12 16:01

reporter   ~0010617

Ok this is an issue our end, I think you can close this as invalid. Thanks for the support, sorry for the time waste!

jsantos

jsantos

2025-05-12 16:38

manager   ~0010620

Thank you!

Issue History

Date Modified Username Field Change
2025-05-07 14:03 maxnt New Issue
2025-05-07 14:03 maxnt File Added: image.png
2025-05-07 14:15 jsantos Assigned To => jsantos
2025-05-07 14:15 jsantos Status new => assigned
2025-05-07 14:15 jsantos Product Version => 3.2.7
2025-05-07 14:15 jsantos Target Version => 3.2.8
2025-05-07 15:09 jsantos Note Added: 0010590
2025-05-07 15:09 jsantos Status assigned => feedback
2025-05-12 15:45 maxnt Note Added: 0010616
2025-05-12 15:45 maxnt Status feedback => assigned
2025-05-12 16:01 maxnt Note Added: 0010617
2025-05-12 16:38 jsantos Status assigned => resolved
2025-05-12 16:38 jsantos Resolution open => no change required
2025-05-12 16:38 jsantos Note Added: 0010620