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

onlyutkarsh picture onlyutkarsh  路  48Comments

jakubsadura picture jakubsadura  路  43Comments

bhericher picture bhericher  路  32Comments

SteffiPeTaffy picture SteffiPeTaffy  路  43Comments

eladsof picture eladsof  路  41Comments