I'm trying to generate a canvas containing text. Because I need foreignObjectRendering to use svgdefs to make outline filters for the text. Some fonts are working correctly, some show differently and some don't work at all and I don't have a clue what the difference is. As you can see in my CodeSandbox, the first font is loaded but shows a little thicker, and the second font is not loaded at all.
I need either the fonts to be working withforeignObjectRendering, or the SVG filter working withoutforeignObjectRendering.
Bug reports:
I'm trying to generate a canvas containing text. Because I need
foreignObjectRendering
to usesvg
defs
to make outline filters for the text. Some fonts are working correctly, some show differently and some don't work at all and I don't have a clue what the difference is. As you can see in my CodeSandbox, the first font is loaded but shows a little thicker, and the second font is not loaded at all.I need either the fonts to be working with
foreignObjectRendering
, or the SVG filter working withoutforeignObjectRendering
.Specifications: