Uses of Interface
com.openhtmltopdf.extend.FontContext
-
Packages that use FontContext Package Description com.openhtmltopdf.css.style com.openhtmltopdf.extend com.openhtmltopdf.java2d com.openhtmltopdf.layout com.openhtmltopdf.pdfboxout com.openhtmltopdf.render -
-
Uses of FontContext in com.openhtmltopdf.css.style
Methods in com.openhtmltopdf.css.style that return FontContext Modifier and Type Method Description FontContext
CssContext. getFontContext()
-
Uses of FontContext in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type FontContext Modifier and Type Method Description FSFontMetrics
TextRenderer. getFSFontMetrics(FontContext context, FSFont font, java.lang.String string)
int
TextRenderer. getWidth(FontContext context, FSFont font, java.lang.String string)
Rarely need to use this method directly.void
TextRenderer. setup(FontContext context)
-
Uses of FontContext in com.openhtmltopdf.java2d
Classes in com.openhtmltopdf.java2d that implement FontContext Modifier and Type Class Description class
Java2DFontContext
Methods in com.openhtmltopdf.java2d with parameters of type FontContext Modifier and Type Method Description FSFontMetrics
Java2DTextRenderer. getFSFontMetrics(FontContext fc, FSFont font, java.lang.String string)
int
Java2DTextRenderer. getWidth(FontContext fc, FSFont font, java.lang.String string)
private int
Java2DTextRenderer. getWidthFast(FontContext fc, java.awt.Font awtFont, java.lang.String string)
private int
Java2DTextRenderer. getWidthSlow(FontContext fc, java.util.List<java.awt.Font> fonts, java.lang.String string)
This method divides the string up into font runs, then measures each font run, adding it to the total.void
Java2DTextRenderer. setup(FontContext context)
void
Java2DTextRenderer. setup(FontContext fontContext, BidiReorderer bidiReorderer)
-
Uses of FontContext in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as FontContext Modifier and Type Field Description private FontContext
LayoutContext. _fontContext
Methods in com.openhtmltopdf.layout that return FontContext Modifier and Type Method Description FontContext
LayoutContext. getFontContext()
Methods in com.openhtmltopdf.layout with parameters of type FontContext Modifier and Type Method Description float
SharedContext. getXHeight(FontContext fontContext, FontSpecification fs)
void
LayoutContext. setFontContext(FontContext fontContext)
-
Uses of FontContext in com.openhtmltopdf.pdfboxout
Classes in com.openhtmltopdf.pdfboxout that implement FontContext Modifier and Type Class Description class
PdfBoxFontContext
Methods in com.openhtmltopdf.pdfboxout with parameters of type FontContext Modifier and Type Method Description FSFontMetrics
PdfBoxTextRenderer. getFSFontMetrics(FontContext context, FSFont font, java.lang.String string)
int
PdfBoxTextRenderer. getWidth(FontContext context, FSFont font, java.lang.String string)
void
PdfBoxTextRenderer. setup(FontContext context)
void
PdfBoxTextRenderer. setup(FontContext context, BidiReorderer reorderer)
-
Uses of FontContext in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as FontContext Modifier and Type Field Description private FontContext
RenderingContext. fontContext
Methods in com.openhtmltopdf.render that return FontContext Modifier and Type Method Description FontContext
RenderingContext. getFontContext()
Methods in com.openhtmltopdf.render with parameters of type FontContext Modifier and Type Method Description void
RenderingContext. setFontContext(FontContext fontContext)
-