-
Enhancement
-
Resolution: Unresolved
-
P3
-
None
-
None
This is somewhere between a bug and an enhancement.
Font resources using OpenType font variations
(see https://learn.microsoft.com/en-us/typography/develop/font-variations)
are not understood by the JDK
As a result fonts that we enumerate via platform APIs are not able to be resolved to the right font resource, nor be properly rendered.
macOS and Windows 11 are making increasing use of these.
On windows 11 there are at least these files
SegUIVar.ttf
SitkaVF.ttf
SitkaVF-Italic.ttf
bahnscrift.ttf
CascadiaCode.ttf
CascadiaMono.ttf
NHaasGroteskTXPro-It.ttf
NHaasGroteskTXPro-Rg.ttf
Each of these contain multiple variations but we only find the default.
We should at least correctly find and use all named instances in a variation font.
Font resources using OpenType font variations
(see https://learn.microsoft.com/en-us/typography/develop/font-variations)
are not understood by the JDK
As a result fonts that we enumerate via platform APIs are not able to be resolved to the right font resource, nor be properly rendered.
macOS and Windows 11 are making increasing use of these.
On windows 11 there are at least these files
SegUIVar.ttf
SitkaVF.ttf
SitkaVF-Italic.ttf
bahnscrift.ttf
CascadiaCode.ttf
CascadiaMono.ttf
NHaasGroteskTXPro-It.ttf
NHaasGroteskTXPro-Rg.ttf
Each of these contain multiple variations but we only find the default.
We should at least correctly find and use all named instances in a variation font.