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

--- Comment #3 from Eyal Rozenberg <[email protected]> ---
(In reply to Regina Henschel from comment #2)
Noting the use of `text:span` I am reminded of HTML span, and HTML in general.
In that standard, the language is an attribute separate from the style (e.g.
`<p lang="de-DE" style="bunch of CSS here">`).

> In case of family "text", the properties are contained as attributes in a
> <style:text-properties> element (16.29.29).

Yes, I see:

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#element-style_text-properties

So, fo:country and fo:language should be removed from style:text-properties.
And they should be otherwise settable on text:span's, and probably some other
text:XXXX elements. And maybe even other elements.

And - styles should be able to carry properties for multiple languages, in
multiple language-groups.

> If you want, that your style "Emphasis" does not include the language, then
> simply do not specify the language in the style.

But then - how would the Emphasis style use different font properties for
Arabic text and to Hebrew text?

Anyway, I believe it should not be _possible_ to specify a language as part of
a style; I claim this is a design mistake in the ODF spec.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to