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

Bounding box for text #2

Open
de-code opened this issue Apr 21, 2017 · 3 comments
Open

Bounding box for text #2

de-code opened this issue Apr 21, 2017 · 3 comments

Comments

@de-code
Copy link

de-code commented Apr 21, 2017

Is it possible to get the bounding box for text / characters (for the original / embedded font).
The SVG includes the position of the characters but not the bounding box.

There is an svgx:width which appears to be using a different unit (and no height, although there is the font-size).

@petermr
Copy link
Member

petermr commented Apr 21, 2017 via email

@de-code
Copy link
Author

de-code commented Apr 21, 2017

Thank you for the response Peter.

Okay, I thought the exact bounding box of the glyph might be available when it is 'rendered'. I will for now estimate it as you suggested.

@petermr
Copy link
Member

petermr commented Apr 21, 2017 via email

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

2 participants