Java font hinting

Hello,

I have explored the way Java renders glyphs. In my experience it seems that all glyph that Java renders are hinted. Is there any way to get non-hinted glyphs? Also, when I use GlyphVector.getGlyphOutline the outlines seem to be always non-hinted. Is there a way to get hinted outlines? I’m using Java 1.5.

-Jouni

Your observations are correct.
Would you please clarify why you want unhinted text or hinted outlines?

Theoretically outlines are supposed to be consistent for variety of possible transforms
(e.g. outline of 10pt text scaled by factor of 2 is same as outline of 20pt text).
In reality its might not be fully exact match because font engine may still align outline to pixels
indroducing some discrepncy.

However, comparing to hinted outlines these differences are neglible -
hinted outlines might look very weird (unlike unhinted glyph) if you look at them.

I think there are situations when unhinted text is good. Unhinted text is closer to the
real look of the font then hinted text. So it can be useful for print preview and stuff like
that. On the other hand hinted outlines would be useful if I want to render the text
using the outlines. It would be more consistant if I could get hinted outlines.