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 ascent and descent in truetype.Font. #15

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Open

Expose ascent and descent in truetype.Font. #15

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

These are needed to figure out line height and the height for the background of 
highlighted text. Font.Bounds().YMin and YMax don't work; they are too large. 
Instead we need ascent and descent from the hhea table.

Original issue reported on code.google.com by burns.ethan@gmail.com on 16 Feb 2015 at 8:13

@GoogleCodeExporter
Copy link
Author

linegap would be nice too.

Original comment by burns.ethan@gmail.com on 16 Feb 2015 at 8:53

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

No branches or pull requests

1 participant