Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SVG] reuse SVG doc offsets on compile; remove deprecated version-1 support #2430

Merged
merged 4 commits into from Oct 18, 2021

Conversation

anthrotype
Copy link
Member

This remove support for the old deprecated SVG version 1, which was never officially part of the OT spec (#2426). It also marks the colorPaletteOffsets as reserved (0), and removes support for embedded color palettes, to match the current OpenType SVG version=0 spec:
https://docs.microsoft.com/en-us/typography/opentype/spec/svg

In addition, it makes the compile() method reuse offsets from SVGDocumentRecords that point to the same SVG content, which should help with implementing SVG subsetting support (#534).

@anthrotype anthrotype merged commit 20188a0 into main Oct 18, 2021
@anthrotype anthrotype deleted the svg-compile-reuse-offset branch October 18, 2021 15:08
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.

None yet

1 participant