Uses of Class
org.docx4j.fonts.fop.fonts.FontTriplet
Packages that use FontTriplet
Package
Description
Classes for font handling.
A collection of classes that aid in the autodetection of installed system fonts.
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_TRIPLETprivate final FontTripletFont.tripletFields in org.docx4j.fonts.fop.fonts with type parameters of type FontTripletModifier and TypeFieldDescriptionprivate Map<FontTriplet,Map<Integer, Font>> FontInfo.fontInstanceCacheCache for Font instances.private List<FontTriplet>EmbedFontInfo.fontTripletsthe list of associated font tripletsprivate final List<FontTriplet>DefaultFontConfig.Font.tripletListprivate Map<FontTriplet,Integer> FontInfo.tripletPrioritieslook up a font-triplet to find its priority (only used inside addFontProperties())private Map<FontTriplet,String> FontInfo.tripletslook up a font-triplet to find a font-nameMethods 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.private FontTripletFontInfo.fontLookup(String family, String style, int weight, boolean substitutable) Lookup a font.private FontTripletFontInfo.fuzzyFontLookup(String family, String style, int weight, FontTriplet startKey, boolean substitutable) private FontTripletDefaultFontConfig.ParserHelper.getFontTriplet(Configuration tripletCfg, boolean strict) Creates a new FontTriplet given a triple ConfigurationFont.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 TypeMethodDescriptionprivate List<FontTriplet>FontInfo.fontLookup(String[] families, String style, int weight, boolean substitutable) private Map<FontTriplet,Map<Integer, Font>> FontInfo.getFontInstanceCache()EmbedFontInfo.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.private List<FontTriplet>FontInfo.getTripletsForName(String fontName) 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.private FontTripletFontInfo.fuzzyFontLookup(String family, String style, int weight, FontTriplet startKey, boolean substitutable) 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.private voidFontInfo.logDuplicateFont(FontTriplet triplet, boolean replacing, String oldKey, int oldPriority, String newKey, int newPriority) Log warning about duplicate font triplets.booleanFontManagerConfigurator.FontFamilyRegExFontTripletMatcher.matches(FontTriplet triplet) Indicates whether the givenFontTripletmatches a particular criterium.booleanFontManagerConfigurator.OrFontTripletMatcher.matches(FontTriplet triplet) Indicates whether the givenFontTripletmatches a particular criterium.booleanFontTriplet.Matcher.matches(FontTriplet triplet) Indicates whether the givenFontTripletmatches a particular criterium.private voidFontInfo.notifyFontReplacement(FontTriplet replacedKey, FontTriplet newKey) 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.autodetect
Method parameters in org.docx4j.fonts.fop.fonts.autodetect with type arguments of type FontTripletModifier and TypeMethodDescriptionprivate voidFontInfoFinder.generateTripletsFromFont(CustomFont customFont, Collection<FontTriplet> triplets) Attempts to determine FontTriplets from a given CustomFont. -
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