Skip to content

v2.2.0

Latest

Choose a tag to compare

@mourner mourner released this 05 May 12:11
  • Fixed hard cutoffs at glyph edges where ink touches the bounding box (common in dense scripts like CJK). The inner distance transform now correctly sees outside-ink pixels in the surrounding buffer region (#63).
  • Fixed glyph placement within the SDF texture for fonts where actualBoundingBoxLeft is non-zero. Glyphs are now correctly centered without phantom padding, producing slightly smaller textures. Downstream consumers that position quads via glyphLeft (e.g. mapbox-gl-js) render identically (#65).