jakewtaylor / react-google-font-loader

Simple React component to load Google Fonts.
57 stars 11 forks source link

Please add option for 'text=' value in font request URL. #39

Open a-borodko opened 4 years ago

a-borodko commented 4 years ago

From **https://developers.google.com/fonts/docs/getting_started***

Optimizing your font requests

Oftentimes, when you want to use a web font on your website or application, you know in advance which letters you'll need. This often occurs when you're using a web font in a logo or heading.

In these cases, you should consider specifying a text= value in your font request URL. This allows Google to return a font file that's optimized for your request. In some cases, this can reduce the size of the font file by up to 90%.

dherault commented 2 years ago

See #68