On Tue, 31 Jan 2023 10:30:22 GMT, Jose Pereda <jper...@openjdk.org> wrote:
> This PR simply applies the patch from > [JDK-8218914](https://bugs.openjdk.org/browse/JDK-8218914) that solved the > same issue for the JDK. > > I've tested it on Windows 11 (Version 22H2 Build 22621.1105). > > I have the Roboto font installed under > C:\Users%user\AppData\Local\Microsoft\Windows\Fonts > and with this PR, -Dprism.debugfonts shows: > > > ... > font=segoe ui historic file=seguihis.ttf > font=roboto > file=C:\Users%user\AppData\Local\Microsoft\Windows\Fonts\Roboto-Regular.ttf > font=yu mincho file=yumin.ttf > ... > > > Also, I can see that the font is picked in a simple JavaFX application. > Without this PR, the font is not used, and defaults to a system one. > > I don't think I can add this as a system/manual test to the PR, though. This pull request has now been integrated. Changeset: f4ca00dd Author: Jose Pereda <jper...@openjdk.org> URL: https://git.openjdk.org/jfx/commit/f4ca00dd6f81a97401f78f422a6899cb44ab462f Stats: 113 lines in 1 file changed: 63 ins; 43 del; 7 mod 8281327: JavaFX does not support fonts installed per-user on Windows 10/11 Reviewed-by: prr, arapte ------------- PR: https://git.openjdk.org/jfx/pull/1017