SVG: Incorrect fonts
See original GitHub issueThe font selection within SVG seems inconsistent.
In the following sample I believe:
- HTML text correctly uses Arial
- SVG line 1: seems like Arial
- SVG remaining lines are not using the expected fonts.
System: Darwin
Machine: x86_64
Version: Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64
Release: 19.6.0
WeasyPrint version: 53.0b2
Python version: 3.9.5
Pydyf version: 0.0.3
Pango version: 14805
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
What to do if the font in SVG format is wrong? - Logaster
What to do if the font in SVG format is wrong? · 1. Find out what type of font is used in your...
Read more >Why svg image font changes - General - Forum | Webflow
SVG isn't just a vector image format. It can contain numerous other stuff like bitmap images, and text as text (not vector).
Read more >Preserving font type in illustrator SVG file
The reason why the font does not render correctly to the actual font type is because, when the SVG is saved ...
Read more >When I export an svg, all the fonts seem to revert to Times ...
In order to avoid that, before exporting your design, please select your font and go: Modify > Path > Convert to Path (make...
Read more >SVG Fonts view differently? - Beginners' Questions - Inkscape
My best guess is that wherever you are viewing the SVG image in IE, that computer does not have the same font installed,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The answer to the last question is: It included the Apple Emoji font collection, for some reason (I have some very experimental CSS).
Emoji fonts can be big, and if they’re included in font collections the whole file can be huge. Moreover, the whole collection was fully included for each variant (bold, italic, etc.) found in the document.