<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Problems drawing on a PDF</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Problems drawing on a PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:07:35 +0000</pubDate>
  <lastBuildDate>Mon, 19 Aug 2013 01:07:54 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2698</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Problems drawing on a PDF : Eric,PDF files were never designed...]]></title>
   <link>http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11112.html#11112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 19 Aug 13 at 1:07AM<br /><br /><div>Eric,</div><div><br></div><div>PDF files were never designed to be manipulated. &nbsp;They were almost designed as a readonly format until people want to start doing useful things with their PDF files such as splitting, merging, stamping etc..</div><div><br></div>When you create a new PDF it will start off with the origin point (0,0) in the bottom left corner, the rotation in 0 degrees and the units as points (ie. &nbsp;72points per inch), a black pen and a white background. &nbsp;Many PDF's change these values in the content stream during the creation process. &nbsp;If is good practice to call SaveState ('q') as the very first call in the content stream and RestoreState ('Q') as the very last operation. &nbsp;Many PDF produces do not do restore the graphics state at the end so when DQPL appends drawing commands such as DrawText it can be affected by the unknown drawing state and so can be drawn at the wrong angle in the wrong color in the wrong position or even off of the page in many cases.<div><br></div><div><div><span style="line-height: 1.4;">NormalizePage is designed to place SaveState/RestoreState commands at the start and end of the contentstream(s) respectively so that the drawing state is known and can be trusted. &nbsp;NormalizePage works on 99.9% of problem PDF's and it generally recommended to be called before adding any text, graphics or logos to an existing PDF file. &nbsp;Sometimes PDF producers add more SaveState calls than RestoreState calls so NormalizePage(1) will attempt to count and then balance out the Save/Restore calls.</span></div><div><br></div><div>Andrew.</div></div>]]>
   </description>
   <pubDate>Mon, 19 Aug 2013 01:07:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11112.html#11112</guid>
  </item> 
  <item>
   <title><![CDATA[Problems drawing on a PDF : Cause there&amp;#039;s something special...]]></title>
   <link>http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11110.html#11110</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 18 Aug 13 at 10:07PM<br /><br />Cause there's something special with this single pdf.<div>Something curious happened while creating ... who knows?</div><div>We don't have this pdf - so we won't know.</div><div>But this all doesn't matter cause we've a main medecine "NormalizePage" ;-)</div><div><br></div><div><br></div><span style="font-size:10px"><br /><br />Edited by Ingo - 18 Aug 13 at 10:09PM</span>]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 22:07:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11110.html#11110</guid>
  </item> 
  <item>
   <title><![CDATA[Problems drawing on a PDF : Just curious, but why is this...]]></title>
   <link>http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11108.html#11108</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1098">Eric24</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 18 Aug 13 at 7:33PM<br /><br />Just curious, but w<i>hy</i> is this is the solution?]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 19:33:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11108.html#11108</guid>
  </item> 
  <item>
   <title><![CDATA[Problems drawing on a PDF : Hi Andrew,thank you very much!...]]></title>
   <link>http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11062.html#11062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2436">Kudermann</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 05 Aug 13 at 8:24AM<br /><br />Hi Andrew,<br><br>thank you very much! Thats the solution.<br><br>Jutta<br>]]>
   </description>
   <pubDate>Mon, 05 Aug 2013 08:24:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11062.html#11062</guid>
  </item> 
  <item>
   <title><![CDATA[Problems drawing on a PDF : Jutta,Can you try calling QP.NormalizePage(0);...]]></title>
   <link>http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11060.html#11060</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 04 Aug 13 at 9:05AM<br /><br />Jutta,<div><br></div><div>Can you try calling QP.NormalizePage(0); before calling DrawBox ? &nbsp;</div><div><br></div><div>If it works then NormalizePage will need to be be called once for each page that you want to use DrawBox, DrawText etc..</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Sun, 04 Aug 2013 09:05:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11060.html#11060</guid>
  </item> 
  <item>
   <title><![CDATA[Problems drawing on a PDF :  Hi,i have a PDF where the function...]]></title>
   <link>http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11058.html#11058</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2436">Kudermann</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 02 Aug 13 at 11:23AM<br /><br />Hi,<br><br>i have a PDF where the function DrawBox returns 1. But there is nothing painted on the PDF after i save it and open it.<br>The security info of the document show me the following results:<br>Security Method: None<br>User Password: No<br>Owner Password: No<br>Printing: Fully Allowed<br>Changing the Document: Allowed<br>Content Copying or Extraction: Allowed<br>Authoring Comments and Form Fields: Allowed<br>Form Field Fill-in or Signing: Allowed<br>Content Accessibility Enabled: Allowed<br>Document Assembly: Allowed<br>Encryption Level: Blank<br>Opened with User password: No<br>Opened with Owner password: No<br>Variable Encryption Strength: None<br><br>The DrawBox functions works perfect for other PDFs with the same security info results. Only this PDF doesnt work. <br>Now the question: what can be the reason for this behaviour and how can i check it?&nbsp;&nbsp; <br>I am using Debenu Quick PDF Library 9.15<br><br>No problem to upload the PDF for further tests.<br><br>Jutta Kudermann]]>
   </description>
   <pubDate>Fri, 02 Aug 2013 11:23:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698_post11058.html#11058</guid>
  </item> 
 </channel>
</rss>