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

Inconsistent version numbers #545

Closed
knuesel opened this issue May 22, 2020 · 1 comment
Closed

Inconsistent version numbers #545

knuesel opened this issue May 22, 2020 · 1 comment

Comments

@knuesel
Copy link

knuesel commented May 22, 2020

  • Your font version: 3.0.1
  • Your font variant: Regular
  • Your operating system (name and version): Ubuntu 20.04
  • Your application using Iosevka: n/a

The ttf file stores inconsistent version information in the "head" and "name" tables, as can be seen by running ttx iosevka-regular.ttf:

  • head.fontRevision = 1.0
  • name.Version = "Version 3.0.1; ttfautohint (v1.8.3)"

According to https://silnrsi.github.io/FDBP/en-US/Versioning.html these two versions should match.

It seems that fontconfig on Linux uses head.fontRevision: executing fc-match -f '%{fontversion}\n' iosevka gives 65536, which means 1.0.

Windows on the other hand uses the name.Version, see https://docs.microsoft.com/en-us/typography/opentype/spec/head

be5invis added a commit that referenced this issue May 23, 2020
@be5invis
Copy link
Owner

be5invis commented May 23, 2020

Fixed the computation.
Note that since Iosevka follows semver, so I only keep one digit for patch and two digits for minor.

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