• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java, Linux and Fonts  RSS feed

 
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did do a search, and there were several that were similar to this, but nothing that was close enough to answer my question. My question is: I have installed Red Hat Linux (8) with support for Chinese characters. It works well, and all that is fine. But I have a GUI app that pulls in text from a .txt file and it should be displayed in Chinese as well. It appears to work for French and German and some of the others, but when I switch to Chinese, I get:
font specified in font.properties not found [tlc-song-medium-r-normal--*-%d-*-*-c-*-gbk-0] several times, and the text in the app that is supposed to be in Chinses is not. So, I know that the fonts are there because the desktop is using them fine, and I can see there is a file font.properties.zh that says it is the support for Chinese and song-medium-r-normal font is referenced in there. But I have no idea what to do to tell Java to look at RedHat's ttfs...I know where they are, just not specifically how to tell Java where to look.

With Respect,
Matthew DeLacey
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!