Font Hints for Custom Components
I just got finished writing a small section on text-anti-aliasing for Romain's
and my Filthy Rich Clients book (did you notice how smoothly I slid that
teaser into the discussion?). It seemed like such a bite-sized and useful bit
of info that I thought it would go well here, so here it is:
Setting text anti-aliasing hints can be confusing, especially with new
RenderingHints added in Java SE 6 for LCD text. What text quality do you want?
What is appropriate for the application? What is appropriate for the platform?
What does your user prefer?
A better solution than setting hints directly in most situations is for your
application to figure out what the user