1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Unicode: Fix incorrect character ordering in Latin text

This addresses issues that could occur when re-ordering text that
contained brackets or numerical separators.
This commit is contained in:
Oliver James 2024-07-12 15:29:14 +01:00 committed by attila
parent ae23783f63
commit 57d33150d3
3 changed files with 879 additions and 379 deletions

View file

@ -49,7 +49,7 @@ struct UnicodeAnalysisPoint
{
char32_t character = 0;
UnicodeEntry data{};
uint16_t bidiLevel = 0;
uint16_t embeddingLevel = 0;
UnicodeAnalysisPoint (char32_t characterIn, UnicodeEntry entry)
: character { characterIn },