1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-16 17:48:29 +02:00
VVVVVV/desktop_version/src/FontBidi.h

19 lines
367 B
C
Raw Permalink Normal View History

#ifndef FONTBIDI_H
#define FONTBIDI_H
#include <stdint.h>
namespace font
{
void bidi_init(void);
void bidi_destroy(void);
bool is_directional_character(uint32_t codepoint);
bool is_joiner(uint32_t codepoint);
bool bidi_should_transform(bool rtl, const char* text);
const char* bidi_transform(bool rtl, const char* text);
} // namespace font
#endif // FONTBIDI_H