public class SvgProcessorContext extends Object
Constructor and Description |
---|
SvgProcessorContext(ISvgConverterProperties converterProperties)
Instantiates a new SvgProcessorContext instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addTemporaryFont(FontInfo fontInfo, String alias)
Add temporary font from @font-face.
|
void |
addTemporaryFont(FontProgram fontProgram, String encoding, String alias)
Add temporary font from @font-face.
|
void |
addTemporaryFont(FontProgram fontProgram, String encoding, String alias, Range unicodeRange)
Add temporary font from @font-face.
|
SvgCssContext |
getCssContext()
Gets the SVG CSS context.
|
MediaDeviceDescription |
getDeviceDescription()
Gets the device description.
|
FontProvider |
getFontProvider()
Gets the font provider.
|
ResourceResolver |
getResourceResolver()
Gets the resource resolver.
|
FontSet |
getTempFonts()
Gets the temporary set of fonts.
|
public SvgProcessorContext(ISvgConverterProperties converterProperties)
SvgProcessorContext
instance.
converterProperties
- a ISvgConverterProperties
instance
public FontProvider getFontProvider()
public ResourceResolver getResourceResolver()
public MediaDeviceDescription getDeviceDescription()
public FontSet getTempFonts()
public SvgCssContext getCssContext()
public void addTemporaryFont(FontProgram fontProgram, String encoding, String alias, Range unicodeRange)
fontProgram
- the font program
encoding
- the encoding
alias
- the alias
unicodeRange
- the specific range of characters to be used from the font
public void addTemporaryFont(FontProgram fontProgram, String encoding, String alias)
fontProgram
- the font program
encoding
- the encoding
alias
- the alias
Copyright © 1998–2022 iText Group NV. All rights reserved.