Quality renderings of text

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Quality renderings of text

alexsb
Hi guys,

I'm wondering whether there is a way to improve the quality of the text I'm rendering.

Here's an example:



what I'm doing is the following:

begin3DRendering();
draw3D(text, x, y, z, scaling);
flush();
end3DRendering();

I initialize the font with the following parameters:

new Font("SansSerif", Font.PLAIN, 25)

the scaling is determined dynamically. I've had these issues with the quality of the text for a couple of years, but didn't care to investigate so far.

Any suggestions,

thanks,

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Quality renderings of text

alexsb
Ok, I thought I used antialiased fonts, but I did not, so setting this to true: better quality.

Thanks anyway.
Reply | Threaded
Open this post in threaded view
|

Re: Quality renderings of text

Wade Walker
Administrator
Also, if you use a higher point size (I've had some cases where I use up to 200), it gives you higher resolution. I used very high point sizes in cases where text was initially displayed very large, but still had to be smooth when you zoomed in on a small part of a single letter.