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 digit sizes in fractions (Google Fonts) #548

Open
tobx opened this issue Mar 13, 2022 · 4 comments
Open

Inconsistent digit sizes in fractions (Google Fonts) #548

tobx opened this issue Mar 13, 2022 · 4 comments

Comments

@tobx
Copy link

tobx commented Mar 13, 2022

I am not sure this has already been fixed, because I have this issue only with Google Fonts, but I cannot find any version number at Google Fonts. This does not happen when I use the current OTF as local font in the browser.

Digits have inconsistent sizes when used with the character "Fraction Slash" (U+2044) as in 1⁄2 (1⁄2). I have tested this on macOS with Firefox and Chrome. This can be seen directly in the Google Fonts preview:

https://fonts.google.com/specimen/Merriweather?preview.text=0123456789%E2%81%840123456789&preview.text_type=custom

Screenshot:

fraction

@tobx
Copy link
Author

tobx commented Mar 13, 2022

So, I went on a small adventure with pyftsubset today (never used it before) and managed to create my own working WOFF2 versions out of the TTF versions in this repository.

With the option --layout-features="" I managed to create smaller fonts (comparable to the Google ones) where the fraction slash does not work. I am still wondering why the Google versions just work for a few digits.

If someone happens to know:
Which layout features are required to get a working fraction slash?

@ni-tro
Copy link

ni-tro commented Mar 17, 2022

What you experience is called "old style" numbers and it is a design decision. I have found that this has been discussed in issue 4.

@tobx
Copy link
Author

tobx commented Mar 17, 2022

@ni-tro Hm, I do not think that has anything to do with the "old style". As you can see in my screenshot the digits that are bigger in the numerator of the fraction are not even the same as in the denominator. Furthermore the numbers are not just lower but larger. Finally you can even see the "old style" at the digits 9 (numerator) and 5, 7 and 9 (denominator), but other digits are just smaller.

Also, this is something that I could only reproduce at Google Fonts.

@EbenSorkin
Copy link
Contributor

EbenSorkin commented Oct 11, 2022 via email

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

3 participants