drawing multiple lines of text using LineBreakMeasurer- weird font
I want to draw a text spanning multiple lines using the Java2D API. I (seemingly) succeeded in drawing the text, but it is in a weird font.
So I guessed I made some mistake and looked at this tutorial in the documentation:
http://java.sun.com/docs/books/tutorial/2d/textandfonts/linebreakmeasure.html
I copied the source code from the tutorial into a blank file on my computer, and, to my surprise, the result is the same: instead of drawing the string about van Gogh in proper english letters, I see that weird font in the applet viewer! It looks like this:
http://img285.imageshack.us/img285/1278/java0qy.jpg

