| Package | Description |
|---|---|
| com.openhtmltopdf.css.style | |
| com.openhtmltopdf.extend | |
| com.openhtmltopdf.layout | |
| com.openhtmltopdf.render |
| Modifier and Type | Method and Description |
|---|---|
FSFont |
CssContext.getFont(FontSpecification font) |
FSFont |
CalculatedStyle.getFSFont(CssContext cssContext) |
| Modifier and Type | Method and Description |
|---|---|
FSFontMetrics |
CssContext.getFSFontMetrics(FSFont font) |
| Modifier and Type | Method and Description |
|---|---|
FSFont |
FontResolver.resolveFont(SharedContext renderingContext,
FontSpecification spec) |
| Modifier and Type | Method and Description |
|---|---|
FSFontMetrics |
TextRenderer.getFSFontMetrics(FontContext context,
FSFont font,
String string) |
int |
TextRenderer.getWidth(FontContext context,
FSFont font,
String string)
Rarely need to use this method directly.
|
void |
OutputDevice.setFont(FSFont font) |
| Modifier and Type | Method and Description |
|---|---|
FSFont |
SharedContext.getFont(FontSpecification spec) |
FSFont |
LayoutContext.getFont(FontSpecification font) |
| Modifier and Type | Method and Description |
|---|---|
FSFontMetrics |
LayoutContext.getFSFontMetrics(FSFont font) |
static int |
Breaker.getTextWidthWithLetterSpacing(CssContext c,
FSFont font,
String text,
float letterSpacing)
Gets the width of a string with letter spacing factored in.
|
| Modifier and Type | Method and Description |
|---|---|
FSFont |
RenderingContext.getFont(FontSpecification font) |
| Modifier and Type | Method and Description |
|---|---|
FSFontMetrics |
RenderingContext.getFSFontMetrics(FSFont font) |
Copyright © 2004–2025. All rights reserved.