Skip to content

feat: HarfBuzz#735

Draft
shuding wants to merge 6 commits into
mainfrom
shu/iMXrm
Draft

feat: HarfBuzz#735
shuding wants to merge 6 commits into
mainfrom
shu/iMXrm

Conversation

@shuding

@shuding shuding commented Mar 3, 2026

Copy link
Copy Markdown
Member

Collaborated with an agent

@vercel

vercel Bot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
satori-playground Ready Ready Preview, Comment, Open in v0 Mar 16, 2026 6:24pm

Comment thread src/harfbuzz.ts Outdated
Comment thread src/font.ts
// Add letterSpacing between glyphs (not after the last one).
cursorX += shapedGlyph.ax * scale
if (i < shaped.length - 1) {
cursorX += letterSpacing

@vercel vercel Bot Mar 16, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Letter spacing is not applied between font segment boundaries in getSVG, causing incorrect glyph positioning when text spans multiple fonts (e.g., Latin + CJK).

Fix on Vercel

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedharfbuzzjs@​0.10.09810010096100

View full report

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