didierfranc / gatsby-plugin-google-fonts

Bring Google Fonts to Gatsby https://www.gatsbyjs.org/
MIT License
88 stars 18 forks source link

No font applied to special (Hungarian) character #19

Open benomatis opened 3 years ago

benomatis commented 3 years ago

The letter "ű" and "ő" for example is is not displayed in the Special Elite font, but using some backup font, I guess, even though the font itself has the necessary gliphs when I look online:

https://fonts.google.com/specimen/Special+Elite?preview.text=%C5%91%C5%B1&preview.text_type=custom

image

However, used on my gatsby site the characters aren't showing in the selected fornt, the rest of the text displays fine:

    {
      resolve: `gatsby-plugin-google-fonts`,
      options: {
        fonts: [
          `Special Elite\:300,300italic,400,400italic`
        ]
      }
    }

image

jiribeck commented 3 years ago

Have the same problem with Czech symbols "žčš" etc. and font Raleway. Looks like this is problem of more than one font and language. Raleway font has Czech symbols in library.

Screenshot 2021-08-18 at 12 28 07

 {
      resolve: `gatsby-plugin-webfonts`,
      options: {
        fonts: {
          google: [
            {
              family: 'Raleway',
              variants: ['100', '300', '700'],
            },
          ],
        },
      },
    }

Screenshot 2021-08-18 at 12 24 12