Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select font typeface #4

Closed
jorainer opened this issue Mar 14, 2017 · 3 comments
Closed

Select font typeface #4

jorainer opened this issue Mar 14, 2017 · 3 comments

Comments

@jorainer
Copy link

Would be nice if it was not only possible to select the font family (p_family) but also the font typeface (e.g. Lt, Rg) etc. or directly select the font e.g. p_font = "Aller_Lt".

GuangchuangYu pushed a commit that referenced this issue Mar 15, 2017
@GuangchuangYu
Copy link
Owner

GuangchuangYu commented Mar 15, 2017

now p_family supports passing value like Aller_Rg, Aller_Lt etc.

I would like to keep using p_family instead of p_font and the p_family is to specific family passing to geom_text or annotate("text",...) and it work exactly the same way in addition of internally support Aller.

If user want to use specific fonts (e.g. google font), they can use showtext to load the font manually and also pass to the p_family parameter.

I like this way to keep minimal and consistent parameters without scaring people.

@henningsway
Copy link

henningsway commented Jun 6, 2017

How can I easily see, which fonts are available? Are fonts from the extrafont-package supposed to work?
(showtext seems to be working well.)

@GuangchuangYu
Copy link
Owner

hexSticker internally use showtext and current implementation doesn't support extrafont.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants