opentype “locl” Localized Forms

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.

9 Responses to “opentype “locl” Localized Forms”

  1. Goran says:

    You made my day happy :)

  2. So, finally switched to HarfBuzz?

  3. I see that the answer is no. Just do that already…

  4. Caolán says:

    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.

  5. dennis says:

    Just crazy question: isn’t a “case-clause” better than these ~5000 if/else if ? XD

    (more readability and likely faster!)

  6. Caolán says:

    you can’t switch on a string

  7. Uglyface200 says:

    There’s been a lot of buzz here and here about support of other advanced OpenType features in LibreOffice (such as oldstyle/lining figures, stylistic sets/alternates, discretionary ligatures, true small caps, etc.). When will LibreOffice support such important features? OpenType is still a common techology in fonts and should be supported as much as possible. This would give LibO a big advantage over other word processors, Word 2010 only supports a few features.

  8. Caolán says:

    LibreOffice will support them when someone writes the relatively small pieces of code, UI glue and flags to enagle them.

Leave a Reply