java - How to add enters and use a custom font in a JLabel? -
recently, have attempted create textbox uses custom font. problem had though, requires enters in several places. @ first, tried using \n or \r\n, didn't work. lead me using html, gave me problem of font not loading in. tried fix using several methods, including change style of html body, this:
<html><body style="font-family: pixelmix">text</body></html>
the font in question, pixelmix imported font, not installed on pc. is, however, known program , can used without html. don't know if html can work uninstalled fonts, if had idea on how enters , custom font, please let me know.
Comments
Post a Comment