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

            Bug ID: 166011
           Summary: Implement style:script-type
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 166008

Writing systems in LibreOffice and ODF are divided into three disjoint script
categories. During layout and rendering, LibreOffice must determine to which
category each character belongs, in order to apply the correct formatting. We
currently assign these characters to script types using a hard-coded algorithm.

A recurring issue is that, sometimes, our algorithm guesses wrong. This usually
happens with characters like punctuation, which may be used for different
purposes across languages within the same document. We currently don't have any
way for users to override our algorithm in these cases.

While it wouldn't solve all problems with script assignment, a good start would
be to support the style:script-type attribute:

Per 20.358 in the the ODF 1.3 specification, "[c]onsumers that can determine
script types of Unicode characters may also evaluate the attribute and
overwrite the script type they determine for certain character with the value
of the attribute".

Although this attribute was introduced in ODF 1.0, it was never implemented.
Doing so would create a workaround for a significant number of our script
assignment issues, and may also unblock some OOXML interop (e.g. w:hint).


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=166008
[Bug 166008] [META] Issues relating to the assignment of characters to script
types
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to