Go to the source code of this file.
◆ SkUnicodeBidi
◆ get_unicode()
Definition at line 89 of file SkShaper_skunicode.cpp.
89 {
90#if defined(SK_UNICODE_ICU_IMPLEMENTATION)
93 }
94#endif
95#if defined(SK_UNICODE_LIBGRAPHEME_IMPLEMENTATION)
98 }
99#endif
100#if defined(SK_UNICODE_ICU4X_IMPLEMENTATION)
103 }
104#endif
105 return nullptr;
106}
SKUNICODE_API sk_sp< SkUnicode > Make()
SKUNICODE_API sk_sp< SkUnicode > Make()
SKUNICODE_API sk_sp< SkUnicode > Make()
◆ utf8_next()
static SkUnichar utf8_next |
( |
const char ** |
ptr, |
|
|
const char * |
end |
|
) |
| |
|
inlinestatic |
Replaces invalid utf-8 sequences with REPLACEMENT CHARACTER U+FFFD.
Definition at line 24 of file SkShaper_skunicode.cpp.
24 {
26 return val < 0 ? 0xFFFD : val;
27}
SK_SPI SkUnichar NextUTF8(const char **ptr, const char *end)