font rendering

View: New views
1 Messages — Rating Filter:   Alert me  

font rendering

by Andries :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I made a small svg-decoder in java in which I draw text with the grapics2d method drawString. However the font isn't quite the same as the windows font. I noticed batik doesn't have this issue. Which brings me to the question: how did batik solve that problem?


I know that in java you need a correction depending on the dpi of the screen. This makes the size of the text the same as the one used in windows. However the kerning distance is wider in that case. I use a rather old version of java . It doesn't has fonthinting in it.