We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware,  Documentation,  Website Suggestions › Use Fractional Metrics with native fonts
Page Index Toggle Pages: 1
Use Fractional Metrics with native fonts (Read 1828 times)
Use Fractional Metrics with native fonts
Jul 1st, 2007, 12:44am
 
The ability to use native Java fonts with the Java2D renderer is quite cool, but if you're doing lots of zooming in and out, you'll notice the resizing gets pretty jerky. That's because "fractional metrics" are disabled by default.

more on fractional metrics, from the Java2D FAQ:
http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_What_are_fractional_metrics_Wh

Example showing them off and then on:
http://pantheon.yale.edu/~gej5/SoC/fractional-metrics/

It's simple to turn on, and has virtually no performance downsides (see the FAQ)

--greg
Re: Use Fractional Metrics with native fonts
Reply #1 - Mar 14th, 2009, 8:20am
 
Hey, could you fix the link to your example? Anyone else have a working demonstration?
Page Index Toggle Pages: 1