-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
Any OS. Tested on JDK21 (and checked other jdks - there no options)
A DESCRIPTION OF THE PROBLEM :
Hello. Not monospaces font often have different widths for numbers. For example if use font *Inter*, and create it using JLabel will be different size of JLabel
11111 | some word | 1
vs
00000 | some word | 1
But Inter font has different options for it - Inter font supports - Figure Styles.
There some info here (https://typenetwork.com/articles/opentype-at-work-figure-styles#)
Also there CSS option for set different behavior font-variant-numeric: tabular-nums;
Need API for creating Font with additional options
Any OS. Tested on JDK21 (and checked other jdks - there no options)
A DESCRIPTION OF THE PROBLEM :
Hello. Not monospaces font often have different widths for numbers. For example if use font *Inter*, and create it using JLabel will be different size of JLabel
11111 | some word | 1
vs
00000 | some word | 1
But Inter font has different options for it - Inter font supports - Figure Styles.
There some info here (https://typenetwork.com/articles/opentype-at-work-figure-styles#)
Also there CSS option for set different behavior font-variant-numeric: tabular-nums;
Need API for creating Font with additional options