Forums Register Login

How to make rotated text "look good"

+Pie Number of slices to send: Send
My question is not about how to rotate text with Java2D; I know how to do that. What I don't know is how to make the rotated text "look good." For example, if you create a text box in PowerPoint and rotate it, the text appears sharp and clear no matter the rotation angle. However, text drawn with g2D.drawString() looks okay at 0 or 90 degrees but not so good at other angles. This is especially so for smaller fonts. Is there a way to manipulate the text to clean or sharpen it up? I've tried using:



but that didn't help. Below is a little program that illustrates what I'm talking about. The bigger font isn't too bad when rotated but still doesn't look very professional. The smaller font when rotated is terrible. If someone could point me to where look to learn how make the text look sharp at any angle, I would be so very thankful.

Bill


A feeble attempt to tell you about our stuff that makes us money
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1611 times.
Similar Threads
printing an ArrayList contents to printer
watermark in my webpage
Resizing, Dragging and Rotating
JTextArea Rotation & WordWrap -- Challenging issue.
Problem running Servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:17:20.