You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discrepancy between emoji sizing between PDF and PNG/SVG #8072
bugSomething isn't workingneeds-investigationMore investigation is necessary.pdfRelated to PDF export or PDF embedding.textRelated to the text category, which is all about text handling, shaping, etc.
It isn't really expected that it's centered because the box edges are determined by font-global metrics, not individual glyphs. To get a tight centering, you could in principle use #set text(top-edge: "bounds", bottom-edge: "bounds"), but it appears that this totally breaks down with Noto Color Emoji. I'll open a separate issue about that.
That said, there is some discrepancy between PDF and PNG/SVG. It almost looks like the Emoji is a little stretched in PDF export.
SVG
PNG
PDF
(Ignore the different positions of the boxes, that's just me being bad at taking a consistent screenshot)
bugSomething isn't workingneeds-investigationMore investigation is necessary.pdfRelated to PDF export or PDF embedding.textRelated to the text category, which is all about text handling, shaping, etc.
Activity
laurmaedje commentedon Apr 7, 2026
It isn't really expected that it's centered because the box edges are determined by font-global metrics, not individual glyphs. To get a tight centering, you could in principle use
#set text(top-edge: "bounds", bottom-edge: "bounds"), but it appears that this totally breaks down with Noto Color Emoji. I'll open a separate issue about that.That said, there is some discrepancy between PDF and PNG/SVG. It almost looks like the Emoji is a little stretched in PDF export.
(Ignore the different positions of the boxes, that's just me being bad at taking a consistent screenshot)
[-]Emojis are not centered when exporting to SVG[/-][+]Discrepancy between emoji sizing between PDF and PNG/SVG[/+]saecki commentedon Jul 7, 2026
I believe this has been fixed with #8440