<?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 : Form field and greek fonts issue</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 : Form field and greek fonts issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 23 Jun 2026 12:16:52 +0000</pubDate>
  <lastBuildDate>Thu, 21 Oct 2010 20:10:56 +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=1491</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[Form field and greek fonts issue : Two things to try. 1. Try a later...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-and-greek-fonts-issue_topic1491_post7102.html#7102</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 1491<br /><strong>Posted:</strong> 21 Oct 10 at 8:10PM<br /><br />Two things to try. <br><br>1. Try a later version of the library like 7.21.<br>2. Make sure the string you pass to the DLL which sets the value is formatted as UTF-8.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Thu, 21 Oct 2010 20:10:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-and-greek-fonts-issue_topic1491_post7102.html#7102</guid>
  </item> 
  <item>
   <title><![CDATA[Form field and greek fonts issue : -bumpIt has been several months...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-and-greek-fonts-issue_topic1491_post7095.html#7095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1170">stakon</a><br /><strong>Subject:</strong> 1491<br /><strong>Posted:</strong> 21 Oct 10 at 8:42AM<br /><br />-bump<br><br>It has been several months since i first posted this, so i bring it once again to your attention in case someone can provide some help.<br><br><br><br>]]>
   </description>
   <pubDate>Thu, 21 Oct 2010 08:42:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-and-greek-fonts-issue_topic1491_post7095.html#7095</guid>
  </item> 
  <item>
   <title><![CDATA[Form field and greek fonts issue : Good day!  I have some experience...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-and-greek-fonts-issue_topic1491_post6664.html#6664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1170">stakon</a><br /><strong>Subject:</strong> 1491<br /><strong>Posted:</strong> 17 Jun 10 at 8:00AM<br /><br />Good day!<br><br>I have some experience with the QuickPDF library from some projects in the past, but i've never needed (until now) the forms/fields functionality.<br><br>So here are some problems i encountered:<br><br>First of all it was a bit confusing to find which fonts are used within the forms. The forms were created with Adobe Acrobat 9 Pro Extended. In each field we set the font to Arial. By editing the form with Acrobat viewer it was possible to enter greek text.<br>Now i try to add text with the QuickPDF in a field.<br><br>My first try: simply add a string value in a field<br><br>pdf_dll-&gt;SetNeedAppearances(1);<font color="#009900">//when loading the document</font><br><font color="#009900">//for the field i , I do the following:</font><br>pdf_dll-&gt;UpdateAppearanceStream(i);<br>pdf_dll-&gt;SetFormFieldValue(i,str);<font color="#009900">//i set a value in the field</font><br>....<br><font color="#009900">//Save document</font><br><br>If the str value is english text everything is fine. If i try to pass greek text, nonsense is written in the field.<br><br>My second try: i add and embed a new font and use it instead of the one used by the form creator.<br><br>pdf_dll-&gt;SetNeedAppearances(1);<font color="#009900">//when loading the document</font><br><br><font color="#009900">//for the field i , I do the following:</font><br><font color="#0000ff">int </font>form_font = pdf_dll-&gt;AddTrueTypeFont("Arial {1253}",1);<font color="#009900">//Add a greek arial font and embed it</font><br><font color="#0000ff">int </font>res = pdf_dll-&gt;AddFormFont(form_font);<font color="#009900">//Add the font in the form. res returned is the number of fonts available in the form (also the index of this lastly-added font.<br>  <font color="#000000">pdf_dll-&gt;SetFormFieldFont(i,</font></font>res <font color="#009900"><font color="#000000">);</font></font><br>pdf_dll-&gt;UpdateAppearanceStream(i);<br>pdf_dll-&gt;SetFormFieldValue(i,str);<font color="#009900">//i set a value in the field</font><br>....<br><font color="#009900">//Save document</font><br><br>By using this the results are weird. I can see greek text by using the QuickPDF viewing capabilities (RenderToDC) but when opening with Adobe Acrobat, the field shows nothing!<br><br>Thanx in advance for any guidance upon the issue,<br>stakon<br><br>Note: I am developing in C++ the 7.18 dll version of the library.<br>]]>
   </description>
   <pubDate>Thu, 17 Jun 2010 08:00:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-and-greek-fonts-issue_topic1491_post6664.html#6664</guid>
  </item> 
 </channel>
</rss>