mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder
This commit is contained in:
@@ -12,7 +12,7 @@ KDSize KDFont::stringSizeUntil(const char * text, const char * limit) const {
|
||||
}
|
||||
KDSize stringSize = KDSize(0, m_glyphSize.height());
|
||||
|
||||
UTF8Decoder decoder(text);
|
||||
Ion::UTF8Decoder decoder(text);
|
||||
const char * currentStringPosition = decoder.stringPosition();
|
||||
CodePoint codePoint = decoder.nextCodePoint();
|
||||
while (codePoint != UCodePointNull && (limit == nullptr || currentStringPosition < limit)) {
|
||||
|
||||
Reference in New Issue
Block a user