https://bugs.documentfoundation.org/show_bug.cgi?id=166011
Eyal Rozenberg <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://docs.oasis-open.org | |/office/OpenDocument/v1.4/O | |penDocument-v1.4-part3-sche | |ma.html Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Eyal Rozenberg <[email protected]> --- A couple of notes for the benefit of people who don't know what style:script-type is (like myself until very recently) and may be confused. Note 1: In the context of this bug, and related bugs (but not everywhere), here is some relevant term rewriting: When people say they mean the same as if they had said --------------------------------------------------------------- language script (i.e. a distinctive writing system, based on a repertoire of specific elements or symbols, or that repertoire itself; brief Wikipedia definition). written language script language group script type script group script type script category script type (so, we're not talking about languages in the usual sense of the word) Note 2: Several aspects of Character styles and DF are specific to one of the script groups, mentioned by Jonathan in comment #0. An example would be the font family: There are three ODF attributes for that: fo:font-family, style:font-family-asian and style:font-family-complex , and we can in fact see all three of their values in the "Format > Character..." dialog (assuming full RTL-CTL and CJK support has been enabled). But then, which of these font-families is actually to be used for a given character? The one for the script group which LO determines the character belongs to. And this is where style:script-type comes in. It has one possible value for each of the three script groups: latin, rtl-ctl, asian (and a fourth value we won't get into here). If it is set, LO should treat the relevant text as being in that script group, applying the script-group-specific attributes to it; if style:script-type not set - LO can fall back use the heuristic algorithm it now uses. Except - like Jonathan says, this is not what we do. We simply ignore style:script-type and always go for the heuristic. This is not formally a bug, since the spec say that we _may_ use it if we want to; it's not a hard requirement; but it's quite problematic, as can be deduced by reading bug 148257. Bug 148257 is about the user being able to set the script; and this attribute "clinches" it, since we can already set, albeit in a crooked fashion, the choice of script within each of the script groups; if we also set the script group - we've set the language. -- You are receiving this mail because: You are the assignee for the bug.
