source-foundry / Hack

A typeface designed for source code
http://sourcefoundry.org/hack/
Other
16.48k stars 616 forks source link

[OS X] Renders incorrectly during Font Book installation and Sublime Text editor; MS Word is OK #54

Closed cwotta closed 8 years ago

cwotta commented 9 years ago

Both OTF and TTF versions seem to render correctly in:

...But do not work correctly in:

I saw the previous issue about rendering in JetBrains editors, but Sublime Text isn't one of them.

screen shot 2015-08-31 at 12 42 33 pm

QuinnyPig commented 9 years ago

@cwotta Just saw that on 10.9; what version of OS X are you using?

gravyboat commented 9 years ago

I'm also encountering the issue for both OTF and TTF installs where the font is incorrectly displayed during install on OS X 10.9.5.

cwotta commented 9 years ago

Yep, OS X 10.9.5!

qbunt commented 9 years ago

Also seeing this on OS X 10.9.5

chrissimpkins commented 9 years ago

Those are the Armenian glyphs that are displayed. They are included in the set.

1. Do you mind right clicking on the Hack font group in FontBook and choosing Validate Font?

If you don't get all greens let me know

font-validate

2. Have any of you customized your keyboard character mapping?

qbunt commented 9 years ago

I'm getting all greens inside FontBook, no customized character mapping for me.

gravyboat commented 9 years ago

Also getting all greens. No customized character mappings.

cwotta commented 9 years ago

Same as above: all greens, no customized character mappings!

chrissimpkins commented 9 years ago

Well then we have the default solution. You are all Armenian. Issue closed.

chrissimpkins commented 9 years ago

;)

Sorry all, I really have no idea what is going on if the files passed validation. Let me check into any reports of similar issues on OS X for other typefaces.

Can you use it in any non-ST editors aside from Word?

qbunt commented 9 years ago

I just gave it a shot in WebStorm, Android Studio and Atom. No luck in WebStorm but Atom and Android Studio appear to work OK. Doesn't even get listed in WebStorm. Also appears to work in the OS X terminal alright.

Also, not Armenian, neither is my machine ;)

cwotta commented 9 years ago

Haha good solution!

It works correctly in TextWrangler and TextMate (and TextEdit, but I'm not sure that one's particularly helpful).

chrissimpkins commented 9 years ago

Perhaps a font caching issue on OS X? Maybe try a reboot if you did a number of install + remove + install sequences with the same font files.

gravyboat commented 9 years ago

Font seems to work fine in iTerm once installed. I did not perform any additional install/uninstall actions with the font file (otf or tff), this was on the first install. Font caching could definitely be an issue, I haven't rebooted in a few days.

QuinnyPig commented 9 years ago

Seems surprising to me that it'd be this prevalent were this merely a caching issue...

bjankord commented 9 years ago

Seeing the same issue.

jhuckaby commented 9 years ago

Seeing the same issue in OS X 10.8 Mountain Lion as well: screenshot 2015-09-01 11 01 09

qbunt commented 9 years ago

What's odd is if you install it, it appears to display/validates/functions fine, it even previews properly in QuickLook.

screen shot 2015-09-01 at 12 20 37 pm screenshot 2015-09-01 12 20 26

I've also purged my font cache via sudo atsutil databases -remove but when you open either the TTF or the OTF, it previews in that window in Font Book. Not sure there's something wrong with the font or the OS, it's odd that it doesn't appear in Yosemite and up.

chrissimpkins commented 9 years ago

Will you please give these new builds a try (v2.012)? I've updated the name tables and adjusted the font names based upon what is currently recommended for cross-platform support. Let's see if this addresses this issue.

Download Links Regular Bold Italic BoldItalic

jhuckaby commented 9 years ago

I'm sorry to report this, but the new fonts you provided are still showing up as cryptic glyphs, when opened in Font Book (before and after installing). I tested in OS X 10.8.5 and OS X 10.9.5. Screenshots:

screenshot 2015-09-05 09 44 25 screenshot 2015-09-05 09 46 40
chrissimpkins commented 9 years ago

OK thanks for letting me know. It was a long shot for this issue but figured we should give it a shot. Will continue working on it.

chrissimpkins commented 9 years ago

Nothing that I did should have changed these behaviors, but there is a new test build available (v2.014) if you'd like to give this a try to see if we happen to change something that made this go away.

Available in #111

jhuckaby commented 9 years ago

Alas, same issue with OS X 10.8.5 and OS X 10.9.5 using Hack 2.014. Screenies: screenshot 2015-09-21 09 27 15 screenshot 2015-09-21 09 29 28

chrissimpkins commented 9 years ago

@jhuckaby Ok, thanks. There wasn't a change that should have led to a solution here but I wanted to confirm that there was not a problem in the metrics that led to display issues. It did install and display ok on your OS X version despite the FontBook issues?

jhuckaby commented 9 years ago

No problem, happy to help! Yup, the font installs just fine, and looks great after installing. Apparently this bug only affects the FontBook preview window before installing.

Screenshot after install: screenshot 2015-09-21 09 36 44

chrissimpkins commented 9 years ago

OK, thanks. That is good to hear. If anyone has issues with use of the font after they encounter these Font Book install issues, please let me know.

qbunt commented 9 years ago

@chrissimpkins just tested again on 10.9.5. The Quick Look previews and installs just fine as @jhuckaby mentions, it's just the pre-install screen in Font Book the face appears in odd characters. On later OS X versions (Yosemite for instance) it renders OK in the pre-install screen.

My guess (wild-ass guess) is that this could have nothing to do with your font, and everything to do with an edge case inside the 10.9 releases.

chrissimpkins commented 9 years ago

@qbunt Yeah, I am developing this on 10.10.5 and have never noticed this over numerous install / uninstall cycles. I looked for some information on changes in Font Book with these new releases, but there aren't many details in the Apple documentation. I suspect that it has something to do with the Unicode range support settings in the font builds, but I don't know how to modify it so that you see the appropriate character set during the install.

Incidentally, are all of you using older OS X releases or are these testing platforms?

jhuckaby commented 9 years ago

I run 10.10.5 on my main machine. I keep 10.8.5 and 10.9.5 around for testing purposes :)

cwotta commented 9 years ago

10.9.5 is my main (only, at this point...) machine. Don't go crazy trying to fix this for my sake; I'm sure I'll be off of 10.9.5 at some point! Thanks for your work so far!

chrissimpkins commented 9 years ago

No worries! Just trying to understand the scope of this issue. I can't find data on what proportion of users are still on older versions of OS X.

cwotta commented 9 years ago

Not sure how accurate this is, but it might be close enough to say "Yeah, not going to waste my time on 10.9" ;)

https://www.netmarketshare.com/operating-system-market-share.aspx?qprid=10&qpcustomd=0

jhuckaby commented 9 years ago

I work for a digital ad company (I know, sorry), and we analyze all incoming browser user agents which contain the OS X version. Here is some data pulled our view logs yesterday (Sept 20, 2015):

OS Version Number of Hits Percentage
Mac OS X 10.10 595,721 6.53%
Mac OS X 10.9 210,660 2.31%
Mac OS X 10.6 102,143 1.12%
Mac OS X 10.7 79,325 0.87%
Mac OS X 10.8 59,485 0.65%
Mac OS X 10.5 10,936 0.12%
Mac OS X 10.11 (Beta) 5,593 0.061%
Mac OS X 10.4 896 0.0098%
chrissimpkins commented 9 years ago

@cwotta & @jhuckaby These data actually surprise me. I would not have expected > 50% of OS X users to still be running an older version of the OS nearly one year after release given that the system requirements have not changed since 10.8.x (and it is free!). Interesting.

jhuckaby commented 9 years ago

Yeah, that is a bit surprising. I think it's primarily because Mavericks is so stable now, and that Yosemite didn't really add anything Earth-shattering. All my friends at work are still running Mavericks, and when asked why they didn't upgrade, the most common answer was "Why upgrade? What I have works just fine.". Also, no one could list a single feature added in Yosemite either (besides the new flat-shaded look). Funny :)

chrissimpkins commented 9 years ago

"Why upgrade? What I have works just fine."

Seems like reason enough to me.

qbunt commented 9 years ago

Yeah I've gotta admit, I'm running 10.9.5 on my work machine not by choice, but by dependency. Minor iOS development annoyances aside, there's not a lot of motivation to upgrade, even for free. Thanks for looking into this @chrissimpkins, digging your work.

jhuckaby commented 9 years ago

I second that -- I'm really digging Hack. Thanks a bunch @chrissimpkins :)

chrissimpkins commented 9 years ago

It's been a lot of fun and the developer response has been great. All of these new changes are the result of issue reports. Will be interesting to see where it leads. I have a large number of things to address yet and lots of new ideas. Keep an eye on the changelog if you continue to use it.

Smolations commented 9 years ago

Just for reference, The font previews, installs, and works/renders just fine (for me) in OS X 10.11 El Capitan and Sublime Text 3 (build 3083). :+1:

chrissimpkins commented 9 years ago

@Smolations thank you!!

alanmcginnis commented 9 years ago

Also works fine for me, same setup as @Smolations. Thanks for this font!

chrissimpkins commented 9 years ago

@alanmcginnis great!