
int TTF_SetFontScript(TTF_Font *font, int script) /* hb_script_t */
{
#if TTF_USE_HARFBUZZ
    font->hb_script = script;
    return 0;
#else
    (void) script;
    return -1;
#endif

int TTF_SetFontScript(TTF_Font *font, int script)  
{
#if TTF_USE_HARFBUZZ
    font->hb_script = script;
    return 0;
#else
    (void) script;
    return -1;
#endif