Article View: adobe.pdf.workflow
Article #445text size in PDF documents
From: Pam_Masters
Date: Thu, 19 Feb 2009 17:31
Date: Thu, 19 Feb 2009 17:31
1 lines
978 bytes
978 bytes
I am trying to pin down how to calculate the size of text in a PDF document. I am using a certain API to pull apart PDF documents, I am able to get the text state and its parameters, and the current transformation matrix values, but the spec is not very clear about how to get the actual text size, similar to point size in say Word. Anyone know how to calculate font size or vertical displacement for a text object in PDF?
Technical Details
Message-ID:
<59b7fc6d.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 1074f2,ef25086b342d86e9,start X-Google-Attributes: gid1074f2,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Pam_Masters@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.pdf.workflow Subject: text size in PDF documents Message-ID: <59b7fc6d.-1@webcrossing.la2eafNXanI> Date: Thu, 19 Feb 2009 09:31:22 -0800 Lines: 6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit