-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Montserrat] Support for tabular number spacing limited to 700 weight #2553
Comments
Hi, All the boxes have aligned figures in my browser.
|
Thanks, I've updated the code to use the latest CSS import from fonts.google.com. I did have a local version of Montserrat bold installed, so I've removed it and now none of the boxes have aligned figures. I have confirmed this in latest Chrome and Firefox on macOS. This is the import I have in the example now: @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap'); And these are the URLs that are loading:
What are some next steps I can take to resolve this? |
Oh, yes. I believe Dave's answer is still valid: Btw, the WOFF and WOFF2 files are already available In the latest version: https://github.com/JulietaUla/Montserrat/tree/master/fonts/webfonts |
Ok, thanks. It would be great to add support for enabling OT features with a query string or something of the like. I understand it's not something that everyone uses, but it'd nice to be able to enable them selectively. I'll close this one in favor of that other ticket or adding a feature request. |
Tabular spacing seems to be limited to the 700 weight:
Here is the 500 weight:
![Screen Shot 2020-07-16 at 8 11 38 PM](https://user-images.githubusercontent.com/1687902/87734436-9c591500-c7a0-11ea-85a4-8c580ed84610.png)
Here is the 700 weight:
![Screen Shot 2020-07-16 at 8 11 31 PM](https://user-images.githubusercontent.com/1687902/87734475-b72b8980-c7a0-11ea-9d04-496e121a8daf.png)
Notice that the widths of each number are inconsistent (i.e. not good for tabular data). On the 700 example, the percentage signs are all aligned, 500 they are not. I have not looked at any of the other OpenType features to check if this is just tabular data or not.
Live test case:
https://codepen.io/lachieh/pen/yLeRqEw/left/
The text was updated successfully, but these errors were encountered: