Repository navigation
Conversation
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>
GlyphShape
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>
mac os support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GlyphShape, mac os support, fonts cache.