<?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 : Code page {936} GB2312_CHARSET</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 : Code page {936} GB2312_CHARSET]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Jul 2026 06:04:28 +0000</pubDate>
  <lastBuildDate>Fri, 21 Sep 2012 02:07:28 +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=2409</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[Code page {936} GB2312_CHARSET : NOTE : This forum doesn&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10156.html#10156</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2409<br /><strong>Posted:</strong> 21 Sep 12 at 2:07AM<br /><br /><div>NOTE : This forum doesn't display Unicode text very well and converts it to the jumble of characters in the previous messages. &nbsp;These strings are meant to be human readable UNICODE strings with native CJK characters.</div><div><pre style=": rgb251, 251, 253; border-top-width: 1px; border-top-style: dotted; border-bottom-width: 1px; border-bottom-style: dotted; padding: 10px; overflow: auto; word-wrap: break-word; "><font color="#333333"><span style="line-height: normal; white-space: pre-wrap; ">QP.AddTrueTypeSubsettedFont("MS Gothic", "ã“ã‚“ã«ã¡ã¯", 0);</span></font></pre></div><div>We are slowly improving the Asian font support and more work will be done in 9.12 and 9.13. 9.11 now has support for rendering vertical Asian text from existing PDF files.</div><div><br></div><div>AddTrueTypeSubsettedFont works pretty well with most fonts these days and is a pretty reliable method that add Asian fonts to a PDF.</div>]]>
   </description>
   <pubDate>Fri, 21 Sep 2012 02:07:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10156.html#10156</guid>
  </item> 
  <item>
   <title><![CDATA[Code page {936} GB2312_CHARSET : Hi Andrew,Thanks for the clarification...]]></title>
   <link>http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10154.html#10154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1940">lenc</a><br /><strong>Subject:</strong> 2409<br /><strong>Posted:</strong> 20 Sep 12 at 5:12PM<br /><br />Hi Andrew,<div><br><div>Thanks for the clarification and quick response!<br><div>I'm using QPL 8.16. &nbsp;I was a bit confused on the 'Add*SubSettedFont' functions usage. &nbsp;Also, I did experiment a bit with the AddCJK function (even though reference states only 'Japanese "HeiseiKakuGo-W5" font is currently supported.) &nbsp;When I loaded the generated PDF, Acrobat Reader informed me that I needed a font package to display the document and offered a link to the Adobe site download location.</div><div><br></div><div>lenc</div></div></div>]]>
   </description>
   <pubDate>Thu, 20 Sep 2012 17:12:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10154.html#10154</guid>
  </item> 
  <item>
   <title><![CDATA[Code page {936} GB2312_CHARSET :    Which version of Quick PDF...]]></title>
   <link>http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10150.html#10150</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2409<br /><strong>Posted:</strong> 20 Sep 12 at 5:43AM<br /><br /><div><br></div><div>Which version of Quick PDF Library are you using ? &nbsp;7.xx or 8.xx ?</div><div><br></div><div>In 8.xx we changed all the internal strings in the library to Unicode so it is not possible to send a DBCS encoded string to the 8.xx version of QPL. &nbsp;For this reason we have recently deprecated the support of the following code pages from QPL 8.xx. &nbsp;Adding CJK fonts works correctly in 8.xx if you use the QPL.AddTrueTypeSubsetFont</div><div><br></div><div>Andrew.</div><div><pre style="color: rgb51, 51, 51; border-top-width: 1px; border-top-style: dotted; border-top-color: rgb102, 102, 102; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb102, 102, 102; padding: 10px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; line-height: normal; : rgb255, 255, 204; ">No longer supported in QPL 8.xx=======================================932 (Japanese Shift-JIS)936 (Simplified Chinese GBK)949 (Korean)950 (Traditional Chinese Big5)</pre><pre style="border-top-width: 1px; border-top-style: dotted; border-top-color: rgb102, 102, 102; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb102, 102, 102; padding: 10px; overflow: auto; word-wrap: break-word; : rgb255, 255, 204; "><font color="#333333"><span style="line-height: normal; white-space: pre-wrap;">int ifontID2 = QP.AddTrueTypeSubsettedFont("MS Gothic", "こんにちは", 0);if (QP.SelectFont(ifontID2) == 1){  QP.DrawTextBox(30, QP.PageHeight() - 60, QP.GetTextWidth("こんにち    は"),&nbsp;</span></font><span style="line-height: normal; white-space: pre-wrap; color: rgb51, 51, 51; ">QP.GetTextHeight(), "こんにちは", 0);</span><span style="line-height: normal; white-space: pre-wrap; color: rgb51, 51, 51; ">}</span></pre></div><span style="font-size:10px"><br /><br />Edited by AndrewC - 20 Sep 12 at 5:43AM</span>]]>
   </description>
   <pubDate>Thu, 20 Sep 2012 05:43:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10150.html#10150</guid>
  </item> 
  <item>
   <title><![CDATA[Code page {936} GB2312_CHARSET : How to output Chinese (Simplified)?With...]]></title>
   <link>http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10147.html#10147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1940">lenc</a><br /><strong>Subject:</strong> 2409<br /><strong>Posted:</strong> 19 Sep 12 at 6:09PM<br /><br />How to output Chinese (Simplified)?<div><br></div><div>With the following,</div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int docID = qp.NewDocument();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int ttfID = qp.AddTrueTypeFont("Arial Unicode MS &#091;Italic&#093;", 0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.SelectFont(ttfID);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.SetTextSize(10.0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double pageTop = qp.GetPageBox(2, 1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double textHeight = qp.GetTextHeight();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.DrawText(10, pageTop - (textHeight * 1) - 5, "... a day in the life");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.DrawText(10, pageTop - (textHeight * 2) - 5, "... 生活中的一天");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.SaveToFile(savePath + "test.pdf");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.RemoveDocument(docID);</div></div><div><br></div><div>Text in PDF output:</div><div><div>&nbsp; &nbsp;... a day in the life</div><div>&nbsp; &nbsp;...</div></div><br ="Apple-interchange-newline"><div>With the following,</div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int docID = qp.NewDocument();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int ttfID = qp.AddTrueTypeFont("Arial Unicode MS &#091;Italic&#093; {936}", 0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.SelectFont(ttfID);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.SetTextSize(10.0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double pageTop = qp.GetPageBox(2, 1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double textHeight = qp.GetTextHeight();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.DrawText(10, pageTop - (textHeight * 1) - 5, "... a day in the life");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.DrawText(10, pageTop - (textHeight * 2) - 5, "... 生活中的一天");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.SaveToFile(savePath + "test.pdf");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qp.RemoveDocument(docID);</div></div><div><br></div><div><div><div>Text in PDF output (none):&nbsp;</div><div><br></div><div><div>The text in the DrawText calls was copy/pasted from Google translate - English -&gt; Chinese (Simplified).</div></div></div><br ="Apple-interchange-newline"></div>]]>
   </description>
   <pubDate>Wed, 19 Sep 2012 18:09:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/code-page-936-gb2312-charset_topic2409_post10147.html#10147</guid>
  </item> 
 </channel>
</rss>