I'm trying to make a Text node small caps. In CSS, I can do font-variant: small-caps; to make small caps text; however, JavaFX does not seem to have this. I know I can use a TextFlow with two font sizes, but this seems like an inelegant solution.
Is there any simple way to make text small caps in JavaFX?
Google "Google fonts". Also, google to see if you can find some fonts that are naturally
small caps. I found one. You can see how to use Google fonts in aJavaFXapp below.code from here.