I dunno if you've looked at it yet but if you haven't take a gander at page 291 onwards of the PDF spec v1.7 on Adobe's website. spec 1.7

also, page 238, 'Basics of Showing Text' had this to say...

9.2.2 Basics of Showing Text EXAMPLE 1 This example illustrates the most straightforward use of a font. The t +ext ABC is placed 10 inches from the bottom of the page and 4 inches +from the left edge, using 12-point Helvetica. BT /F13 12 Tf 288 720 Td (ABC) Tj ET The five lines of this example perform these steps: a) Begin a text object. b) Set the font and font size to use, installing them as parameters in + the text state. In this case, the font resource identified by the na +me F13 specifies the font externally known as Helvetica. c) Specify a starting position on the page, setting parameters in the +text object. d) Paint the glyphs for a string of characters at that position. e) End the text object.
Hope this is helpful to you.

In reply to Re: Extracting text from a PDF (using PDF::API2) by desemondo
in thread Extracting text from a PDF (using PDF::API2) by music_man1352000

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.