A PDF does not have a single colorspace. There are 11 different ways to
represent colors in PDF and they can be intermixed on each page, let alone
across pages.
If you wish to use "old school" color - then you need to handle that entirely
yourself.
From: Cory Isaacson [mailto:cory.isaac...@co
I've added the detection of removed fontnames.
Op 29-08-10 11:11, Hans Oesterholt-Dijkema schreef:
L.S.,
I've written an extension of DefaultFontMapper that caches fonts in a
hashtable. It needs some changes in DefaultFontMapper. Both
implementations are attached.
Best regards,
Hans Oeste
L.S.,
I've written an extension of DefaultFontMapper that caches fonts in a
hashtable. It needs some changes in DefaultFontMapper. Both
implementations are attached.
Best regards,
Hans Oesterholt.
package net.oesterholt.jxmlnote.report.pdf;
import java.io.File;
import java.io.FileInputStre
L.S.,
The default font mapper of iText is not very efficient. It scans whole
directories for fonts, opens every font file for font parameters and
fills the names and aliases hashmaps.
I think it could be implemented more efficient if it allows for
persisting the font parameters associated wi
If I create a PDF which embeds images that are CMYK, then the generated PDF
is also CMYK (what I want). In other cases, when I just have text in a PDF,
it generates as RGB. Can I use setDefaultColorspace(PdfName.DeviceCMYK,
null) to ensure its always CMYK?
Cory
---