Skip to content

fix(fonts): update text-shaper to 0.1.28 - #33

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

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

Conversation

@wiedymi

@wiedymi wiedymi commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • update the runtime dependency from text-shaper 0.1.27 to 0.1.28
  • prepare and lock restty 0.2.6
  • compose Apple Color Emoji flags, keycaps, ZWJ families, rainbow flags, and skin-tone sequences as single glyphs
  • preserve VS16 behavior from text-shaper 0.1.27

Root cause

Apple Color Emoji implements complex emoji sequences as AAT morx ligatures. Text-shaper's class lookup, ligature-table parsing, and state-machine action processing were incomplete, so the sequences remained separate component glyphs and could not enter restty's single-glyph color atlas path.

Text-shaper 0.1.28 implements the missing lookup and ligature data, follows Apple/HarfBuzz action semantics, treats zero substitutions as no-ops, bounds binary-table regions, rejects invalid component indices, and avoids duplicate component pushes across DontAdvance transitions.

Validation

  • exact installed dependency: text-shaper@0.1.28
  • 6 cross-platform upstream morx regressions passed
  • 316 restty CI-safe tests passed
  • bun install --frozen-lockfile
  • 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.6

Upstream: wiedymi/text-shaper#6
Follow-up to #30

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying restty with  Cloudflare Pages  Cloudflare Pages

Latest commit: ab6a04f
Status: ✅  Deploy successful!
Preview URL: https://8cf2bb39.restty.pages.dev
Branch Preview URL: https://agent-update-text-shaper-0-1.restty.pages.dev

View logs

@wiedymi
wiedymi marked this pull request as ready for review July 17, 2026 07:35
@wiedymi
wiedymi merged commit 7700b14 into main Jul 17, 2026
2 checks passed
@wiedymi
wiedymi deleted the agent/update-text-shaper-0.1.28 branch July 17, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant