<?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 : Cambria TextHeight</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 : Cambria TextHeight]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 20:12:51 +0000</pubDate>
  <lastBuildDate>Fri, 13 Apr 2012 18:13:04 +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=2211</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[Cambria TextHeight : Yeah, that GetTextAscent - GetTextDescent...]]></title>
   <link>http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9492.html#9492</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1907">fargburger</a><br /><strong>Subject:</strong> 2211<br /><strong>Posted:</strong> 13 Apr 12 at 6:13PM<br /><br />Yeah, that GetTextAscent - GetTextDescent appears to actually give me the height of the text. Unfortunately, it still draws the text at the fairly screwy location. <br><br>Probably because we draw based on the Top/Left coordinates instead of using the baseline of the text.&nbsp; (note: the code I'm using was all recently converted to QuickPDF from drawing directly to the canvas so it made more sense to draw using the top/left than the default functions the QuickPDF uses)<br>]]>
   </description>
   <pubDate>Fri, 13 Apr 2012 18:13:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9492.html#9492</guid>
  </item> 
  <item>
   <title><![CDATA[Cambria TextHeight : Can you check to see what QP.GetTextAscent...]]></title>
   <link>http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9418.html#9418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2211<br /><strong>Posted:</strong> 04 Apr 12 at 4:05AM<br /><br />Can you check to see what QP.GetTextAscent ()- QP.TextDescent() = ? &nbsp;This might be more accurate.<div><br></div><div>Windows reports font heights different &nbsp;to PostScript and other graphics libraries. &nbsp;Windows returns the cell height by default and PDF &nbsp;uses Ascent - Desent.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Wed, 04 Apr 2012 04:05:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9418.html#9418</guid>
  </item> 
  <item>
   <title><![CDATA[Cambria TextHeight : Hi Farg!I think GetTextHeight...]]></title>
   <link>http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9413.html#9413</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2211<br /><strong>Posted:</strong> 03 Apr 12 at 9:33PM<br /><br />Hi Farg!<br><br>I think GetTextHeight only make sense if you draw with different font heights on your new pdf.<br>If you add a truetype font to the pdf it can be used with any height.<br>I could imagine that on a page with headline, chaptertext and normal text there will be perhaps three different font heights.<br>So you have to extract the pagetext getting the real used fontheights?<br><br>Cheers and welcome here,<br>Ingo<br><br><br>]]>
   </description>
   <pubDate>Tue, 03 Apr 2012 21:33:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9413.html#9413</guid>
  </item> 
  <item>
   <title><![CDATA[Cambria TextHeight : This is pretty screwy, but apparently...]]></title>
   <link>http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9409.html#9409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1907">fargburger</a><br /><strong>Subject:</strong> 2211<br /><strong>Posted:</strong> 03 Apr 12 at 5:53PM<br /><br />This is pretty screwy, but apparently a known problem.&nbsp; Although I don't know why it's happening to me as I'm using Cambria and not Cambria Math.<br><br>http://stackoverflow.com/questions/8624229/cambria-math-big-top-and-bottom-margin<br><br>If you use the font called "Cambria" (not Bold or Italic) and call GetTextHeight, you'll get a number which is a bit larger than you might have expected.<br><br>---<br><br>The way I worked around this was to use AddSubsettedFont and just pass in the AnsiCharset, as this is all our reporting engine (technically) supports right now.&nbsp; But I just wanted to know if there was some sort of work around, as we do a lot of calculations based on GetTextHeight. <br><br><br>]]>
   </description>
   <pubDate>Tue, 03 Apr 2012 17:53:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cambria-textheight_topic2211_post9409.html#9409</guid>
  </item> 
 </channel>
</rss>