mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-03-31 05:53:38 +03:00
Hide unicode directional control characters
They shouldn't be looked up in the font and displayed under any circumstances.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
45ec77973b
commit
2003eed2a5
@@ -1,11 +1,15 @@
|
||||
#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(const char* text);
|
||||
const char* bidi_transform(const char* text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user