[OpenJDK 2D-Dev] [PATCH] 8218914: Support fonts installed per-user on Windows 10

Mikhail Filippov mikhail.filippov at jetbrains.com
Fri Feb 15 14:23:13 UTC 2019

Hi. Please review the fix. 

patch: attached to message.
bug: https://bugs.openjdk.java.net/browse/JDK-8218914
webrev: http://cr.openjdk.java.net/~dbatrak/8218914/webrev.01/

Starting from Windows 10 Preview Build 17704 fonts are installed into the user's home folder by default, and are listed in user's registry section. This is Microsoft blog post about it: "https://blogs.windows.com/windowsexperience/2018/06/27/announcing-windows-10-insider-preview-build-17704/" I this patch I extract function for registry access and call it for two keys: HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. In original code fonts loading only from HKEY_LOCAL_MACHINE.

Mikhail Filippov	
Software Developer
“The Drive To Develop"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20190215/ea8fe211/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: font-registry-fix.patch
Type: application/octet-stream
Size: 6031 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20190215/ea8fe211/font-registry-fix.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20190215/ea8fe211/attachment-0001.html>

More information about the 2d-dev mailing list