| Package | Description |
|---|---|
| com.openhtmltopdf.extend | |
| com.openhtmltopdf.outputdevice.helper |
| Modifier and Type | Method and Description |
|---|---|
void |
SVGDrawer.addFontFile(File fontFile,
String family,
Integer weight,
BaseRendererBuilder.FontStyle style) |
| Modifier and Type | Field and Description |
|---|---|
BaseRendererBuilder.FontStyle |
AddedFont.style |
| Modifier and Type | Method and Description |
|---|---|
static BaseRendererBuilder.FontStyle |
BaseRendererBuilder.FontStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseRendererBuilder.FontStyle[] |
BaseRendererBuilder.FontStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
TFinalClass |
BaseRendererBuilder.useFont(File fontFile,
String fontFamily,
Integer fontWeight,
BaseRendererBuilder.FontStyle fontStyle,
boolean subset)
Allows the user to provide a font file for use by the main
document only (not SVGs).
|
TFinalClass |
BaseRendererBuilder.useFont(File fontFile,
String fontFamily,
Integer fontWeight,
BaseRendererBuilder.FontStyle fontStyle,
boolean subset,
Set<BaseRendererBuilder.FSFontUseCase> fontUsedFor)
Allows the user to provide a font file for use any or all of
the use cases listed in
BaseRendererBuilder.FSFontUseCase such as main
document, SVGs, etc. |
TFinalClass |
BaseRendererBuilder.useFont(FSSupplier<InputStream> supplier,
String fontFamily,
Integer fontWeight,
BaseRendererBuilder.FontStyle fontStyle,
boolean subset)
Add a font programmatically.
|
TFinalClass |
BaseRendererBuilder.useFont(FSSupplier<InputStream> supplier,
String fontFamily,
Integer fontWeight,
BaseRendererBuilder.FontStyle fontStyle,
boolean subset,
Set<BaseRendererBuilder.FSFontUseCase> useFontFlags)
Add a font programmatically.
|
| Constructor and Description |
|---|
AddedFont(FSSupplier<InputStream> supplier,
File fontFile,
Integer weight,
String family,
boolean subset,
BaseRendererBuilder.FontStyle style,
Set<BaseRendererBuilder.FSFontUseCase> usedFor) |
AddedFont(Object pdfontSupplier,
Integer weight,
String family,
boolean subset,
BaseRendererBuilder.FontStyle style,
Set<BaseRendererBuilder.FSFontUseCase> usedFor) |
Copyright © 2004–2025. All rights reserved.