-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
liberation seems to not register fonts properly in the registry #896
Comments
I don't see fonts automatically registering from C:\windows\fonts. I suspect that only works for stuff in /usr/share/fonts (or whatever fontconfig reports, I suspect). I think the proper fix would be to write a full windows path to the registry. I'm looking at it. |
@austin987 I spent more time digging into this and I can confirm there is some logic somewhere which automagically populates Now, there seems to be a race issue between apps like regedit and notepad and the above mechanism. For example, if I have the corefonts installers cached under The main issue here is that something needs to wait for whatever background process to finish writing to Another problem would be to understand why Wine only populates I can try posting this investigation on wine-devel as well to see if somebody can clarify what should be the expected behaviour. WDYT? |
I was thinking of the same fix, so sgtm. Re: wine/wine-devel, yes, I think that's a good idea. Huw/AJ are the most likely to know, or maybe Nikolay. |
@austin987 Done: #900 and done: https://www.winehq.org/pipermail/wine-devel/2017-December/120671.html Thanks! :) |
More info provided by Huw on wine-devel: https://www.winehq.org/pipermail/wine-devel/2017-December/120684.html |
Looking more into #886, I noticed that the liberation verb stomps over the fonts that Wine registers automatically on Ubuntu (see Ubuntu_original.png) and registers its fonts with the wrong name (see Ubuntu_with_liberation_installed.png).
Wine seems to be able to automagically re-cache "Liberation Sans Narrow" under HKCU\Software\Wine\Fonts\Cache after this code copies liberationsansnarrow-regular.ttf to C:\windows\Fonts, but, for some reason, it deletes it from HKLM\Software\Microsoft\Windows\CurrentVersion\Fonts and from HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts, which doesn't make much sense. Could this be a bug in Wine?
The above makes me wonder what is the actual point of writing these font registry entries manually from Winetricks. Maybe we should let Wine do it as described in the last comment here? Do you have any insight into this? I recall seeing a more detailed discussion on this topic somewhere, but I can't seem to find it any more.
The text was updated successfully, but these errors were encountered: