otColorPaletteColorGetNameId

fnharfbuzz.types.OtNameId otColorPaletteColorGetNameId(harfbuzz.face.Face face, uint colorIndex)

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").

Parameters

face#hb_face_t to work upon
colorIndexThe index of the color

Returns

the Name ID found for the color.