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.
|
-
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 keystatic FontTripletFontTriplet. DEFAULT_FONT_TRIPLETMethods 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 that return types with arguments of type FontTriplet Modifier and Type Method Description java.util.List<FontTriplet>EmbedFontInfo. getFontTriplets()Returns the list of font triplets associated with this font.java.util.Map<FontTriplet,java.lang.String>FontInfo. getFontTriplets()Gets a Map of all registered font triplets.java.util.List<FontTriplet>DefaultFontConfig.Font. getTripletList()java.util.List<FontTriplet>FontInfo. getTripletsFor(java.lang.String fontName)Returns all font 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.intFontTriplet. compareTo(FontTriplet o)voidFontEventAdapter. fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)Notifies about a font being substituted as the requested one isn't available.voidFontEventListener. fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)Notifies about a font being substituted as the requested one isn't available.voidFontEventProducer. 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 constructorConstructor parameters in org.docx4j.fonts.fop.fonts with type arguments of type FontTriplet Constructor Description EmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced, java.util.List<FontTriplet> fontTriplets, java.lang.String subFontName)Main constructorEmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced, java.util.List<FontTriplet> fontTriplets, java.lang.String subFontName, EncodingMode encodingMode, EmbeddingMode embeddingMode, boolean simulateStyle, boolean embedAsType1)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 infoMethods in org.docx4j.fonts.fop.fonts.substitute that return types with arguments of type FontTriplet Modifier and Type Method Description java.util.List<FontTriplet>FontQualifier. getTriplets()protected java.util.List<FontTriplet>FontQualifier. match(FontInfo fontInfo)Returns a list of matching font triplet found in a given font info