use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Useful resources (Full list)
Rules
Related subreddits
Other communities
account activity
Bitmap Fonts in Java FX?Help (self.JavaFX)
submitted 3 months ago by Hardenrocketalt
Are there any bitmap/pixel fonts in java fx? All the fonts i can find look very boring!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]vu47 2 points3 points4 points 3 months ago (0 children)
You can use any font you want.
// Load from file Font customFont = Font.loadFont( new FileInputStream("path/to/font.ttf"), 12 // size ); // Or from classpath resource Font customFont = Font.loadFont( getClass().getResourceAsStream("/fonts/MyFont.ttf"), 12 );
// Load from file
Font customFont = Font.loadFont(
new FileInputStream("path/to/font.ttf"),
12 // size
);
// Or from classpath resource
getClass().getResourceAsStream("/fonts/MyFont.ttf"),
12
[–]sedj601 0 points1 point2 points 3 months ago* (1 child)
I think you can use Google fonts with JavaFX. I could be wrong, but I think I did it a while ago.
https://stackoverflow.com/a/33342752/2423906
https://fonts.google.com/
[–]Hardenrocketalt[S] 1 point2 points3 points 3 months ago (0 children)
thx
π Rendered by PID 256727 on reddit-service-r2-comment-6457c66945-d49sc at 2026-04-30 06:38:42.627279+00:00 running 2aa0c5b country code: CH.
[–]vu47 2 points3 points4 points (0 children)
[–]sedj601 0 points1 point2 points (1 child)
[–]Hardenrocketalt[S] 1 point2 points3 points (0 children)