Uses of Class
org.apache.fop.fonts.FontTriplet
Packages that use FontTriplet
Package
Description
Contains a collection of AFP Graphics Object Content Architecture (GOCA) structured objects.
Classes representing the various property types as well as supporting data structures for the FO tree.
Classes for font handling.
A collection of classes that aid in the autodetection of installed system fonts.
Font substitution facilities.
An AFP Renderer implementation and supporting classes.
PCL Renderer (Supports PCL5 and HP GL/2)
PDF Renderer
-
Uses of FontTriplet in org.apache.fop.afp.fonts
Fields in org.apache.fop.afp.fonts with type parameters of type FontTripletMethods in org.apache.fop.afp.fonts that return types with arguments of type FontTripletModifier and TypeMethodDescriptionAFPFontInfo.getFontTriplets()
Returns the list of font triplets associated with this font.Constructor parameters in org.apache.fop.afp.fonts with type arguments of type FontTripletModifierConstructorDescriptionAFPFontInfo
(AFPFont afpFont, List<FontTriplet> tripletList) Main constructor -
Uses of FontTriplet in org.apache.fop.fo.properties
Methods in org.apache.fop.fo.properties that return FontTripletModifier and TypeMethodDescriptionCommonFont.getFontState
(FontInfo fontInfo) Create and return an array ofFontTriplets
based on the properties stored in the instance variables. -
Uses of FontTriplet in org.apache.fop.fonts
Fields in org.apache.fop.fonts declared as FontTripletModifier and TypeFieldDescriptionstatic final FontTriplet
Font.DEFAULT_FONT
Default fallback keystatic final FontTriplet
FontTriplet.DEFAULT_FONT_TRIPLET
private final FontTriplet
Font.triplet
Fields in org.apache.fop.fonts with type parameters of type FontTripletModifier and TypeFieldDescriptionprivate Map<FontTriplet,
Map<Integer, Font>> FontInfo.fontInstanceCache
Cache for Font instances.private List<FontTriplet>
EmbedFontInfo.fontTriplets
the list of associated font tripletsprivate final List<FontTriplet>
DefaultFontConfig.Font.tripletList
private Map<FontTriplet,
Integer> FontInfo.tripletPriorities
look up a font-triplet to find its priority (only used inside addFontProperties())private Map<FontTriplet,
String> FontInfo.triplets
look up a font-triplet to find a font-nameMethods in org.apache.fop.fonts that return FontTripletModifier and TypeMethodDescriptionstatic FontTriplet
FontInfo.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 FontTriplet
FontInfo.fontLookup
(String family, String style, int weight, boolean substitutable) Lookup a font.private FontTriplet
FontInfo.fuzzyFontLookup
(String family, String style, int weight, FontTriplet startKey, boolean substitutable) private FontTriplet
DefaultFontConfig.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.apache.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.apache.fop.fonts with parameters of type FontTripletModifier and TypeMethodDescriptionvoid
FontInfo.addFontProperties
(String internalFontKey, FontTriplet triplet) Adds a new font triplet.int
FontTriplet.compareTo
(FontTriplet o) void
FontEventAdapter.fontSubstituted
(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.void
FontEventListener.fontSubstituted
(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.void
FontEventProducer.fontSubstituted
(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.private FontTriplet
FontInfo.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 void
FontInfo.logDuplicateFont
(FontTriplet triplet, boolean replacing, String oldKey, int oldPriority, String newKey, int newPriority) Log warning about duplicate font triplets.boolean
FontManagerConfigurator.FontFamilyRegExFontTripletMatcher.matches
(FontTriplet triplet) Indicates whether the givenFontTriplet
matches a particular criterium.boolean
FontManagerConfigurator.OrFontTripletMatcher.matches
(FontTriplet triplet) Indicates whether the givenFontTriplet
matches a particular criterium.boolean
FontTriplet.Matcher.matches
(FontTriplet triplet) Indicates whether the givenFontTriplet
matches a particular criterium.private void
FontInfo.notifyFontReplacement
(FontTriplet replacedKey, FontTriplet newKey) Constructors in org.apache.fop.fonts with parameters of type FontTripletModifierConstructorDescriptionFont
(String key, FontTriplet triplet, FontMetrics met, int fontSize) Main constructorConstructor parameters in org.apache.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, boolean useSVG) Main constructor -
Uses of FontTriplet in org.apache.fop.fonts.autodetect
Method parameters in org.apache.fop.fonts.autodetect with type arguments of type FontTripletModifier and TypeMethodDescriptionprivate void
FontInfoFinder.generateTripletsFromFont
(CustomFont customFont, Collection<FontTriplet> triplets) Attempts to determine FontTriplets from a given CustomFont. -
Uses of FontTriplet in org.apache.fop.fonts.substitute
Methods in org.apache.fop.fonts.substitute that return FontTripletModifier and TypeMethodDescriptionprotected FontTriplet
Returns the highest priority matching font triplet found in a given font infoMethods in org.apache.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 -
Uses of FontTriplet in org.apache.fop.render.afp
Fields in org.apache.fop.render.afp with type parameters of type FontTripletModifier and TypeFieldDescriptionprotected final List<FontTriplet>
AFPFontConfig.AFPFontConfigData.triplets
Methods in org.apache.fop.render.afp with parameters of type FontTripletModifier and TypeMethodDescriptionAFPPainter.getFontKey
(FontTriplet triplet) boolean
AFPFontConfig.AggregateMatcher.matches
(FontTriplet triplet) Method parameters in org.apache.fop.render.afp with type arguments of type FontTripletModifier and TypeMethodDescriptionprivate void
AFPFontConfig.ParserHelper.fontFromType
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String embedURI) private AFPFontConfig.CIDKeyedFontConfig
AFPFontConfig.ParserHelper.getCIDKeyedFont
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.OutlineFontConfig
AFPFontConfig.ParserHelper.getOutlineFont
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.RasterFontConfig
AFPFontConfig.ParserHelper.getRasterFont
(List<FontTriplet> triplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.TrueTypeFontConfig
AFPFontConfig.ParserHelper.getTruetypeFont
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private boolean
AFPFontConfig.ParserHelper.isEmbbedable
(List<FontTriplet> triplets) Constructor parameters in org.apache.fop.render.afp with type arguments of type FontTripletModifierConstructorDescription(package private)
AFPFontConfigData
(List<FontTriplet> triplets, String type, String codePage, String encoding, String name, boolean embeddable, String uri) private
CIDKeyedFontConfig
(List<FontTriplet> triplets, String type, String codePage, String encoding, String characterset, String name, CharacterSetType charsetType, boolean embeddable, String uri) private
OutlineFontConfig
(List<FontTriplet> triplets, String type, String codePage, String encoding, String characterset, String name, String base14, boolean embeddable, String uri) private
RasterFontConfig
(List<FontTriplet> triplets, String type, String codePage, String encoding, String characterset, String name, String uri, List<AFPFontConfig.RasterCharactersetData> csetData, boolean embeddable) private
TrueTypeFontConfig
(List<FontTriplet> triplets, String type, String codePage, String encoding, String characterset, String name, String subfont, boolean embeddable, String uri, boolean positionByChar) -
Uses of FontTriplet in org.apache.fop.render.intermediate
Methods in org.apache.fop.render.intermediate with parameters of type FontTripletModifier and TypeMethodDescriptionprotected void
AbstractIFPainter.drawSVGText
(MultiByteFont multiByteFont, FontTriplet triplet, int x, int y, String text, IFState state) protected String
AbstractIFPainter.getFontKey
(FontTriplet triplet) -
Uses of FontTriplet in org.apache.fop.render.pcl
Methods in org.apache.fop.render.pcl with parameters of type FontTripletModifier and TypeMethodDescriptionprivate void
PCLPainter.drawTextAsBitmap
(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, String text, FontTriplet triplet) private void
PCLPainter.drawTextNative
(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, String text, FontTriplet triplet) private void
PCLPainter.drawTextUsingSoftFont
(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, String text, FontTriplet triplet, PCLSoftFont softFont) -
Uses of FontTriplet in org.apache.fop.render.pdf
Methods in org.apache.fop.render.pdf with parameters of type FontTripletModifier and TypeMethodDescriptionprivate void
PDFPainter.drawTextWithDP
(int x, int y, String text, FontTriplet triplet, int letterSpacing, int wordSpacing, int[][] dp) private void
PDFPainter.drawTextWithDX
(int x, int y, String text, FontTriplet triplet, int letterSpacing, int wordSpacing, int[] dx) -
Uses of FontTriplet in org.apache.fop.svg.font
Fields in org.apache.fop.svg.font declared as FontTripletMethods in org.apache.fop.svg.font that return FontTripletConstructors in org.apache.fop.svg.font with parameters of type FontTripletModifierConstructorDescriptionFOPGVTFontFamily
(FontInfo fontInfo, String familyName, FontTriplet triplet, org.apache.batik.gvt.font.GVTFontFace fontFace) -
Uses of FontTriplet in org.apache.fop.tools.fontlist
Methods in org.apache.fop.tools.fontlist with parameters of type FontTripletModifier and TypeMethodDescriptionvoid
FontSpec.addTriplet
(FontTriplet triplet) Adds a font triplet.