<?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 : Range Check Error</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 : Range Check Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 19 May 2026 10:12:22 +0000</pubDate>
  <lastBuildDate>Tue, 31 Oct 2006 05:52:53 +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=548</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[Range Check Error : Ok, I see. ]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2455.html#2455</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=460">Dmitry</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 31 Oct 06 at 5:52AM<br /><br />Ok, I see.]]>
   </description>
   <pubDate>Tue, 31 Oct 2006 05:52:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2455.html#2455</guid>
  </item> 
  <item>
   <title><![CDATA[Range Check Error : Hi!  You can read here ... I can&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2453.html#2453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 31 Oct 06 at 5:20AM<br /><br />Hi!<br /><br />You can read here ... I can't look into the future ;-)<br />The first beta is released.<br /><br />Best regards,<br />Ingo<br />]]>
   </description>
   <pubDate>Tue, 31 Oct 2006 05:20:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2453.html#2453</guid>
  </item> 
  <item>
   <title><![CDATA[Range Check Error : Thanks, Ingo! Please tell me when...]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2450.html#2450</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=460">Dmitry</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 31 Oct 06 at 3:22AM<br /><br />Thanks, Ingo!<br />Please tell me when 5.15 version will released?]]>
   </description>
   <pubDate>Tue, 31 Oct 2006 03:22:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2450.html#2450</guid>
  </item> 
  <item>
   <title><![CDATA[Range Check Error : Hi Dimitry!  If you&amp;#039;re source-license...]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2449.html#2449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 30 Oct 06 at 3:52PM<br /><br />Hi Dimitry!<br /><br />If you're source-license owner i can help you immediately. If not you can wait 'till 5.15 will be released here or you should tell me which dcu-version you need ... ;-)<br /><br />With my code and the modificated version 5.15 i can extract the text from your sample...<br /><br />Best regards,<br />Ingo<br /><br />// First i open the pdf making a copy to work with.<br />// Sometimes i've problems with missing embedded fonts...<br />// so i add one by myself...<br /><br />&nbsp;&nbsp;&nbsp;QP := TiSEDQuickPDF.Create;<br />&nbsp;&nbsp;&nbsp;try<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.UnlockKey('MyKey');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.LoadFromFile(Edit1.Text);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If QP.Encrypted &gt; 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.Unencrypt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.AddStandardFont(0);&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.SaveToFile(tpath + '_' + ExtractFileName(Edit1.Text));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Edit1.Text := tpath + '_' + ExtractFileName(Edit1.Text);<br />&nbsp;&nbsp;&nbsp;finally<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.Free;<br />&nbsp;&nbsp;&nbsp;end;<br /><br />// Now i load my work-pdf.<br />// The direct-access-functions are not so<br />// cpu-hungry ;-)<br /><br />&nbsp;&nbsp;&nbsp;QP := TiSEDQuickPDF.Create;<br />&nbsp;&nbsp;&nbsp;try<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.UnlockKey('MyKey');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dafh := QP.DAOpenFile(Edit1.Text,'');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x&nbsp;&nbsp;&nbsp;&nbsp;:= QP.DAGetPageCount(dafh);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STR  := '';<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;verztxt := Edit1.Text + '.txt';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AssignFile(cf,verztxt);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rewrite(cf);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pc := 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for i := 1 to x Do<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;begin<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dapr := QP.DAFindPage(dafh,i);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.CombineLayers;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STR  := QP.DAExtractPageText(dafh,dapr,3);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WriteLn(cf,Trim(STR));<br /><br />// We know that QP want more and more cpu-capacity<br />// if the pages are more and more ...<br />// So i've made every 10 pages a break starting new ...<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pc := pc + 1;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( pc = 10 ) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;begin<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  pc := 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  QP.DACloseFile(dafh);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  QP.Free;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  QP := TiSEDQuickPDF.Create;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  QP.UnlockKey('MyKey');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  dafh := QP.DAOpenFile(Edit1.Text,'');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end;  <br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end;<br />&nbsp;&nbsp;&nbsp;&nbsp;finally<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.DACloseFile(dafh);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QP.Free;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CloseFile(cf);<br />&nbsp;&nbsp;&nbsp;&nbsp;end;<br /><br />//==============================================<br /><br />In file uPDFTrueTypeParser.pas i've made changes (which are included in the new 5.15 beta. With this changes i've got a good result extracting your sample.pdf:<br /><br />unit uPDFTrueTypeParser;<br /><br />// . . .<br /><br />function IsString(const str: string): boolean;<br />var<br />  len: integer;<br />  p : PChar;<br />begin<br />  len := length(str);<br />  result := CompareMem( p, pchar(str), len);<br />  inc(p, len);<br />end;<br /><br />// . . .<br /><br />procedure TPDFTrueTypeParser.LoadFromString(const Source: String);<br />var<br />  SS: TStringStream;<br />begin<br />  If not IsString(Source) Then //Schmoekel, 2006-10<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exit;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Schmoekel, 2006-10 <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />  try<br /><br />// . . .<br />]]>
   </description>
   <pubDate>Mon, 30 Oct 2006 15:52:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2449.html#2449</guid>
  </item> 
  <item>
   <title><![CDATA[Range Check Error : Hi!  I&amp;#039;ve got the same error...]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2448.html#2448</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 30 Oct 06 at 10:32AM<br /><br />Hi!<br /><br />I've got the same error while rendering to file ...<br />I've seen the file is created with ActivePDF ... There're often Problems with ActivePDF ...<br />I'm out of office now but i know i've a solution for you ;-)&nbsp;&nbsp;&nbsp;&nbsp;Be patient 'till tomorrow ...<br /><br />Best regards,<br />Ingo<br /><span style="font-size:10px"><br /><br />Edited by Ingo</span>]]>
   </description>
   <pubDate>Mon, 30 Oct 2006 10:32:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2448.html#2448</guid>
  </item> 
  <item>
   <title><![CDATA[Range Check Error : Really noone knows why occurs...]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2442.html#2442</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=460">Dmitry</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 30 Oct 06 at 8:58AM<br /><br />Really noone knows why occurs this error?<br /><br />Here is this page:<br />www.self-disciple.gorodok.net/sample.pdf<br /><br />Please try to extract text from this sample.<br /><img border="0" src="http://www.quickpdf.org/forum/smileys/smiley19.gif" border="0"> <span style="font-size:10px"><br /><br />Edited by Dmitry</span>]]>
   </description>
   <pubDate>Mon, 30 Oct 2006 08:58:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2442.html#2442</guid>
  </item> 
  <item>
   <title><![CDATA[Range Check Error : Hi! Please tell me about this...]]></title>
   <link>http://www.quickpdf.org/forum/range-check-error_topic548_post2429.html#2429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=460">Dmitry</a><br /><strong>Subject:</strong> 548<br /><strong>Posted:</strong> 28 Oct 06 at 1:42AM<br /><br />Hi!<br />Please tell me about this error. It that cases it occurs?<br /><br /><font color="blue"><br />Qp.LoadFromFile('sample.pdf');<br /> for i := 1 to  Qp.PageCount do<br />  begin  <br />&nbsp;&nbsp;&nbsp;Qp.SelectPage(i);<br />&nbsp;&nbsp;&nbsp;PageList_.Add(Qp.GetPageText(3));<br />  end;<br /></font><br /><br />At the page with number 14 occurs this error.<br />Page with number 14 consists of many images, but also has  a little of text.<br /><br /><br /><img border="0" src="http://www.quickpdf.org/forum/smileys/smiley2.gif" border="0"> ]]>
   </description>
   <pubDate>Sat, 28 Oct 2006 01:42:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/range-check-error_topic548_post2429.html#2429</guid>
  </item> 
 </channel>
</rss>