Skip to content

Added xheight and capheight in face.Metrics()#5

Merged
rcoreilly merged 1 commit intogoki:mainfrom
narativeio:xheight
Jan 18, 2024
Merged

Added xheight and capheight in face.Metrics()#5
rcoreilly merged 1 commit intogoki:mainfrom
narativeio:xheight

Conversation

@asticode
Copy link
Copy Markdown

xHeight and capHeight are optionnal fields in the OS/2 table.

This PR parses those fields and returns their values in the face.Metrics() method.

@rcoreilly rcoreilly merged commit 08ab4e6 into goki:main Jan 18, 2024
@rcoreilly
Copy link
Copy Markdown
Member

Thanks -- this all looks good!

@rcoreilly
Copy link
Copy Markdown
Member

now avail in v1.0.2

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

Successfully merging this pull request may close these issues.

2 participants