Skip to content

fix: render PDF icon strokes consistently in Safari - #8

Merged
showxu merged 1 commit into
masterfrom
fix/pdf-svg-stroke
Oct 6, 2026
Merged

showxu merged 1 commit into
masterfrom
fix/pdf-svg-stroke

Conversation

@showxu

@showxu showxu commented Oct 6, 2026

Copy link
Copy Markdown
Member

Safari deforms the document outline when it strokes the small SVG path coordinates before enlarging them. Express the same path and stroke at 100 times the coordinate scale, then apply the reciprocal transform. The document remains upright with the same geometry and relief. Regenerate the logo, DocC image and social preview from the design source.

Validation: reproduced the distortion in Safari Technology Preview and confirmed the corrected SVG renders straight edges in the same browser. Chromium and the PNG renderer show the intended geometry. Generator drift and XML checks pass; Swift source is unchanged and existing compilation evidence is retained.

@showxu
showxu merged commit b0fa18e into master Oct 6, 2026
2 checks passed
@showxu
showxu deleted the fix/pdf-svg-stroke branch October 6, 2026 06:54
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