Skip to content

fix(fonts): update text-shaper to 0.1.27 - #32

Merged
wiedymi merged 1 commit into
mainfrom
agent/update-text-shaper-0.1.27
Jul 16, 2026
Merged

fix(fonts): update text-shaper to 0.1.27#32
wiedymi merged 1 commit into
mainfrom
agent/update-text-shaper-0.1.27

Conversation

@wiedymi

@wiedymi wiedymi commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • update the runtime dependency from text-shaper 0.1.26 to 0.1.27
  • lock the published package and prepare restty 0.2.5
  • restore VS16 color emoji rendering through single-glyph variation-sequence shaping
  • preserve pair positioning when selectors occur between adjacent glyphs

Root cause

Text-shaper parsed cmap format 14 but did not consult it during shaping, so variation selectors survived as extra glyphs. Restty's color glyph recording requires single-glyph clusters, causing Apple Color Emoji VS16 sequences to be omitted from the canvas atlas. Text-shaper 0.1.27 maps format-14 variation sequences and removes surviving selectors after substitution but before positioning.

Validation

  • installed-package probe confirms text-shaper 0.1.27
  • A + VS16 + V has the same glyph IDs and [1273, 1413] advances as AV
  • live Noto CJK format-14 IVS maps to the expected non-default glyph
  • 316 CI-safe tests passed
  • bun run check:themes
  • bun run format:check
  • bun run lint
  • bun run build:types
  • bun run build
  • bun run playground:build
  • release-note extraction for 0.2.5

Addresses #30

Upstream: wiedymi/text-shaper#5

@wiedymi
wiedymi marked this pull request as ready for review July 16, 2026 15:21
@wiedymi
wiedymi merged commit 7af4bbc into main Jul 16, 2026
1 of 2 checks passed
@wiedymi
wiedymi deleted the agent/update-text-shaper-0.1.27 branch July 16, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant