Skip to content

Conversation

@dfrg
Copy link
Member

@dfrg dfrg commented Jan 19, 2026

Just adds new FontMatrix and ScaledFontMatrix types to wrap the raw ([Fixed; 6], i32) values that were being passed around. Changes free functions to be methods on those types.

Ripped out of the Type 1 work to reduce size of upcoming PRs.

No functional changes.

(breaking change to read-fonts but there will be many more)

dfrg added 2 commits January 19, 2026 13:51
Just adds new `FontMatrix` and `ScaledFontMatrix` types to wrap the raw `([Fixed; 6], i32)` values that were being passed around. Changes free functions to be methods on those types.

Ripped out of the Type 1 work to reduce size of upcoming PRs.

No functional changes.

(breaking change to read-fonts but there will be many more)
dfrg added a commit that referenced this pull request Jan 19, 2026
Adds a new `CffFontRef` type that encapsulates CFF and CFF2 functionality for both raw blobs and OpenType tables. This only includes data that is parsed from the base blob and the top dict so far.

Based on #1717 which should land first.
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