KyleAMathews/typefaces

Non-English characters distorted in NPM Montserrat font

Vacilando opened this issue · 5 comments

Some non-English characters appear distorted in font Montserrat when loaded via NMP using plugin "typefaces", e.g. see the letter "č" below:

OK https://fonts.google.com/specimen/Montserrat
montserrat_ok_google

NOK https://www.npmjs.com/package/typeface-montserrat
montserrat_nok_npm

What's the reason and is there a fix or a workaround? We've tried a number of fonts that work fine when loaded from Google but show distorted accented characters when installed using this plugin in Gatsby.

I think this is the problem author mentions in Readme:

Initially I’ve just added support for the Latin version of fonts. Would love to hear ideas for how to support other languages. Perhaps additional css files e.g. require('open-sans/greek.css')?

Czech needs to have the latin-extended version to work properly. Have you progressed with this since?

We import directly from https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap and it works.

Once this issue is solved we will switch to https://www.npmjs.com/package/typeface-montserrat

the same issue here. What is the best way to self host a font with latin-extended support?

MZOG commented

Hello.
It would be nice to add the latin-extended. I'm facing the same issue with Polish characters.