svg-font

External Font is not getting applied to SVG content inside HTML after it gets generated to PDF using IText 7

北城余情 提交于 2020-01-06 06:42:19
问题 I am using IText 7.1.6 version to generate a PDF Report from the HTML source. I am able to generate the PDF report successfully. I have a small issue with external font-family like TREBUC.TTF not getting applied to one of the reports which contain SVG element in HTML source. Fonts are getting applied to all other elements like header, footer and other texts in the HTML source. I tried to add the custom TagWorkerFactory and CSS applier factory for the SVG but there is no luck. Can anyone