Class SvgFontProcessor
java.lang.Object
com.itextpdf.svg.processors.impl.font.SvgFontProcessor
Class that processes and add resolved css fonts to the FontProvider
-
Constructor Summary
ConstructorsConstructorDescriptionSvgFontProcessor(SvgProcessorContext context) Creates newSvgFontProcessorinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFontFaceFonts(ICssResolver cssResolver) Adds @font-face fonts to the FontProvider.
-
Constructor Details
-
SvgFontProcessor
Creates newSvgFontProcessorinstance.- Parameters:
-
context-SvgProcessorContextto add resolved fonts to
-
-
Method Details
-
addFontFaceFonts
Adds @font-face fonts to the FontProvider.- Parameters:
-
cssResolver- the css styles resolver
-