Skip to content
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

Updates to current 2015 spec #8

Open
HinTak opened this issue Nov 26, 2015 · 11 comments
Open

Updates to current 2015 spec #8

HinTak opened this issue Nov 26, 2015 · 11 comments

Comments

@HinTak
Copy link

HinTak commented Nov 26, 2015

This is place holder to track all the 2015 spec related updates. Specific detailed discussions about individual items, please fie additional issues and put a URL back here.

New tables that need checking - e.g. COLR/CPAL/MATH/SVG . We also need font samples with these features for testing.

New versions of tables - e.g. OS/2 v5 (was v3 in 2009), checking additional fields (two new ones), and expanded or modified usage of existing fields, such as the usage of the code page bits being changed from reserved to used by lesser-used languages. There are likely other tables having an overhaul, like the kern table between 2003 and 2009, which require new tests to be written and added.

CBLC/CBDT falls uncomfortably between these - it is a variation/enhancement of existing tables, so the current code put these through the existing tables' code path. But there are additional work to be done , to check old table name with new features and new table names with old version, as well as checking all the new features added in CBLC/CBDT.

There is smaller scale change like expansion of the feature list ( http://www.microsoft.com/typography/otspec/featurelist.htm) . Mostly it is expansion, but additional warnings need to be done on withdrawn tags also.

Lastly I should mention that CFF support is poor, though a pre-2009 table.

Thanks Sami Artur Mandelbaum on (http://typedrawers.com/discussion/1222/microsoft-font-validator-lives/p2) for suggesting https://github.com/khaledhosny/xits-math for future MATH table testing.

@samiartur
Copy link

Hi HinTak,
I did some tests with a font called Source Han Sans.otc.
One of the fonts is a "super otc".
In all otc tests the fontvalidator crashed.
https://github.com/adobe-fonts/source-han-sans
Your work is great thank's

@samiartur
Copy link

Hi Hin Tak,
I found a link to download a font with SVG table
http://www.w3.org/2013/10/SVG_in_OpenType/
The files to download are in end of page.
I discovered microsoft still don't support otc fonts but adobe softwares do.
I could open otc files in DTL OTMaster 5.0 but couldn't open the "super otc"

@HinTak
Copy link
Author

HinTak commented Dec 9, 2015

I'll look at the otc issue soon; that shouldn't be hard. BTW, windows doesn't do otc (nor otf's), hence the CFF tests aren't implemented; we have a new FreeType backend so we are not limited by windows. CFF table test is just a big TODO. Is there any other source of an example besides adobe open sans?

@samiartur
Copy link

samiartur commented Dec 9, 2015 via email

@anthrotype
Copy link

isn't .otc the same as TrueType Collections (.ttc), but with CFF table instead of glyf?

@HinTak
Copy link
Author

HinTak commented Dec 10, 2015 via email

@HinTak
Copy link
Author

HinTak commented Dec 17, 2015

@HinTak
Copy link
Author

HinTak commented Jan 9, 2016

More examples of SVG tables posted by Sairus Patel of Adobe to opentype mailing list:

Gecko Emoji http://people.mozilla.org/%7Ejkew/opentype-svg/GeckoEmoji.html (Mozilla)
EmojiOne Emoji http://miguelsousa.github.io/emojione/ (Miguel Sousa, artwork from EmojiOne)
Multicolor http://colorfonts.langustefonts.com/ (Langustefonts)
Disco http://colorfonts.langustefonts.com/disco.html (Langustefonts) – animated
Monoliner http://colorfonts.langustefonts.com/monoliner.html (Langustefonts) – animated
Snake http://colorfonts.langustefonts.com/snake_bw.html (Langustefonts) – animated
Snake Color http://colorfonts.langustefonts.com/snake_color.html (Langustefonts) – animated
Noto Country Flags https://github.com/googlei18n/region-flags (Google)
Noto Emoji https://github.com/googlei18n/noto-emoji (Google)
Work in Progress https://twitter.com/pixelambacht/status/636238894594412544: NovoTypo & Pixel Ambacht

@HinTak
Copy link
Author

HinTak commented Apr 13, 2016

Note to myself (and others):
seguiemj.ttf on win10 has COLR and CPAL

@twardoch
Copy link

Retire the warnings:
W0022 Recommended table is missing kern
W0022 Recommended table is missing hdmx
W0022 Recommended table is missing VDMX

The kern table is no longer recommended, even for TT-flavored fonts. hdmx and VDMX are also not really recommended anymore since they only address ancient monochrome rasterization.

@HinTak
Copy link
Author

HinTak commented Apr 22, 2016

@twardoch : That issue with kern/hdmx/VDMX has already been raised before ( HinTak#2 ) . It needs to be a Microsoft decision, as the Font Validator serves not only as compliance to the OT spec, but also their shipping preference. So between 'Error' and 'Okay', it was their past decision where and in what direction 'optional' choices went. I regard it as a past decision of theirs and it needs to be changed, if desired, by them. It is not part of an update to current spec. The wording of description of those tables have not changed across the 3 versions of the spec, I don't think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants