render: add guarded GlyphRun layer variant contract#840
Open
seo-rii wants to merge 3 commits into
Open
Conversation
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.
What
GlyphRunsidecar variant 계약을 추가합니다.fontResources, font blob, face identity, replay eligibility 타입을 추가해서 glyph replay가 참조할 최소 폰트 메타데이터를 둡니다.TextShapeLowerer를 추가합니다. 기본 lowering은 기존TextRunfallback을 유지하고, shaping resolver가 export 가능한 glyph data를 줄 때만GlyphRunsidecar를 붙입니다.1.9, resource table1.3입니다.TextRunfallback을 사용합니다.GlyphRunsidecar를 건너뛰고 기존TextRunfallback을 유지합니다.docs/text-ir-v2.md에 P12의 범위와 현재 제한을 정리합니다.Non-goals
Compatibility
TextRunfallback입니다.requiredFeatures는 비워 두고,GlyphRun은 optional sidecar로만 노출합니다.GlyphRun을 무시해도 동일하게 fallback replay를 사용할 수 있습니다.Validation
cargo test -q paint::cargo test -q --features native-skia skia --libcargo test -q