Skip to content

1.2.0 - #18

Merged
MaksimG82 merged 25 commits into
mainfrom
develop
Oct 22, 2026
Merged

MaksimG82 merged 25 commits into
mainfrom
develop

Conversation

@MaksimG82

Copy link
Copy Markdown
Owner

GlyphShape, mac os support, fonts cache.

MaksimG82 and others added 25 commits August 13, 2026 16:13
Moves cached extraction + layout resolution out of GlyphView into a shared
internal helper so an upcoming GlyphShape can reuse it. No behavior change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GlyphShape reuses GlyphPathProvider and offsets the cached path by the
rect's origin. Previews mirror GlyphView's. GlyphPathCache docs updated
for the shared pipeline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Covers tight/fontMetrics bounds, non-zero rect origin, parity with
GlyphPathProvider, and empty path for outline-less characters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Strokes, gradient fills, content clipping, and trim animation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GlyphView stays functional but is marked deprecated, pointing to
GlyphShape(...).fill(color). Its previews are removed (GlyphShape has
equivalents). README examples, DocC landing page, and CLAUDE.md now
use GlyphShape, with a short migration note in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
inset(by:) shrinks the layout rect the glyph is fitted into, enabling
strokeBorder. path(in:) returns an empty path when the inset rect has
no area.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a stroke vs strokeBorder preview, a README example, and a CLAUDE.md
note on InsettableShape. Documents that miter joins on sharp glyph
corners can extend past the frame; examples use round joins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Font construction was ~96% of a render-tier miss. GlyphPathProvider now
reads the CTFont through GlyphPathCache.ctFont(for:), which caches
successfully resolved fonts only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measures steady-state lookups for identical cells and a per-step
breakdown of a render-tier miss. Prints ns/call; run in Release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaksimG82
MaksimG82 merged commit 15ba95f into main Oct 22, 2026
6 checks passed
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