<?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 : Font Size not working</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 : Font Size not working]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 10:14:34 +0000</pubDate>
  <lastBuildDate>Tue, 01 Sep 2009 20:33:29 +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=1194</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[Font Size not working :   Found my problem, replying...]]></title>
   <link>http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5529.html#5529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1150">softwaredev</a><br /><strong>Subject:</strong> 1194<br /><strong>Posted:</strong> 01 Sep 09 at 8:33PM<br /><br /><DIV></DIV><DIV>&nbsp;</DIV><DIV>Found my problem, replying here for the benefit of the forum.</DIV><DIV>&nbsp;</DIV><DIV>In my code the user was able to select the Font, hence if they would select Arial it was getting set to "Arial Regular". Which in turn would cause the Font to appear funny. </DIV><DIV>&nbsp;</DIV><DIV>Fixed! </DIV>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 20:33:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5529.html#5529</guid>
  </item> 
  <item>
   <title><![CDATA[Font Size not working : I tested your code in VB6 and...]]></title>
   <link>http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5527.html#5527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1140">Shotgun Tom</a><br /><strong>Subject:</strong> 1194<br /><strong>Posted:</strong> 01 Sep 09 at 5:08PM<br /><br />I tested your code in VB6 and it works okay.&nbsp; One thought... I assume you're viewing your out.pdf in Adobe Reader, correct?&nbsp; Check your resolution preference in Reader.&nbsp; You can access it from Reader by pressing Ctrl-K.&nbsp; Choose Page Display.&nbsp; Check your resolution.&nbsp; If you are using a higher dpi resolution than your system setting the font will appear larger but is actually correct.<DIV>&nbsp;</DIV><DIV>One other quick note on your code... not sure why you have SetLineColor method included.&nbsp; If you want to set the color of the text you would need to use SetTextColor method.</DIV><DIV>&nbsp;</DIV><DIV>Tom</DIV>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 17:08:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5527.html#5527</guid>
  </item> 
  <item>
   <title><![CDATA[Font Size not working : Hi!You have to select the font...]]></title>
   <link>http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5523.html#5523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1194<br /><strong>Posted:</strong> 01 Sep 09 at 4:44PM<br /><br />Hi!<br><br>You have to select the font after adding it and before writing.<br>If you want to set the textcolour you should use SetTextColor.<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 16:44:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5523.html#5523</guid>
  </item> 
  <item>
   <title><![CDATA[Font Size not working :   Hello fellow forum members,  Am...]]></title>
   <link>http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5521.html#5521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1150">softwaredev</a><br /><strong>Subject:</strong> 1194<br /><strong>Posted:</strong> 01 Sep 09 at 2:52PM<br /><br /><DIV></DIV><DIV>&nbsp;</DIV><DIV>Hello fellow forum members,</DIV><DIV>&nbsp;</DIV><DIV>Am trying to use QuickPDF API as an ActiveX via VB6. Cannot get the drawn text to be the font size I need. Am passing 9.75 but it seems to be printing at higher value more like 11.5 or something.</DIV><DIV>&nbsp;</DIV><DIV>Wondering what is the smallest font size I could go to.</DIV><DIV>&nbsp;</DIV><DIV>Code below ... Can anyone tell me what I am doing wrong? Thks!</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;&nbsp;Const FileName As String = "c:\temp\out.pdf"&nbsp;</DIV><DIV>&nbsp;&nbsp; Dim Result<BR>&nbsp;&nbsp;&nbsp; Set QP = New QuickPDFAX0715.PDFLibrary<BR>&nbsp;&nbsp;&nbsp; Result = QP.UnlockKey(LicenseKey)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If Result = 1 Then<BR><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call QP.SetMeasurementUnits(1)&nbsp;&nbsp;&nbsp; 'Change to MM<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call QP.SetOrigin(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Start&nbsp;0 at top Left<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call QP.SetLineColor(0, 0, 0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'black<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call QP.AddTrueTypeFont("Arial", 1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Arial, &nbsp;embed <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call QP.SetTextSize(9.75)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Font size 9.75<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call QP.DrawText(20, 50, "Quick PDF Font Size Testing")&nbsp;&nbsp; </DIV></DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If QP.SaveToFile(FileName) = 1 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'MsgBox "File " + FileName + " written successfully."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'MsgBox "Error, file could not be written."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR></DIV><DIV>&nbsp;&nbsp;&nbsp; End If</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>Another similar question. Earlier was using the QP.SetFontFlags to set the font to Bold but it did not work for me, so have changed to include the Bold inside the Font-Name itself like (Arial Narrow Bold Italic) and that seems to work. Is that the right way to do it? </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by softwaredev - 01 Sep 09 at 4:16PM</span>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 14:52:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-size-not-working_topic1194_post5521.html#5521</guid>
  </item> 
 </channel>
</rss>