
int TTF_SetFontDirection(TTF_Font *font, int direction) /* hb_direction_t */
{
#if TTF_USE_HARFBUZZ
    font->hb_direction = direction;
    return 0;
#else
    (void) direction;
    return -1;
#endif

int TTF_SetFontDirection(TTF_Font *font, int direction)  
{
#if TTF_USE_HARFBUZZ
    font->hb_direction = direction;
    return 0;
#else
    (void) direction;
    return -1;
#endif