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

expose font metrics? #216

Open
jeroen opened this issue Aug 5, 2019 · 1 comment

Comments

@jeroen
Copy link
Member

commented Aug 5, 2019

Some users seem to be interested in getting font metrics. For example @dmi3kno seems to be creating images just with a letter only to measure the size here:

https://github.com/dmi3kno/bunny/blob/72c2ff95237622a8e8f72eeb890bb995970b9c7b/R/oxy-info.R#L25-L31

Perhaps it is useful to expose imagemagick fontTypeMetrics to the user (which we already use internally for the graphics device).

@dmi3kno

This comment has been minimized.

Copy link
Contributor

commented Aug 5, 2019

Yeah, I do it very ugly way. I think it could be useful for understanding how it will land on the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.