[OpenJDK 2D-Dev] Fonts rendering in openjdk

Aekold Helbrass helbrass at gmail.com
Sat May 15 21:40:13 UTC 2010


Good day All!

I want to hack into the sources of font rendering of openjdk, and I'm
a bit confused now. So help me please understand how it works. Links
are appreciated too.

I read that freetype is used for fonts scaling, but after debugging it
looks like freetype is used only to get font metrics, while real
rendering is done using Pisces. I know nothing about real font
rendering, so I have few questions about it:
1. am I right that freetype is used only to get font shapes while all
rendering and antialiasing is done using Pisces?
2. isn't freetype can be used for font rendering and is used in GTK
and Qt? Or freetype is only scaler?
3. if freetype can be used for font rendering - why Pisces is used?

4th and the most important - how are you guys debugging native code?
It's not supported with nbprojects, and I can't imagine how to launch
java with some application to debug some native code...



More information about the 2d-dev mailing list