Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>1.</p> <p>/C2_0 1 Tf</p> <p>This command sets the font to 1 pt.</p> <p>2.</p> <p>10 0 0 10 143.4331 134.0855 Tm</p> <p>This command scales the current transformation matrix by a factor of 10 in the x direction, 10 in the y direction and translates/moves the origin to x = 141,4331, y = 132.0855. So basically your font is scaled to <strong>10 pt</strong> drawn at (141,4331,132.0855).</p> <p>Here is an example from <a href="http://www.mactech.com/articles/mactech/Vol.15/15.09/PDFIntro/index.html" rel="nofollow">http://www.mactech.com/articles/mactech/Vol.15/15.09/PDFIntro/index.html</a> near the bottom of the page.</p> <pre><code>3 0 obj &lt;&lt; /Length 168 &gt;&gt; stream BT /F4 1 Tf 12 0 0 12 50.64 731.52 Tm 0 0 0 rg BX /GS2 gs EX 0 Tc 0 Tw [(This is 12-point )10(T)41(imes. ) 18(This sentence will appear near the top of page one.)]TJ ET endstream endobj </code></pre> <p>"The stream object (which is 168 bytes long) is bracketed by BT and ET operators, for Begin Text and End Text. The Tf command selects our font and its size in user-space units, which is given as 1. "But aren't we using 12-point type?" you may be wondering. Yes, we are. That's specified in the next line, ending in Tm (which is the set-text-matrix operator). For space reasons, we won't say much about coordinate system transformations and matrices here, but if you're familiar with the use of matrices in PostScript, the same rules apply in PDF. A transform matrix is given by an array of six numbers, the first and fourth of which determine scaling in x and y, respectively. We see in our text matrix, the scaling factor is 12. That means we will use 12-point type. The last two numbers in the matrix (50.64 and 731.52) specify a translation, in user-space units. The effect of the translation is to put our text approximately 10.1 inches high on the page, with a left margin of 0.7 inch."</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload