I tested image rotation with bicubic interpolation. The results with nearest
neighbour are terrible, but not a surprise.
[Message sent by forum member 'mthornton' (mthornton)]
http://forums.java.net/jive/thread.jspa?messageID=262431
When rotated at some angles the position of characters relative to the baseline
is a bit erratic (by a pixel or so). This still occurs with text antialiassing
and/or fractional metric hints enabled. I'm using jre6_u04.
I was wondering if it would be better to render the text (horizontally) into
I think this is a consequence of trying to position each glyph at the
closest point its projection
on to the theoretical baseline on a relatively low-res device. I suspect
it would look fine at
printer resolutions. Whilst rotating an image would help the baseline I
don't think you'd be
happy
I think this is a consequence of trying to position
each glyph at the
closest point its projection
on to the theoretical baseline on a relatively
low-res device.
Indeed. I get very nicely rendered characters with odd looking positions.
printer resolutions. Whilst rotating an image would
I can now confirm that rotating the outline produces excellent results.
Thanks.
[Message sent by forum member 'mthornton' (mthornton)]
http://forums.java.net/jive/thread.jspa?messageID=262257
===
To unsubscribe, send email
Just a suggestion about techniques - make sure you use some sort of
interpolation filtering hint when you try to rotate an image like this.
The default algorithm NEAREST_NEIGHBOR is the fastest, but you'd get
better quality with BILINEAR filtering. I'm not sure that BICUBIC
(slower still)