Hi

Jay, thanks for your suggestions, but I'm not sure about it's a printer
issue and the PDF I write prints alright.

There is another issue that might be related to the issue with the poor
quality. If I have understand the documentation correctly, when you send
it to the printer it use the AWT Java API to renderers the document and
the font that are available on the system.

When I run my little test program I can see that "Arial" should be
available, but when I tell my xsl use another font then "Times Roman" it
report an error "unknown font Arial,normal,bold so defaulted font to
any"

My test program:
java.awt.GraphicsEnvironment ge =
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();
        String[] fontNames = ge.getAvailableFontFamilyNames();
        for (int i = 0; i < fontNames.length; i++) {
                System.out.println(fontNames[i]);
}

This is an example where I specify the font-family in xls file
"<fo:block font-family="Arial" font-size="10pt" break-after="page">"

Could my problem be related to it use a default font, and how do I tell
FOP to use Arial when it renderers the document in AWT?

Flemming Harms

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 7. september 2005 22:20
To: [email protected]
Subject: Re: Poor quality when printing

One possibility is that your printer is substituting fonts. If your
printer's fonts are very different from those specified in the PDF, the
change can be very noticeable (and often very unattractive). If your
printer has a setting to not substitute, try that. If the printer has
such
a setting, it will (usually) treat all the text as graphics, which will
adversely effect speed, but you may get the output you want.

Of course, it could be many other things, too.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to