Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Rendering annotations
  FAQ FAQ  Forum Search   Register Register  Login Login

Rendering annotations

 Post Reply Post Reply
Author
Message
previouslypwned View Drop Down
Beginner
Beginner


Joined: 30 Sep 10
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote previouslypwned Quote  Post ReplyReply Direct Link To This Post Topic: Rendering annotations
    Posted: 06 Oct 10 at 2:32AM

I'm trying to render a PDF with a Black & White image, including all text on the page. Saving the PDF as TIFF using Acrobat Pro renders the image and all the visible text, no problem.

Using QuickPDF, the image and form fields in the PDF render no problem, but annotations (comments, or "freetext") don't render. GetPageText does return the text, but the coordinates don't seem right. From what I can tell, if I set origin to bottom left, and units to inches, x1 should be distance in inches from left edge of document to left edge of text bounding box, y1 bottom to bottom in like manner. If that's true, and SetMeasurementUnits is set to inches, the values returned for the annotations are off the page (x = 10+ and y = 13+ on a letter page), which might explain why they're not rendering.
 
Here's a set of returned values (the Arials are form fields, the CourierNews are comments)
"Arial",#000000,12.31,0.5870,10.0517,1.2809,10.0517,1.2809,10.2099,0.5870,10.2099,"Blah"
"Arial",#000000,12.68,1.8594,10.0522,2.6231,10.0522,2.6231,10.2152,1.8594,10.2152,"Blah"
"Arial",#000000,12.68,3.0828,10.0242,3.9252,10.0242,3.9252,10.1872,3.0828,10.1872,"Blah"
"Arial",#000000,12.00,0.5940,9.3678,1.3530,9.3678,1.3530,9.5219,0.5940,9.5219,"Blah"
"CourierNew",#000000,12.00,9.4080,20.0502,10.4080,20.0502,10.4080,20.1812,9.4080,20.1812,"Blah"
"CourierNew",#000000,12.00,13.0141,19.2153,14.0141,19.2153,14.0141,19.3463,13.0141,19.3463,"Blah"
"CourierNew",#000000,12.00,13.0141,17.5966,14.5140,17.5966,14.5140,17.7276,13.0141,17.7276,"Blah"
"CourierNew",#000000,12.00,12.5345,16.0069,13.4345,16.0069,13.4345,16.1379,12.5345,16.1379,"Blah"
"CourierNew",#000000,12.00,2.9951,17.5879,3.8951,17.5879,3.8951,17.7189,2.9951,17.7189,"Blah"
 
It looks to me that the comment coordinates are slightly more than double what they should be. Is this a bug or am I missing something?
 
I can email a sample somewhere if need be.
 
Thanks!
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Oct 10 at 6:32AM
Hi!

You can post your problem and upload a sample
on the official support pages here:
http://www.quickpdflibrary.com/support/support-query.php

I think you're right. The annotations are off the normal page
dimensions and so there aren't rendered properly.

The other thing:
You shouldn't compare such an expensive product like
Acrobat Pro with a low cost pdf-library like QuickPDF.
A normal Adobe Reader installation has about 100 mb.
You know how big the QuickPDF-library is ;-)

Cheers and welcome here,
Ingo
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store