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

Option to keep font-family case-sensitive #579

Open
TimoWilhelm opened this issue Dec 1, 2023 · 0 comments
Open

Option to keep font-family case-sensitive #579

TimoWilhelm opened this issue Dec 1, 2023 · 0 comments

Comments

@TimoWilhelm
Copy link

TimoWilhelm commented Dec 1, 2023

Feature Request

Description

Satori seems to normalize all font names to lowercase which works great with most rendering engines.

I'm trying to use satori with svg2pdf to generate PDF files. I cannot embed the font as path to keep the PDF text selectable.
The issue is that it uses the fontdb library interally and unfortunately the fonts are not matched case-insensitive (RazrFalcon/fontdb#42).

Right now I need to add a step to go over the generated svg again and replace the font-family names with the original names.
It would be great to have an option to keep the casing for font-families intact.

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

1 participant