Uses of Class
org.docx4j.fonts.fop.fonts.FontTriplet
| Package | Description |
|---|---|
| org.docx4j.fonts.fop.fonts |
Classes for font handling.
|
| org.docx4j.fonts.fop.fonts.substitute |
Font substitution facilities.
|
| org.docx4j.fonts.fop.util |
-
Uses of FontTriplet in org.docx4j.fonts.fop.fonts
Fields in org.docx4j.fonts.fop.fonts declared as FontTriplet Modifier and Type Field Description static FontTripletFont. DEFAULT_FONTDefault fallback keyMethods in org.docx4j.fonts.fop.fonts that return FontTriplet Modifier and Type Method Description static FontTripletFontInfo. createFontKey(java.lang.String family, java.lang.String style, int weight)Creates a key from the given strings.FontTripletFontInfo. findAdjustWeight(java.lang.String family, java.lang.String style, int weight)Find a font with a given family and style by trying different font weights according to the spec.FontTriplet[]FontInfo. fontLookup(java.lang.String[] families, java.lang.String style, int weight)Looks up a set of fonts.FontTripletFontInfo. fontLookup(java.lang.String family, java.lang.String style, int weight)Lookup a font.FontTripletFont. getFontTriplet()FontTripletFontInfo. getTripletFor(java.lang.String fontName)Returns the first triplet matching the given font name.Methods in org.docx4j.fonts.fop.fonts with parameters of type FontTriplet Modifier and Type Method Description voidFontInfo. addFontProperties(java.lang.String internalFontKey, FontTriplet triplet)Adds a new font triplet.voidFontEventListener. fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)Notifies about a font being substituted as the requested one isn't available.FontFontInfo. getFontInstance(FontTriplet triplet, int fontSize)Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.java.lang.StringFontInfo. getInternalFontKey(FontTriplet triplet)Returns the internal font key (F1, F2, F3 etc.) for a given triplet.booleanFontTriplet.Matcher. matches(FontTriplet triplet)Indicates whether the givenFontTripletmatches a particular criterium.Constructors in org.docx4j.fonts.fop.fonts with parameters of type FontTriplet Constructor Description Font(java.lang.String key, FontTriplet triplet, FontMetrics met, int fontSize)Main constructor -
Uses of FontTriplet in org.docx4j.fonts.fop.fonts.substitute
Methods in org.docx4j.fonts.fop.fonts.substitute that return FontTriplet Modifier and Type Method Description protected FontTripletFontQualifier. bestMatch(FontInfo fontInfo)Returns the highest priority matching font triplet found in a given font info -
Uses of FontTriplet in org.docx4j.fonts.fop.util
Methods in org.docx4j.fonts.fop.util with parameters of type FontTriplet Modifier and Type Method Description protected static voidFopConfigUtil. addFontTriplet(java.lang.StringBuilder result, FontTriplet fontTriplet)