Closed Bug 803513 Opened 12 years ago Closed 6 years ago

OpenType features appear not to be working on Linux

Categories

(Core :: Layout: Text and Fonts, defect)

16 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: leonhardeuler1707, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121010234852

Steps to reproduce:

I wanted to see whether advanced OpenType font features are supported in Firefox. I went to the following address which enables to turn on and off typographical features:
http://ie.microsoft.com/testdrive/Graphics/opentype/opentype-fontfont/index.html


Actual results:

Firefox on Mac OS X 10.6: works perfectly
Firefox 16.0.1 on Ubuntu Linux 12.04 (installed from package manager): the text appears in the right fonts, but nothing changes when enabling the advanced OpenType features.


Expected results:

The rendering of that page on Linux should have looked the same as on the Mac.
This may depend on the feature set of fontconfig. As I recall many distros ship with a reduced functionality due to patent/licensing issues.
Component: Untriaged → Layout: Text
Product: Firefox → Core
Does it really work in Firefox on OS X? Doesn't seem to for me (although I recall some of those examples working in the past; I think the pages have been changed.)

It looks to me like those Microsoft pages aren't currently applying the appropriate CSS properties to select font features in Firefox; all I see (regardless of the features selected) is "-moz-font-feature-settings: normal", which won't do anything interesting.

There are a few (very simple) examples at http://people.mozilla.org/~jkew/feature-samples/ that you could try, to check that features are actually working.
Works for me using Firefox 65 on Linux and https://testdrive-archive.azurewebsites.net/Graphics/opentype/opentype-fontfont/index.html seeing the same rendering as my Windows laptop and Edge.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.