Unicode characters in Swing only display when using the default font-size
I'm trying to display a few Unicode characters inside of a jLabel. Take
for example, the "degrees Fahrenheit" character (¨H or "\u2109"). This
character is only being displayed when I use the default font-size, which
happens to be 11. When I change the font-size, the character is replaced
with an empty rectangle. I've tried several different sizes and several
different fonts that offer a wide range of unicode characters. Can anyone
tell me why Swing only displays this unicode character under a specific
font-size?
No comments:
Post a Comment