'font' CSS shorthand property ignored in SVG 'text' elements #2255
Labels
bug
Existing features not working as expected
good first issue
Issues that can be quite easily solved by Python developers with a good CSS background
The font properties set via a 'font' CSS shorthand property seem to be totally ignored when rendering text elements inside SVG images.
Here is a minimal SVG to reproduce the issue:
It renders well in the PDF from Firefox:
But Weasyprint uses default font family and size:
font1-firefox.svg.pdf
font1-weasyprint.svg.pdf
The text was updated successfully, but these errors were encountered: