I examined the PDF

Are you using the current head of PoDoFo or a previous build?  I recall Dominic 
fixing something recently...

Leonard

From: Aaron C. Meadows [mailto:[email protected]]
Sent: Monday, January 17, 2011 2:00 PM
To: Leonard Rosenthol
Cc: [email protected]
Subject: Re: [Podofo-users] InsertPages() and fonts

It seems to be something to do with the InsertPages() call.  The 
GreeneCountyReport.pdf was created with Scribus (exported).  If I just create a 
PdfMemDocument from it, I can draw text on it with out problems.  It seems to 
be only when I'm pulling pages from it and putting them in the new 
PdfMemDocument that there is an issue.

How can you tell that the resource dictionary is missing?  Just by looking at 
the image, or do you have a way of examining the pdf?

Aaron C. Meadows
636.541.6139
[email protected]<mailto:[email protected]>



On Jan 17, 2011, at 12:07 PM, Leonard Rosenthol wrote:


I don't know what you did in the first place - so hard to say what broke and 
why...

From: Aaron C. Meadows [mailto:[email protected]]
Sent: Monday, January 17, 2011 1:02 PM
To: Leonard Rosenthol
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Podofo-users] InsertPages() and fonts

That sounds promising.. .how do I transfer the resource dictionary to the new 
document?

Aaron C. Meadows
636.541.6139
[email protected]<mailto:[email protected]>



On Jan 17, 2011, at 11:52 AM, Leonard Rosenthol wrote:



Acrobat/Reader report an appropriate error.

The page has no resource dictionaries, so it can't find the fonts and images 
referenced.

From: Aaron C. Meadows [mailto:[email protected]]
Sent: Monday, January 17, 2011 11:02 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [Podofo-users] InsertPages() and fonts


Hi All.

I'm having an issue with the InsertPages() call.  I have a PDF (a template 
form, if you will) that I am adding to a new document and partially filing out 
(by placing text over it).  However, the PDF ends up looking vaguely right, but 
with the completely wrong font.  When I say completely wrong, I mean the 
characters don't even match..

Here's what it looks like in chrome:  You can see the structure is right, but 
the characters are all kinds of wrong:


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to