A set formula placed on a page — $x^2$ or a display. y is its
top edge, like a rule's and an image's, and height is the whole box:
the formula's height and its depth, since a formula hangs below the
baseline it was placed on.
The picture rides along, already parsed, for the reason PlacedImage carries
its bytes: emission has nothing to look anything up in (the engine performs no
I/O, D38). pdf/content.ts maps the SVG's viewBox onto this rectangle and
writes path operators straight into the page's content stream — no XObject,
no resource dictionary, nothing to register.
A set formula placed on a page —
$x^2$or a display.yis its top edge, like a rule's and an image's, andheightis the whole box: the formula's height and its depth, since a formula hangs below the baseline it was placed on.The picture rides along, already parsed, for the reason
PlacedImagecarries its bytes: emission has nothing to look anything up in (the engine performs no I/O, D38).pdf/content.tsmaps the SVG's viewBox onto this rectangle and writes path operators straight into the page's content stream — noXObject, no resource dictionary, nothing to register.