Uses of Interface
com.openhtmltopdf.extend.FSSupplier
Packages that use FSSupplier
Package
Description
-
Uses of FSSupplier in com.openhtmltopdf.java2d
Fields in com.openhtmltopdf.java2d declared as FSSupplierModifier and TypeFieldDescriptionprivate FSSupplier<InputStream> Java2DFontResolver.InputStreamFontDescription._supplierMethods in com.openhtmltopdf.java2d with parameters of type FSSupplierModifier and TypeMethodDescriptionvoidJava2DFontResolver.addInputStreamFont(FSSupplier<InputStream> fontSupplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride) Constructors in com.openhtmltopdf.java2d with parameters of type FSSupplierModifierConstructorDescriptionprivateInputStreamFontDescription(FSSupplier<InputStream> supplier, int weight, IdentValue style) -
Uses of FSSupplier in com.openhtmltopdf.outputdevice.helper
Classes in com.openhtmltopdf.outputdevice.helper that implement FSSupplierFields in com.openhtmltopdf.outputdevice.helper declared as FSSupplierMethods in com.openhtmltopdf.outputdevice.helper with parameters of type FSSupplierModifier and TypeMethodDescriptionBaseRendererBuilder.useFont(FSSupplier<InputStream> supplier, String fontFamily) Simpler overload forBaseRendererBuilder.useFont(FSSupplier, String, Integer, FontStyle, boolean)BaseRendererBuilder.useFont(FSSupplier<InputStream> supplier, String fontFamily, Integer fontWeight, BaseRendererBuilder.FontStyle fontStyle, boolean subset) Add a font programmatically.BaseRendererBuilder.useFont(FSSupplier<InputStream> supplier, String fontFamily, Integer fontWeight, BaseRendererBuilder.FontStyle fontStyle, boolean subset, Set<BaseRendererBuilder.FSFontUseCase> useFontFlags) Add a font programmatically.Constructors in com.openhtmltopdf.outputdevice.helper with parameters of type FSSupplierModifierConstructorDescriptionAddedFont(FSSupplier<InputStream> supplier, File fontFile, Integer weight, String family, boolean subset, BaseRendererBuilder.FontStyle style, Set<BaseRendererBuilder.FSFontUseCase> usedFor) -
Uses of FSSupplier in com.openhtmltopdf.pdfboxout
Classes in com.openhtmltopdf.pdfboxout that implement FSSupplierModifier and TypeClassDescriptionprivate static classLoads a Type0 font on demandclassImplementation ofFSSupplierthat supplies aPDFont.
Subclass this if you need special font loading rules (like using a font-cache, ...).Fields in com.openhtmltopdf.pdfboxout declared as FSSupplierModifier and TypeFieldDescriptionprivate FSSupplier<org.apache.pdfbox.pdmodel.font.PDFont> PdfBoxFontResolver.FontDescription._fontSupplierprivate FSSupplier<InputStream> PdfBoxFontResolver.FontDescription._supplierMethods in com.openhtmltopdf.pdfboxout with parameters of type FSSupplierModifier and TypeMethodDescriptionvoidPdfBoxFontResolver.addFont(FSSupplier<InputStream> supplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset) Deprecated.voidPdfBoxFontResolver.addFont(FSSupplier<InputStream> supplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset, PdfBoxFontResolver.FontGroup fontGroup) Adds a font specified by an input stream (truetype) to a specific font group.voidPdfBoxFontResolver.addFontCollection(FSSupplier<InputStream> supplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset) voidPdfBoxFontResolver.addFontCollection(FSSupplier<InputStream> supplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset, PdfBoxFontResolver.FontGroup fontGroup) Adds a font collection (.ttc in an input stream) to a specific font group.Constructors in com.openhtmltopdf.pdfboxout with parameters of type FSSupplierModifierConstructorDescriptionFontDescription(org.apache.pdfbox.pdmodel.PDDocument doc, FSSupplier<InputStream> supplier, int weight, IdentValue style, String family, boolean isFromFontFace, boolean isSubset, FSCacheEx<String, FSCacheValue> metricsCache) Create a font description from an input stream supplier.FontDescription(org.apache.pdfbox.pdmodel.PDDocument doc, FSSupplier<org.apache.pdfbox.pdmodel.font.PDFont> fontSupplier, IdentValue style, int weight, String family, boolean isFromFontFace, boolean isSubset, FSCacheEx<String, FSCacheValue> metricsCache) Creates a font description from a PDFont supplier. -
Uses of FSSupplier in com.openhtmltopdf.pdfboxout.fontstore
Methods in com.openhtmltopdf.pdfboxout.fontstore with parameters of type FSSupplierModifier and TypeMethodDescriptionvoidFallbackFontStore.addFont(FSSupplier<InputStream> supplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset) voidMainFontStore.addFont(FSSupplier<InputStream> supplier, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset) voidFallbackFontStore.addFontLazy(FSSupplier<org.apache.pdfbox.pdmodel.font.PDFont> font, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset) Add a font with a lazy loaded PDFontvoidMainFontStore.addFontLazy(FSSupplier<org.apache.pdfbox.pdmodel.font.PDFont> font, String fontFamilyNameOverride, Integer fontWeightOverride, IdentValue fontStyleOverride, boolean subset) Add a font with a lazy loaded PDFont
PdfBoxFontResolver.addFont(FSSupplier, String, Integer, IdentValue, boolean, FontGroup)