<?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 : AddStandardFont and text height</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 : AddStandardFont and text height]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 00:27:32 +0000</pubDate>
  <lastBuildDate>Thu, 07 Mar 2013 11:23:17 +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=2556</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[AddStandardFont and text height : In the code snippet below I draw...]]></title>
   <link>http://www.quickpdf.org/forum/addstandardfont-and-text-height_topic2556_post10573.html#10573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2193">LuProch</a><br /><strong>Subject:</strong> 2556<br /><strong>Posted:</strong> 07 Mar 13 at 11:23AM<br /><br />In the code snippet below I draw two texts - first with font from AddTrueTypeSubsettedFont, second with font from AddStandardFont. They are both Times New Roman and they should be the same. But first line of the second text is shifted up and line spacing is smaller.<br><br>I have <a href="http://www.quickpdf.org/forum/&#069;mbedding-font-subset-vs-text-align_topic2526.html" target="_blank">some problems with text justification</a> and AddStandardFont seems to be my only option. How can I make it behave the same as AddTrueTypeSubsettedFont?<br><br><table width="99%"><tr><td><pre class="BBcode">quickPDF.SetOrigin(1); // top left<br>quickPDF.SetMeasurementUnits(1); // millimetres<br><br>quickPDF.DrawBox(10, 10, 100, 50, 0);<br><br>int ID = quickPDF.AddTrueTypeSubsettedFont("Times New Roman", "a ", 0);<br>quickPDF.SetHTMLNormalFont("Default", ID);<br>quickPDF.DrawHTMLText(10, 10, 50, "&lt;font size=\"20pt\"&gt;&lt;p align=\"left\"&gt;aaaaaaaa aaaaa aaaa aaaaa aaaaa aaaaa aaaaaaaaaaaa&lt;/p&gt;&lt;/font&gt;");<br><br>ID = quickPDF.AddStandardFont(8); // Times New Roman<br>quickPDF.SetHTMLNormalFont("Default", ID);<br>quickPDF.DrawHTMLText(60, 10, 50, "&lt;font size=\"20pt\"&gt;&lt;p align=\"left\"&gt;aaaaaaaa aaaaa aaaa aaaaa aaaaa aaaaa aaaaaaaaaaaa&lt;/p&gt;&lt;/font&gt;");</pre></td></tr></table><br><a href="http://s22.postimage.org/fu08phwtt/Line_spacing.png" target="_blank">http://s22.postimage.org/fu08phwtt/Line_spacing.png</a><br>]]>
   </description>
   <pubDate>Thu, 07 Mar 2013 11:23:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addstandardfont-and-text-height_topic2556_post10573.html#10573</guid>
  </item> 
 </channel>
</rss>