<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Thanks, Tom.<br></div><div><br data-mce-bogus="1"></div><div>But now I'm confused, because you're talking about an "epsf" *macro*, which sounds like something written in TeX that by virtue of being a macro must be relying on some even lower primitive command (a PDF extension command in pdftex?) to get the bounding box numbers from the graphics file living in the outside world.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Does any TeX code, running on the TeX engine, actually parse the PDF (or EPSF) data to determine its bounding box?</div><div><br data-mce-bogus="1"></div><div>Or does the implementation (in WEB, or C, or whatever) of some primitive command parse the graphic data to get the bounding box?<br></div><div><br data-mce-bogus="1"></div><div>I'm trying to determine on which side of the TeX virtual machine/engine barrier the bounding box info in a PDF file gets converted to a fixed-point Dimension value stored inside the TeX engine.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>In other words, who is responsible for scaling the big point numbers by 72.27/72.0 to bring them into TeX's internal world, where all dimensions are stored as [16:16] fixed point numbers and where the integer part always measures points at 72.27/inch?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>- Doug McKenna<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Tom Rokicki" <rokicki@gmail.com><br><b>To: </b>"Doug McKenna" <doug@mathemaesthetics.com><br><b>Cc: </b>tex-k@tug.org<br><b>Sent: </b>Saturday, January 26, 2019 9:47:58 AM<br><b>Subject: </b>Re: [tex-k] Where does conversion of PostScript pts to TeX pts occur?<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><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" target="_blank" data-mce-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 #cccccc; padding-left: 1ex;" data-mce-style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div dir="ltr">The epsf macro reads the bounding box and interprets it using<div>TeX truept units.</div></div></blockquote><div><br></div><div><br data-mce-bogus="1"></div></div></div></div></body></html>