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

Font Baseline/Height/Scaling Issue #12

Open
dtinth opened this issue Nov 21, 2014 · 5 comments
Open

Font Baseline/Height/Scaling Issue #12

dtinth opened this issue Nov 21, 2014 · 5 comments

Comments

@dtinth
Copy link
Owner

dtinth commented Nov 21, 2014

Problem

There are some differences in some metrics between the source font and target font in different weights, causing the baseline to be aligned improperly.

Related Issues

Issue Reference Reporter
#3 (with screenshots) @Ch33k1, @ddinh
jenskutilek/FiraSystemFontReplacement#17 (with screenshots) @vandrijevik
jenskutilek/FiraSystemFontReplacement#23 @mbrennwa
wr/YosemiteSanFranciscoFont#5 (with screenshots) @montanaflynn
wr/YosemiteSanFranciscoFont#4 (with screenshots) @Hawsome

Please reference future issues to this issue thread, so we can find the solution together.

Current Status: Font Expert and Community Help Wanted

  • I have tried to copy over the metrics from HelveticaNeueDeskInterface, including:
    • ascent, descent, hhea_ascent, hhea_ascent_add, hhea_descent, hhea_descent_add, os2_winascent, os2_winascent_add, os2_windescent, os2_windescent_add, os2_typoascent, os2_typoascent_add, os2_typodescent, and os2_typodescent_add.
    • However, the problem still persists.
  • This is beyond my knowledge now, and I don't have available time to do extensive research on this issue.
  • Therefore, community help would be much appreciated.
    • Pull requests welcome 😄
@campbellgraphics
Copy link

did you check the hhea_linegap as well?

@dtinth
Copy link
Owner Author

dtinth commented Nov 25, 2014

I'll consider trying it. Thanks. :D

On Mon, Nov 24, 2014 at 10:23 PM, campbellgraphics
notifications@github.com wrote:

did you check the hhea_linegap as well?

Reply to this email directly or view it on GitHub:
#12 (comment)

@tphinney
Copy link

That would seem to be the main thing left—and it's something that we know is used on Mac OS.

Because I can't get the script to work, I've been collecting data to do it all manually, so I can tell you that the hhea_linegap is zero in all the Helvetica Neue system fonts.

dtinth added a commit that referenced this issue Feb 23, 2015
@dtinth
Copy link
Owner Author

dtinth commented Feb 23, 2015

I updated the script to copy hhea_linegap from Helvetica Neue system fonts.

However, I noticed that hhea_linegap is zero in all Avenir Next fonts.

@ceekr
Copy link

ceekr commented Aug 8, 2015

Your solution works great! The baseline is an issue of course, so if one can ignore it, this is near perfect. After scouring the web for an alternative solution, I found this >>> https://drive.google.com/folderview?id=0B_u6AjwB3JxSR19USk9CSWhMTnM&usp=sharing

This will patch Yosemite with Lucida Grande, and having run this I can confirm that this patch does not suffer from font baseline issue. If anyone has the time, maybe reverse engineer the app and see how they tackled this. Just a thought.

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

4 participants