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. That is great! We have been looking forward to this patch for two years. ------------- PR: https://git.openjdk.org/jfx/pull/1017