That will always happen when font-size = leading-size. Font size does not
refer to the maximum height of the characters.
For this reason, leading is generally 1.2x - 1.5x font size. Change the
leading accordingly, and the problem should go away.
---mr. bean
>> re >>>
Eric Summkeller wrote:
>
Hello!
I have a "com.lowagie.text.pdf.PdfXConformanceException: All the fonts must be
embedded." Exception by the following code!
try {
Document document = new Document(PageSize.A4.rotate());
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(
I create one paragraph with a font size of 40 and one paragraph with a font
size of 10. The leading of each paragraph is its font size. My problem is,
that the first paragraph overwrites the text of the second paragraph.
Any ideas what I could do to resolve this problem?
Example:
Phrase phrase1
G'day fellow iText users.
I have recently joined the long list of web page developers battling
with the IE bug/feature that causes the "cannot write to cache" error
when downloading PDF files from one of my sites.
I realise that this is not really an iText issue but iText users have
obviously
Yes, not really an iText question. Why don't you pass the request object
into the PdfPageSignature constructor?
Brian
On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi Bruno and Paul,
>
> I have this code that produces an onEndPage event (i.e. putting the page
> number) on each p
Did you try to add hihi.pdf directly from file?
Paulo
- Original Message -
From: "Gerold Krommer" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Monday, September 10, 2007 9:39 PM
Subject: Re: [iText-questions] Is a flattened form special?
Hi Paolo,
thanks
Hi Paolo,
thanks for your effort.
I'm not sure you know that cartoon with the stork that has almost completely
swallowed the frog, but the frog is still gagging the storks throat and caption
says 'Never give up'.
I have used the pdf toolbox to inspect my 2ndpage.pdf. It seems to me that on
th
I have a suggestion for Bruno about using iText in the Eclipse
environment. If you get the WTP package, or get the All-in-One Eclipse
3.1.1 version with included WTP support, it makes it very easy to create
and manage Servlet projects. The new Dynamic Web Project with support
for an internal Tomcat
Hi,
jPDF Tweak 0.9 has been released.
Lots of changes, as usual. The most important ones:
- batch processing (select several files and process them the same way)
- command line support
- rotating / scaling / shuffling / n-up preserves all hyperlinks now
(both internal and external ones)
-
Hi,
I have to generate a report that has two parts:
1. Some fixed text with dynamic data
2. Dynamic data in tabular format (row size varies)
I created a form using Adobe Designer which I am using with PdfStamper
to fill in the form. For the second part of it, I am able to create a
Table/PdfT
Hi Bruno and Paul,
I have this code that produces an onEndPage event (i.e. putting the page
number) on each page. But now I need a signature block and everything,
anyway the question is: With this void method, how can I get a reference
to my request? I need to instantial words in the correct
That will certainly remove the metadata and if you look at the PDF with
an hex editor you'll see that it's not there. How were you checking that
the metadata was still there?
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Tobias Meier
> S
Do you mean like this?
PdfDictionary dict = this.stamper.getReader().getCatalog();
dict.remove(new PdfName("/Metadata"));
This produces the same result as using
stamper.setXmpMetadata(new byte[0]);
stamper.setXmpMetadata(null);
regards,
ToM
Am Mo 10.09.2007 16:57 schrieb Paulo Soares <[EMAIL PR
I can't reproduce the problem. I did:
PdfReader r = new PdfReader("c:\\hihi.pdf");
Image img = Image.getInstance(writer.getImportedPage(r, 1));
img.setAbsolutePosition(0, 0);
doc.add(img);
doc.newPage();
in all the files that you sent and all worked correctly. It may be some freak
problem from a
Inma Marín wrote:
> I want to get the last page and add new text within that page,
> after the existing text.
This is possible if you know the coordinates of the last
line of text. iText doesn't know where the existing text
ends.
br,
Bruno
Hi all,
I have to accomplish the following task, and I would like to know if it is
possible to achieve it with iText and, if so, how I can do it.
The situation is that I have an existing PDF file and I need to add some
text into an existing page (the last one). I do not want to add a new p
Remove the /Metadata key in the catalog.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Tobias Meier
> Sent: Monday, September 10, 2007 3:30 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Removing XMP Metadat
Hi!
I experienced some strange behavior while removing XMP data from an
existing pdf file.
First i used
stamper.setXmpMetadata(new byte[0]);
on the original file but the xmp data was partly still in the pdf.
Then i tried
stamper.setXmpMetadata(null);
on the original file with a similar result
Hi again,
On 10/09/2007, Alexis Pigeon <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I just updated iText this morning from 2.0.4 to 2.0.5, and it appeared
> to break the code I wrote for page numbering in footers. I don't know
> if it's a bug introduced in the new version. It certainly could be
> that
19 matches
Mail list logo