<div dir="ltr">I'm sorry; I mean bp (big point) units.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 26, 2019 at 8:46 AM Tomas Rokicki <<a href="mailto:rokicki@gmail.com">rokicki@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">The epsf macro reads the bounding box and interprets it using<div>TeX truept units.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_-7036954134560266799gmail_attr">On Sat, Jan 26, 2019 at 7:10 AM Doug McKenna <<a href="mailto:doug@mathemaesthetics.com" target="_blank">doug@mathemaesthetics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">All -<br>
<br>
When a Tex source file wants to place an illustration in PDF or other supported graphic file format, it needs to know the bounding box of that illustration, which for PDF is recorded inside that PDF file in PostScript points (72 per inch).  But TeX operates in TeX points, which are 72.27/inch.<br>
<br>
So some high-level macro in LaTeX (or whatever format or library) such as \includegraphics[]{} gets invoked and it presumably relies on some low-level primitive extension command implemented in pdftex (or equivalent) that reaches out to some directory and examines the PDF file requested to get that PDF's bounding box info.<br>
<br>
My question is this: deep down at the primitive level, whose responsibility is it to convert from PostScript points to TeX points in order know what the equivalent bounding box will be on the TeX page?<br>
<br>
Does some back-end implementation of a primitive do it on behalf of the primitive command, so that the primitive command delivers values in TeX points, or does it deliver values in PostScript points, and some TeX source code surrounding the invocation of that primitive then adjust the numbers to TeX points (and perhaps then scale them according to the argument to \includegraphics[]{}?<br>
<br>
I'm guessing the former, but I'm not familiar with the source code enough to know what's going on.  And I don't want to guess.<br>
<br>
<br>
Doug McKenna<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-7036954134560266799gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>--  <a href="http://cube20.org/" target="_blank">http://cube20.org/</a>  --  <a href="http://golly.sf.net/" target="_blank">http://golly.sf.net/</a>  --</div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>--  <a href="http://cube20.org/" target="_blank">http://cube20.org/</a>  --  <a href="http://golly.sf.net/" target="_blank">http://golly.sf.net/</a>  --</div></div></div></div></div>