Comment 16 for bug 615435

Revision history for this message
Khaled Hosny (khaledhosny) wrote : Re: [Bug 615435] Re: Style: switch numerals to (pnum/proportional) by default instead of fixed-width (tnum/tabular)

On Fri, Aug 27, 2010 at 10:54:14AM -0000, Mark Shuttleworth wrote:
>
> Khaled: would you be willing to make a list of relevant applications,
> and find out if there are bug reports against each of them to support
> the OpenType feature?

Virtually every thing that lays out text; Pango, Qt, OOo, Scribus. All
but Scribus support OpenType default features but don't support
activating/deactivating non-default features. Scribus has no OpenType
support at all.

> Also, to figure out if the freetype stack is ready
> for it, or if not what need to be done to get it to that point.

The problem lays higher in the stack, FT is a renderer not a layout
engines, it renders whatever glyphs you ask for, it is up to the calling
layout engine to select the proper glyph. For Pango and Qt the layout
engine is HarfBuzz, which have been undergoing a rewrite for several
years no (harfbuzz-ng), no idea when it will be done. HarfBuzz have a
quite good OpenType support, but no interface to select non-default
features, the rewrite is ought to address this. When that is available,
higher level code that uses HarfBuzz should provide UIs to control font
features.

Some relevant Pango bugs:
https://bugzilla.gnome.org/show_bug.cgi?id=545510
https://bugzilla.gnome.org/show_bug.cgi?id=547472

I didn't find any relevant Qt bugs.

OOo uses ICU, I don't know much about optional features with it, but
there is an open OOo bug:
http://www.openoffice.org/issues/show_bug.cgi?id=16032

Scribus has no OpenType support at all, there are tens of open tickets
about that, I can't find the exact bug, but this one should suffice:
http://bugs.scribus.net/view.php?id=1413