- From: Adam Twardoch (List) <list.adam@twardoch.com>
- Date: Mon, 03 Dec 2012 01:37:11 +0100
- To: www-font <www-font@w3.org>
Hello list,
I may be wrong or may have made a mistake, but I believe I've just found
out that Internet Explorer 10 Preview (the Nov 13, 2012 version) running
on Windows 7 ignores the OpenType Layout features specified through
"-ms-font-feature-settings" if this is ONLY specified as a descriptior
in the @font-face rule, as in this example:
@font-face {
font-family: 'demofont';
src: url('demofont.eot');
-ms-font-feature-settings: "calt" 1;
font-feature-settings: "calt" 1;
}
body {
font-family: 'demofont';
}
The "calt" feature won't work in such a situation on IE 10. It will,
however, work fine in this case if I specify the appropriate "-moz" or
"-webkit" versions of "font-feature-settings".
In IE 10, the "calt" feature will ONLY work if I specify it as a
property of a selector, such as here:
body {
font-family: 'demofont';
-ms-font-feature-settings: "calt" 1;
font-feature-settings: "calt" 1;
}
My impression is that the CSS Fonts Module Level 3 spec (
http://www.w3.org/TR/css3-fonts ) prescribes that font-feature-settings
should work both as a descriptor within the @font-face rule, and as a
property for a given selector.
Could anyone confirm that the problem indeed exists, and that I'm
correct to assume that it's a problem of IE 10?
Best,
Adam
--
May success attend your efforts,
-- Adam Twardoch
(Remove "list." from e-mail address to contact me directly.)
Received on Monday, 3 December 2012 00:37:42 UTC