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
head table bounding box is not recalculated for variable font instances #40
Using subset_with_variations() to instance of a variable font, it does not update the head table bounds (xMin, yMin, xMax and yMax are copied unchanged). Some glyphs in the instance might be bigger than the bounds of the default instance.
The macOS rasterizer crops glyphs outside of the head bounds. This can be seen when opening PDFs created with Krilla in macOS Preview (I had the same issue in PDFs created with Illustrator previously).
Activity
khaledhosny commentedon Oct 28, 2026
Oops, wrong repo. I meant to post this on https://github.com/typst/subsetter
LaurenzV commentedon Oct 28, 2026
Ah that's unfortunate. :( Hopefully we can deprecate our subsetter in favor of skera soon.
khaledhosny commentedon Oct 28, 2026
I can try to work on a fix if you are OK with that, unless move to skera in Krilla/pdf-writer is imminent.
LaurenzV commentedon Oct 28, 2026
Sounds good to me, if you are interested! Don't think it's imminent.
khaledhosny commentedon Nov 22, 2026
Any chance you can review #41?
LaurenzV commentedon Nov 22, 2026
Sorry!! I’ll take a look when I can.