Question about kerning and opentype features (ligatures)

Thank you for your reply, @Owen!

The problem is that the bug affects my TTF fonts, too (including OTF). Maybe the option "Pair Kerning" disables the default kerning, but most of the fonts use the GPOS table for kern pairs and that can't be disabled... The alternative solution is to remove the kerning of each font with FontForge manually :smiley:

-------- Оригинално писмо --------

От: Owen Genat owen.genat@gmail.com

Относно: [libreoffice-users] Re: Question about kerning and opentype features (ligatures)

До: users@global.libreoffice.org

Изпратено на: Понеделник, 2014, Август 18 12:59:47 EEST

Ivan Ivanov wrote

I hate kerning and I always disable it if there is such option. But the

option in the most recent versions of LibreOffice does not work. I disable

the "Pair Kerning" option, but kerning is still enabled. The last version

without this bug (where you can disable kerning) is 4.0.6.2. All versions

after this have this bug and kerning can't be disabled

Does it occur for all types of fonts? There is a known bug relating to OTF

fonts. The related enhancement (to allow disabling of kerning for OTF) is

https://bugs.freedesktop.org/show_bug.cgi?id=66818. Also note that GPOS

kerning for OTF has evidently never been implemented:

https://bugs.freedesktop.org/show_bug.cgi?id=46055

Ivan Ivanov wrote

I hate ligatures, too. There are many fonts with ugly ligatures and I

prefer seeing "f" and "i" instead of the ligature for example. In

LibreOffice 4.0.6.2 ligatures are not enabled by default, but in 4.3 for

example ligatures are automatic to form. I want to disable this, too.

I am not sure that automatic ligature substitution can be turned off.

Evidently some types of fonts have (during v4.0-4.1) not shown ligatures,

despite there being ligature support in the font:

https://bugs.freedesktop.org/show_bug.cgi?id=66916 Under v4.2 I find that

ligature substitution is automatic and effective for both OTF and Graphite

fonts. Not what you want to hear I know.

Ivan Ivanov wrote

Maybe the option "Pair Kerning" disables the default kerning, but most of
the fonts use the GPOS table for kern pairs and that can't be disabled...

There is at least one comment in the source code indicating that GPOS
kerning is handled by HarfBuzz. GPOS kerning should however only relate to
OpenType packaged fonts (either CFF or TTF).

Hi :slight_smile:
Ahh, perhaps time to post a "feature request"?

Either full control with;
https://wiki.documentfoundation.org/QA/BugReport
or nice helpful gui to make it easier
https://www.libreoffice.org/get-help/bug/

Regards from
Tom :slight_smile: