Skip to content

Update verticalMetricsProof.py#2

Merged
josh-hadley merged 1 commit into
mainfrom
jh-fix-verticalmetricsproof
Jun 22, 2023
Merged

Update verticalMetricsProof.py#2
josh-hadley merged 1 commit into
mainfrom
jh-fix-verticalmetricsproof

Conversation

@josh-hadley

Copy link
Copy Markdown
Contributor

Quick-and-dirty fix to give winAscent/sTypoAscender/hhea.ascent labels a bit more breathing room at the top. At some point we should figure out a reliable calculation that takes overall (actual) tont height, label position, etc. into account so everything fits for every case.

Quick-and-dirty fix to give winAscent/sTypoAscender/hhea.ascent labels a bit more breathing room at the top. At some point we should figure out a reliable calculation that takes overall (actual) tont height, label position, etc. into account so everything fits for every case.
@josh-hadley josh-hadley requested a review from frankrolf June 22, 2023 03:40

@frankrolf frankrolf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, just before the repo was made public, I had changed that line to
page_height = font_height * 1.5 * scale_factor

I agree more breathing room is better.

@josh-hadley josh-hadley merged commit 59ac5f2 into main Jun 22, 2023
@josh-hadley josh-hadley deleted the jh-fix-verticalmetricsproof branch June 22, 2023 15:09
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