otColorPaletteColorGetNameId

Fetches the name table Name ID that provides display names for the specified color in a face's CPAL color palette.

Display names can be generic (e.g., "Background") or specific (e.g., "Eye color").

otColorPaletteColorGetNameId

Parameters

face harfbuzz.face.Face

#hb_face_t to work upon

colorIndex uint

The index of the color

Return Value

Type: harfbuzz.types.OtNameId

the Name ID found for the color.