From d826a5920cc6dec5d942768f1c44e1a155de87c2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 9 Jul 2022 21:57:25 -0400 Subject: [PATCH] docs: Clarify 0xFFFF as palette index Mention that a palette index of 0xFFFF means to use the foreground color. --- src/hb-ot-color.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hb-ot-color.h b/src/hb-ot-color.h index c23ce4de4..d11e07e23 100644 --- a/src/hb-ot-color.h +++ b/src/hb-ot-color.h @@ -102,6 +102,10 @@ hb_ot_color_has_layers (hb_face_t *face); * * Pairs of glyph and color index. * + * A color index of 0xFFFF does not refer to a palette + * color, but indicates that the foreground color should + * be used. + * * Since: 2.1.0 **/ typedef struct hb_ot_color_layer_t {