Y
Y
yana333112021-06-18 19:22:18
css
yana33311, 2021-06-18 19:22:18

Nunito font not rendering correctly, how to fix?

Hello.
1. Letter spacing There was an issue with Nunito font rendering in browsers compared to Figma: the font is narrower when displayed in the browser. This is a screenshot from the rendered page (browser above, figma below) enter image description here
This is from Google Fonts (browser above, figma below).
60ccc7fd241d5546736363.png
The situation is similar, i.e. The problem is not the incorrect connection of the font.
60ccc8036d114951593009.png

Displaying odd sizes There is also a problem when displaying a font with an odd size, for example 13px, pay attention to the letters “k” and “l”, the ends are cut off. Screenshot from layout

60ccc80d10e94809883727.png
Screenshot from Google fonts
60ccc81e0e943439044391.png

How can I remove these glitches? Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
despoth, 2021-07-13
@despoth

You can try to clear the font cache and generally run some cleaning of everything on the computer. If Mac, then OnyX helps a lot, after a reboot, the vast majority of such visual glitches disappear. Alas, but Figma is not going smoothly with the rendering of fonts, especially those pulled up with Google Fonts. Therefore, I am always wary of this kind of action and prefer headsets that are proven and work reliably. Nunito is not included in their list, somehow they didn’t like him right away, some kind of crooked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question