You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, I really appreciate this and showtext! I'm trying to test different google fonts for a ggplot theme, and want to see a list of available sans-serif ones. I know I can filter on the Google fonts website, but some fonts there aren't available for showtext because of licensing and other issues (is that correct?)
Looking through the package code, I see that google_font_list returns a data frame that includes categories, so I recreated part of google_font_db in order to get a nested data frame as follows:
Some of the meta data about the fonts is handy to have, such as filtering for fonts that have more than one variant, or have an italic face, etc.
I could write a function to do this when I need it, but I was wondering if google_font_list could be exported from the package. I don't know if there's a reason why it currently isn't exported, but it might be useful to other users as well.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
First off, I really appreciate this and
showtext
! I'm trying to test different google fonts for aggplot
theme, and want to see a list of available sans-serif ones. I know I can filter on the Google fonts website, but some fonts there aren't available forshowtext
because of licensing and other issues (is that correct?)Looking through the package code, I see that
google_font_list
returns a data frame that includes categories, so I recreated part ofgoogle_font_db
in order to get a nested data frame as follows:Some of the meta data about the fonts is handy to have, such as filtering for fonts that have more than one variant, or have an italic face, etc.
I could write a function to do this when I need it, but I was wondering if
google_font_list
could be exported from the package. I don't know if there's a reason why it currently isn't exported, but it might be useful to other users as well.Thanks in advance!
The text was updated successfully, but these errors were encountered: