-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Updating font using Windows Installer causes font rendering issues even after system reboot #9
Comments
@ciscorucinski Sorry to hear that Christopher, but the only explanation I have is that the Font Cache Service really refused to stop. We do not have any timeout for this but instead simply wait for it to stop, even if it takes hours. I will think about how to improve this. About the issues with the font in Android Studio: Is this a Java based IDE? |
Well, that explains the behavior I was seeing in the installer. I just used Android Studio is a Java-based IDE; however, this effect is also seen on non-java files such as XML or JSON as long as the font is styled with only italic text (non-bold) The letters are transformed to usually be the same letters but with accent marks above them. |
OK, thanks for the update. I suspect this is the "Java FreeType vs. Windows" bug you are having (see issue #129 over at Hack). There is also a hint to force Java to fall back to the t2k render path which might help. If possible, could check if the font also displays incorrectly when using a non-Java tool, e.g. Notepad++? |
Oh, and by the way: Could you please post the contents of Log-FontData.txt somewhere? I don't think it's an installer issue, but I better be sure than sorry. |
@texhex Ok, with a quick check in Notepad++, the Hack font seems to work very well.
|
@ciscorucinski Any idea what version of the JDK Android Studio is using? If you have it on your system, can you confirm that you see this in any of the Jetbrains editors? @jorgheymans thoughts? |
I don't know which version it is right now, but I checked the font with IntelliJ IDEA, and there are no issues with italics |
I am not familiar with this @ciscorucinski. Is it a plugin for Intellij IDEA?
Any chance that you can tap into those wizards to show us information on the JDK that is in use? |
Oh wow, I completely forgot about the
I have the option to Also, as for the 1st point...
Check out more here... |
@ciscorucinski Thanks for the log. Expect that Hack-Regular was already there, I found nothing that would explain this strange behavior. Given that the logs looks good, Hack is OK in Notepad++, this might be the Java render bug again: see issue #129 over at Hack. There is also a hint to force Java to fall back to the t2k render path which might help. /cc @chrissimpkins |
@texhex the First, any text that is slated to use the Second, a lot of the text within the IDE (but outside of the text editor) now looks |
@ciscorucinski Just for your information, we don't have forgot about this issue but there seems to be a general bug with Hack on Windows as soon a Java VM tries to displays it. We will update this as soon as we have anything new. Right now we are still trying to get to the root cause. |
I was also unable to use the installer. I don't see any "Font Cache" service either. What is the actual name of the service (so I can try to stop/start manually)? UPDATE: Interestingly, I downloaded the font zip and tried to install manually, but already have the fonts so perhaps the installer was working behind the scenes and only the UI was unresponsive. That, or I've had the font for a while :) |
@texhex thoughts? |
@rainabba Look closer :). "FontCache3.0.0.0" is called "Windows Presentation Foundation Fond Cache 3.0.0.0" in services.msc (the other one is called "Windows Font Cache Service". The Hack Installer would not try to start it if they do not exist. I really have no idea why a simple "Start Services" hangs the entire installer. The position it is hanging is actually AFTER the installation, so this could be the explanation why the files were already there. |
@texhex 👍 |
@ciscorucinski @rainabba That the installer hangs during installation should be solved as of v1.4.1, please give it a try. We had only one response from the people that also reported it (see issue #11), but also no new reports so I really think we killed that bug. About the font rendering in Android Studio: We maybe just came across a similar issue where the reason were "old" Hack TTF files in C:\Windows\Fonts caused the Java Render to freak out. Please check issue 345 in the Hack Repo, maybe this will also resolve your issue. |
@ciscorucinski @rainabba Version 1.4.2 was just released that deletes more Hack TTF files in C:\Windows\Fontsl, especially the linegap variants that caused issues with Java based environments. The new installer should avoid these situations, so please give it a try. |
@ciscorucinski @rainabba Could you please provide feedback if we can close this issue? |
@texhex sorry, I have gone to another font for a while now due to all the issues I was having. This newest update, as of a few days ago, seemed to have fixed the issue for me. The installer works as expected, and the font now seems to work. I checked the version and it looks like it is using v3.000. I don't know if the installer removed all the unnecessary files, but everything seems to work fine with the quick check that I did. |
Thanks for the update @ciscorucinski and good to know, happy we finally got that solved. I will close this issue now. |
I decided to actually update my Hack font to the latest version using this installer. When I tried it, the installer froze twice during restarting the Font Cacher service on windows.
The 3rd time I tried to install the Hack font, the installer actually finished and the font rendering of the Hack font in Android Studio 2.2 preview 2 was almost perfect.
However, I still see issues when I have non-bold, italic text.
The text was updated successfully, but these errors were encountered: