wch / extrafont

Tools for using fonts in R graphics
312 stars 49 forks source link

install google fonts #70

Closed renejuan closed 4 years ago

renejuan commented 4 years ago

I recently saw the package sysfonts. It occurred to me that it will be a great addition to download/install Google Fonts using the extrafont package. Google Fonts seems to have an API. Not too familiar with the API and how/where sysfonts package download the fonts. If possible I will be happy to look at this a little more and add some functions. Will this be something of interest?

wch commented 4 years ago

Sounds useful, but I think it would make more sense to have a separate package that does this.

renejuan commented 4 years ago

After looking at that package (sysfonts) a little more I agree. I think the author make his package to install fonts only for other of his packages but it probably can be modified without much problem to make fonts available to Windows and other packages including extrafont. I will suggest some changes to the author of sysfonts.