-
-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tags aren't arranged alphabetically as the standard require #607
Comments
I never seen such warnign before.
|
You won't see such warning in the standard release of Firefox (v 53), but I'm on the Aurora channel of Firefox (Firefox Developer Edition 54.0a2 (2017-04-18) (64-bit)) and they have strengthen the validator. This will be soon on the standard version too. OS: Linux Mint 18.1 Serena 64 bit, The warning is on a .woff that is only 7K containing 23 symbols all from fontawesome except 1 from fontelico: If you think it's important I'll try to reduce such list. |
|
I did some tests and I've reduced it to the bare minimum: I've chosen only the 1st symbol from fontawesome, downloaded the package and launched "demo.htm". Same thing choosing only the 1st symbol of fontelico. Both get warnings. The 2 packages of test are together only 51 kB so I can attach them directly to this post. To recap:
|
@lemzwerg can you comment? How to reproduce:
|
This problem is not related to ttfautohint. I've downloaded a font from fontello with and without hinting, and testing with |
@lemzwerg seems you are right. ots-sanitize from master report this warning for all cases. Thank you very much for the link! @sabberworm could you take a look at https://github.com/fontello/svg2ttf/blob/master/lib/ttf/tables/gsub.js? Git history says, you are author of it :) |
@puzrin I’ve seen the warning before, it just didn’t occur to me that it was stemming from my code… Thanks for the fix. |
@sabberworm |
Sorry for my huge delay of reply: I confirm now it's all OK! :) |
Hi guys,
I've got this warning in Firefox:
downloadable font: Layout: tags aren't arranged alphabetically. (font-family: "websymbol" style:normal weight:normal stretch:normal src index:1) source:....
...where Websymbols is a webfont generated by Fontello.
Asking info about such unconprehensible message to Mozilla they told me that the OpenType specification requires several lists of tags (scripts, language systems, features) to be ordered alphabetically in the GSUB and GPOS tables and the Fontello tool doesn't.
In this page
https://www.microsoft.com/typography/otspec/chapter2.htm
searching the word "alphabetically" you can find the set of stuff that should be alphabetically ordered to be standard compliant.
The text was updated successfully, but these errors were encountered: