Uses of Class
org.docx4j.fonts.fop.fonts.FontTriplet
Packages that use FontTriplet
Package
Description
Classes for font handling.
Font substitution facilities.
-
Uses of FontTriplet in org.docx4j.fonts.fop.fonts
Fields in org.docx4j.fonts.fop.fonts declared as FontTripletModifier and TypeFieldDescriptionstatic final FontTripletFont.DEFAULT_FONTDefault fallback keystatic final FontTripletFontTriplet.DEFAULT_FONT_TRIPLETMethods in org.docx4j.fonts.fop.fonts that return FontTripletModifier and TypeMethodDescriptionstatic FontTripletFontInfo.createFontKey(String family, String style, int weight) Creates a key from the given strings.FontInfo.findAdjustWeight(String family, String style, int weight) Find a font with a given family and style by trying different font weights according to the spec.FontInfo.fontLookup(String[] families, String style, int weight) Looks up a set of fonts.FontInfo.fontLookup(String family, String style, int weight) Lookup a font.Font.getFontTriplet()FontInfo.getTripletFor(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 FontTripletModifier and TypeMethodDescriptionEmbedFontInfo.getFontTriplets()Returns the list of font triplets associated with this font.FontInfo.getFontTriplets()Gets a Map of all registered font triplets.DefaultFontConfig.Font.getTripletList()FontInfo.getTripletsFor(String fontName) Returns all font triplet matching the given font name.Methods in org.docx4j.fonts.fop.fonts with parameters of type FontTripletModifier and TypeMethodDescriptionvoidFontInfo.addFontProperties(String internalFontKey, FontTriplet triplet) Adds a new font triplet.intFontTriplet.compareTo(FontTriplet o) voidFontEventAdapter.fontSubstituted(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.voidFontEventListener.fontSubstituted(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.voidFontEventProducer.fontSubstituted(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.FontInfo.getFontInstance(FontTriplet triplet, int fontSize) Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.FontInfo.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 FontTripletModifierConstructorDescriptionFont(String key, FontTriplet triplet, FontMetrics met, int fontSize) Main constructorConstructor parameters in org.docx4j.fonts.fop.fonts with type arguments of type FontTripletModifierConstructorDescriptionEmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced, List<FontTriplet> fontTriplets, String subFontName) Main constructorEmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced, List<FontTriplet> fontTriplets, 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 FontTripletModifier and TypeMethodDescriptionprotected FontTripletReturns 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 FontTripletModifier and TypeMethodDescriptionFontQualifier.getTriplets()protected List<FontTriplet>Returns a list of matching font triplet found in a given font info