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

Support kerning groups in SVG in- and export. #340

Open
thoka opened this issue Jan 22, 2023 · 1 comment
Open

Support kerning groups in SVG in- and export. #340

thoka opened this issue Jan 22, 2023 · 1 comment

Comments

@thoka
Copy link

thoka commented Jan 22, 2023

Since hkern in SVG may contain groups of targets in u1 and u2 attributes (delimited by ,), kerning groups could be supported in SVG in- and exports.

This behaviour should be default for imports and optional for exports.

@mattlag
Copy link
Member

mattlag commented Jan 22, 2023

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/u1

I guess I didn't dig deep enough into the SVG Font spec - you are right! The danger with everything SVG Font related, though, is that it's totally deprecated, so support for it quite possibly could be non-existent, or not complete.

I agree with having an option for export. Some online font converters may not know about the comma separated u1 and u2 attributes.

Ambitious goal for import: even if they aren't grouped, infer grouping by trying to collapse down common pairs.

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

No branches or pull requests

2 participants