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

Magic number for SVG #3

Closed
svgeesus opened this issue Dec 19, 2015 · 2 comments
Closed

Magic number for SVG #3

svgeesus opened this issue Dec 19, 2015 · 2 comments

Comments

@svgeesus
Copy link
Owner

@svgeesus svgeesus commented Dec 19, 2015

The TrueType fonts and OFF / OpenType fonts containing TrueType outlines should use 0x00010000 as the 'sfnt' version number.
The OFF / OpenType fonts containing CFF data should use the tag 'OTTO' as 'sfnt' version number.

Magic number for SVG outlines? More info on allowed combinations (or pointer to it)?

@rsheeter
Copy link

@rsheeter rsheeter commented Jan 20, 2016

Would https://www.microsoft.com/typography/otspec/otff.htm suffice? - specifically OpenType fonts that contain TrueType outlines should use the value of 1.0 for the sfnt version. OpenType fonts containing CFF data should use the tag 'OTTO' as the sfnt version number.

@svgeesus
Copy link
Owner Author

@svgeesus svgeesus commented Feb 6, 2016

And thus, there is no magic number for SVG because it is never present alone, only in combination with either TT or CFF outlines.

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

2 participants