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

Samsa shows interpolated instance 500 at 499.99 #78

Open
RosaWagner opened this issue Mar 1, 2022 · 2 comments
Open

Samsa shows interpolated instance 500 at 499.99 #78

RosaWagner opened this issue Mar 1, 2022 · 2 comments

Comments

@RosaWagner
Copy link

Problem is when there is substitution at 500, then it is not displayed.

Test Case
In this test, letter G is supposed to be a circle in Medium SemiExpanded instance.

@Lorp
Copy link
Owner

Lorp commented Mar 3, 2022

That is curious. The substitution happens at the very next possible value for the axis (when you use the arrow buttons to increase by a tiny amount).

glyph wght (dec) wght (normhex) Samsa Webfont
G 499.9755859375 0x1554 rectangle rectangle
G 499.993896484375 0x1555 circle rectangle
G 500.01220703125 0x1556 circle circle

Are you able to test on another platform, Windows or Android, to verify this is a bug in Samsa rather than the Apple renderer?

Could you also write down what the subsitutions are supposed to be doing, since there are multiple overlapping substitutions?

@ErwinDenissen
Copy link

Samsa works as expected, e.g. it shows the circle with the Medium SemiExpanded instance. However directly viewing the variable font in Edge, Chrome, or Firefox on Windows all show a rectangle. It must be some rounding issue.

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