Linux LibreOffice 4.1.0 will now support opentype localized forms. Here’s a screenshot of the Linux Libertine O font applied to the same text on each line. One line’s language set to Serbian, the other to Russian. The language of the text gets propagated down correctly to the underlying text layout engine to allow the correct localized Serbian forms to be rendered.

You made my day happy
Awesome work!
So, finally switched to HarfBuzz?
I see that the answer is no. Just do that already…
Whether using harfbuzz or icu is basically irrelevant to this btw, the real work was in convincing writer to correctly propagate the language of the text down to the eventual text layout thingy.
There is an experimental use-harfbuzz patch that we should get around to applying, but that’s orthogonal to this.
Just crazy question: isn’t a “case-clause” better than these ~5000 if/else if ? XD
(more readability and likely faster!)
you can’t switch on a string