unplugin-fonts icon indicating copy to clipboard operation
unplugin-fonts copied to clipboard

Support remote webfonts

Open maicol07 opened this issue 4 years ago • 2 comments

Support webfonts URLs (like Google, but from a custom provider)

maicol07 avatar Aug 30 '21 15:08 maicol07

Hello! Thanks for the interest you have in the project!

I think we should discuss how we can bind meta to a font file (name, weight, styles) to generate @font-face css directive. Once it's done, we can implement font resolvers (local ttf, remote url or from npm package)

What do you think about?

stafyniaksacha avatar Aug 30 '21 15:08 stafyniaksacha

Shouldn't fonts give already their meta?

maicol07 avatar Aug 30 '21 16:08 maicol07