nuxt / fonts

Plug-and-play web font optimization and configuration for Nuxt apps.
https://nuxt.com
MIT License
369 stars 4 forks source link

Allow specifying text for font families #131

Open nandi95 opened 3 weeks ago

nandi95 commented 3 weeks ago

With google fonts you can specify which characters you need and by that reducing the size. This is already possible with the module google-fonts but I'm not seeing an option in this module. Be aware there's a issue/PR currently on the google fonts repo regarding the text option per font family https://github.com/nuxt-modules/google-fonts/issues/106

danielroe commented 3 weeks ago

This should be possible as a provider-specific override. Probably needs to be integrated somehow with subset support.