otColorPaletteGetNameId

fnharfbuzz.types.OtNameId otColorPaletteGetNameId(harfbuzz.face.Face face, uint paletteIndex)

Fetches the name table Name ID that provides display names for a CPAL color palette.

Palette display names can be generic (e.g., "Default") or provide specific, themed names (e.g., "Spring", "Summer", "Fall", and "Winter").

Parameters

face#hb_face_t to work upon
paletteIndexThe index of the color palette

Returns

the Named ID found for the palette.

If the requested palette has no name the result is #HB_OT_NAME_ID_INVALID.