When moving to JasperReports v0.5.1 we noticed that there was a subtle
difference in the way our PDF reports were rendered. Bolded text now
appears "fuzzier" and a bit harder to read. Through much trial and error, I
was able to isolate iText v1.01 as the culprit.

With iText v0.96, when a font was defined like:

<reportFont name="ColumnHeader" isDefault="false" fontName="Arial"
size="12"
pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"
isBold="true" isUnderline="false"/>

the isBold="true" had no effect on the PDF rendering. However, with iText
v1.01, it DOES have an effect. The isBold="true" makes the font render in a
soft, diffuse way. What is even stranger is that having
pdfFontName="Helvetica" and isBold="true" renders differently than
pdfFontName"Helvetica-Bold" and isBold="false". If
pdfFontName="Helvetica-Bold" and isBold="true", the boldness and
soft/diffuse effects combine.

I discovered this by alternating between iText v0.96 and iText v1.01 with
JasperReports v0.5.1.

I don't know whether this is a bug or just a heads up that a change has
taken place and reports may need to be redefined to combat it.

Teodor?

======================================================================

Hi,

I've noticed this myself but didn't investigate
it further since there is no recent modification
in the library that could be related to this.

If you say it is about the iText version we use,
maybe we should try to post on their forum in case
Paulo does not hear our cry for help.
:)

Thank you,
Teodor


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to