<g transform="translate(856.5,288.5)">
<switch>
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="66"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns="http://www.w3.org/1999/xhtml"
style="display: inline-block; font-size: 12px; font-family: cid0jp; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 68px; white-space: nowrap; overflow-wrap: normal; text-align: center;"
>
<div
xmlns="http://www.w3.org/1999/xhtml"
style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;"
>
<i>
<b>asdfasfasdf</b>
</i>
</div>
</div>
</foreignObject>
<text
x="33"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="cid0jp"
>
<i>
<b>asdfasfasdf</b>
</i>
</text>
</switch>
</g>
Это пример элемента из моего SVG. Здесь у меня есть html запахи как <b>, <i>
. Я использую метод ImageSVG, чтобы получить PDF, но выводимый текст не выделен жирным шрифтом или не указан c как я могу это сделать?