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

Font distorts at some sizes #745

Open
Rudraksh88 opened this issue Sep 18, 2024 · 1 comment
Open

Font distorts at some sizes #745

Rudraksh88 opened this issue Sep 18, 2024 · 1 comment

Comments

@Rudraksh88
Copy link

Describe the bug
The font is horizontally squeezed (looks vertically stretched) at small sizes. Perhaps it might be how Linux handles font rendering. On Windows, this was not so apparent but still there.

To Reproduce
This bug might or might not be reproducible. Still, laying down the best possible steps to reproduce it.

  1. On Firefox, add all possible zoom levels with increments of 1 starting from say 70% to 120% (100%, 101%, 102%, 103% etc). (This requires editing the about:config settings)
  2. Open https://rsms.me/inter/ at 100% zoom level.
  3. Now try to increase the zoom level and notice the navigation links at the top.
  4. At some point, the differences in the font would be noticeable.

Expected behavior
The font should not distort so much.

Screenshots
inter_homepage
example

I also recorded a video with both outputs overlapped. Toggling them gives a clear view of the change in the font geometry.

inter.mp4

Environment

  • OS: KDE Plasma 6.1.5 on Arch Linux at 100% scaling
  • Apps: Most noticeable in all major browsers - Chrome, Brave, Firefox
  • Font version: Inter 4.0
  • Screen: Resolution of 1920 x 1080 at 14.0 inches (157.35 PPI)

Additional context
Slight differences in the font rendering are expected due to approximation at small sizes and perhaps fewer pixels available to properly render the font geometry, there are other similar fonts (like Geist, San Francisco, Helvetica, etc) that perform noticeably better and render the fonts without them looking stretched or anything like that.

@Rudraksh88 Rudraksh88 changed the title Font distorts at smaller sizes Font distorts at some sizes Sep 18, 2024
@rock3r
Copy link

rock3r commented Sep 23, 2024

We've also noticed this. It does not seem to happen on macOS, but it's clearly visible on Windows: https://youtrack.jetbrains.com/issue/CMP-6649/Text-appears-stretched-on-Windows-11#focus=Comments-27-10698121.0-0

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