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

Prevent missing ascender from breaking layout #303

Merged
merged 1 commit into from
Sep 12, 2014

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Sep 11, 2014

ZapfDingbats (and perhaps others) has no ascender or descender attributes. pdfkit is treating them as NaN, which causes document.y to also ends up as NaN if you try to render any text in this font.

@ef4
Copy link
Contributor Author

ef4 commented Sep 11, 2014

(@devongovett , as you can probably guess from all these PRs I'm finally getting around to upgrading off my fork. Great to see lots of progress in pdfkit since then, thanks for all your work.)

devongovett added a commit that referenced this pull request Sep 12, 2014
Prevent missing ascender from breaking layout
@devongovett devongovett merged commit 8383dee into foliojs:master Sep 12, 2014
@devongovett
Copy link
Member

@ef4 thanks for all the PRs, really helpful. 😄

@ef4 ef4 deleted the blank-ascender branch September 12, 2014 19:10
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