Low quality printing from Java

Y

Yaroslav Bulatov

Here's an example of text printed from Java, it was rendered using
Graphics.drawString, sent to a PostScript printer (WPrinterJob is the
default printer job)
http://yaroslavvb.com/work/curve-noise1.png

Top is what Java prints, under magnification, bottom is what it should
be. You can see that curves are uneven, and every character is
rendered in a slightly different way. What causes this, and how can
the quality be improved?

Yaroslav
 
K

Knute Johnson

Yaroslav said:
Here's an example of text printed from Java, it was rendered using
Graphics.drawString, sent to a PostScript printer (WPrinterJob is the
default printer job)
http://yaroslavvb.com/work/curve-noise1.png

Top is what Java prints, under magnification, bottom is what it should
be. You can see that curves are uneven, and every character is
rendered in a slightly different way. What causes this, and how can
the quality be improved?

Yaroslav

Did you anti-alias when you rendered it? It is very odd looking and
doesn't quite look like an anti-alias problem.
 
Y

Yaroslav Bulatov

Top is what Java prints, under magnification, bottom is what it should
Did you anti-alias when you rendered it? It is very odd looking and
doesn't quite look like an anti-alias problem.


The text is printed as curves, however those curves are noisy, so
every character is printed differently
 
R

Roedy Green

The text is printed as curves, however those curves are noisy, so
every character is printed differently
What happens when you try a different font? Try a high quality Adobe
OpenFont.
 
Y

Yaroslav Bulatov

What happens when you try a different font? Try a high quality Adobe
OpenFont.

Same situation. The problem is that Java converts font to curves, and
introduces errors during the conversion process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top