Pdfmake: Bold text in SVG is too thick

Created on 19 Jan 2020  路  1Comment  路  Source: bpampuch/pdfmake

Bold text in SVG is too thick and looks fuzzy (like it's stroked additionally).

eg, this svg <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 800" preserveAspectRatio="xMinYMin meet"><text class="title" x="380" y="20" text-anchor="middle" font-weight="bold" style="font-size: 16px;">Bold text sample</text></svg>

generated with pdfmake:
image

and pdfkit:
image

and it the playground:
image

I also noticed that it was good in version 0.1.61, but then something's happened.

generated with 0.1.61:
image

and current:
image

bug svg

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmatesic picture dmatesic  路  3Comments

jkd003 picture jkd003  路  3Comments

MathLavallee picture MathLavallee  路  3Comments

CharlyPoppins picture CharlyPoppins  路  3Comments

svenyonson picture svenyonson  路  3Comments