Problem with printing coloured fonts (Resolved)

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
floele
Posts: 8
Joined: Wed Nov 14 2007

Problem with printing coloured fonts (Resolved)

Post by floele »

Hi,

I have a problem when drawing coloured text to a PDF document, which is being printed using the PDF Printer (using version 3.0.3.f).
I'm basically doing the following:

Code: Select all

using (Brush brush = new SolidBrush(Color.XYZ))
{
    g.DrawString("Text", font, brush, normalizedRectangle, stringFormat);
}
The expected result is the following:

Image


However, the actual result is:

Image

Can you please advise me how to fix this problem (the coloured bar instead of the coloured text)?

Thanks in advance,
Florian
floele
Posts: 8
Joined: Wed Nov 14 2007

Re: Problem with printing coloured fonts

Post by floele »

Do you need more information in order to help me resolving this issue?
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Problem with printing coloured fonts

Post by Jose »

Hello,

This can be resolved by turn post script simulation.

PDF.SimPostscript = true;
PDF.SetDefaultConfig();

Hope this helps
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
floele
Posts: 8
Joined: Wed Nov 14 2007

Re: Problem with printing coloured fonts

Post by floele »

Thanks, that really seems to work nicely :)
Post Reply