itfoundry / Poppins

Poppins, a Devanagari + Latin family for Google Fonts.
SIL Open Font License 1.1
453 stars 35 forks source link

Apple operating systems and Google Fonts renders the font with loose line spacing #53

Open constantine-fry opened 1 year ago

constantine-fry commented 1 year ago

Hey folks,

Thanks for working on such a fantastic font!

I wanted to use Poppins in my iOS application, but iOS uses an incorrect line height for the font.

The screenshot below demonstrates Poppins with Regular and SemiBold weights being rendered in an iOS application. The bounding rectangle shows the size of the text view. Notice the spacing between lines is too loose: IMG_A19883CD1C2B-1

I checked as well how different operating systems render the font. Windows does the right job, but Apple-based operating systems always render the font with a loose line hight.

The screenshot below is taken from the https://fonts.adobe.com/fonts/poppins opened in Safari on iOS. Notice a huge line spacing and the text being cut part

The screenshot below is taken from Brave(Chromium-based) browser on macOS.

Screenshot 2023-01-06 at 21 02 54

Google Font always renders the font with a loose spacing between lines on any operating systems

Screenshot 2023-01-06 at 21 31 44

And the last one is taken from Brave on Windows.

Screenshot 2023-01-06 at 21 02 40

Interestingly, indiantypefoundry website renders the font correctly on both operating systems.

Would it be possible to make the font render correctly despite the OS?