https://bugs.documentfoundation.org/show_bug.cgi?id=106755

--- Comment #6 from [email protected] ---
Yes, definitely. Perhaps as we do that, we could use uscript_getScript() and
get a more accurate categorisation. It'll mean a new list of script values, but
that's not hard. I would be tempted to do a simple array of script code to
category, which would be quicker and only 174 bytes. It would start out
something like:
#define W ScriptType::WEAK
#define C ScriptType::COMPLEX
#define A ScriptType::ASIAN
#define L ScriptType::LATIN
{W, W, C, L, W, A, L, L,
 L, C, C, C, L, L, L, C,
 C, A, A, C, A, C, A, C,
 C, L, C, C, C, L, L, C,
 C, C, C, C, C, C, C, C,
 L, A, C, C, C, C, L, C,
 C, C, C, C, C, C, A, C,
 C, C, C, C, C, C, C, C,
 C, C, C, C, L, C, C, C,
 C, A, A, C, C, C, C, C,
 L, L, C, C, C, C, C, C,
 C, C, C, C, C, C, C, C,
 C, C, C, C, C, C, W, W,
 C, A, C, C, C, C, C, C,
 C, C, C, C, C, C, C, A,
 C, C, C, C, C, C, C, C,
 C, L, C, C, C, C, C, C,
 C, C, C, C, C, C, C, C,
 C, C, C, C, C, C, C, C,
 C, C, A, C, C, C, C, C,
 C, C, C, C, C, C, C, C,
 C, C, C, C, A, A, L}

But this needs some review, especially later on in the list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to