Uses of Class
org.apache.fop.fonts.FontTriplet
-
Packages that use FontTriplet Package Description org.apache.fop.afp.fonts Contains a collection of AFP Graphics Object Content Architecture (GOCA) structured objects.org.apache.fop.fo.properties Classes representing the various property types as well as supporting data structures for the FO tree.org.apache.fop.fonts Classes for font handling.org.apache.fop.fonts.autodetect A collection of classes that aid in the autodetection of installed system fonts.org.apache.fop.fonts.substitute Font substitution facilities.org.apache.fop.render.afp An AFP Renderer implementation and supporting classes.org.apache.fop.render.intermediate org.apache.fop.render.pcl PCL Renderer (Supports PCL5 and HP GL/2)org.apache.fop.render.pdf PDF Rendererorg.apache.fop.svg.font org.apache.fop.tools.fontlist -
-
Uses of FontTriplet in org.apache.fop.afp.fonts
Fields in org.apache.fop.afp.fonts with type parameters of type FontTriplet Modifier and Type Field Description private java.util.List<FontTriplet>
AFPFontInfo. tripletList
Methods in org.apache.fop.afp.fonts that return types with arguments of type FontTriplet Modifier and Type Method Description java.util.List<FontTriplet>
AFPFontInfo. getFontTriplets()
Returns the list of font triplets associated with this font.Constructor parameters in org.apache.fop.afp.fonts with type arguments of type FontTriplet Constructor Description AFPFontInfo(AFPFont afpFont, java.util.List<FontTriplet> tripletList)
Main constructor -
Uses of FontTriplet in org.apache.fop.fo.properties
Methods in org.apache.fop.fo.properties that return FontTriplet Modifier and Type Method Description FontTriplet[]
CommonFont. 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 FontTriplet Modifier and Type Field Description static FontTriplet
Font. DEFAULT_FONT
Default fallback keystatic FontTriplet
FontTriplet. DEFAULT_FONT_TRIPLET
private FontTriplet
Font. triplet
Fields in org.apache.fop.fonts with type parameters of type FontTriplet Modifier and Type Field Description private java.util.Map<FontTriplet,java.util.Map<java.lang.Integer,Font>>
FontInfo. fontInstanceCache
Cache for Font instances.private java.util.List<FontTriplet>
EmbedFontInfo. fontTriplets
the list of associated font tripletsprivate java.util.List<FontTriplet>
DefaultFontConfig.Font. tripletList
private java.util.Map<FontTriplet,java.lang.Integer>
FontInfo. tripletPriorities
look up a font-triplet to find its priority (only used inside addFontProperties())private java.util.Map<FontTriplet,java.lang.String>
FontInfo. triplets
look up a font-triplet to find a font-nameMethods in org.apache.fop.fonts that return FontTriplet Modifier and Type Method Description static FontTriplet
FontInfo. createFontKey(java.lang.String family, java.lang.String style, int weight)
Creates a key from the given strings.FontTriplet
FontInfo. 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.FontTriplet
FontInfo. fontLookup(java.lang.String family, java.lang.String style, int weight)
Lookup a font.private FontTriplet
FontInfo. fontLookup(java.lang.String family, java.lang.String style, int weight, boolean substitutable)
Lookup a font.private FontTriplet
FontInfo. fuzzyFontLookup(java.lang.String family, java.lang.String style, int weight, FontTriplet startKey, boolean substitutable)
private FontTriplet
DefaultFontConfig.ParserHelper. getFontTriplet(Configuration tripletCfg, boolean strict)
Creates a new FontTriplet given a triple ConfigurationFontTriplet
Font. getFontTriplet()
FontTriplet
FontInfo. getTripletFor(java.lang.String fontName)
Returns the first triplet matching the given font name.Methods in org.apache.fop.fonts that return types with arguments of type FontTriplet Modifier and Type Method Description private java.util.List<FontTriplet>
FontInfo. fontLookup(java.lang.String[] families, java.lang.String style, int weight, boolean substitutable)
private java.util.Map<FontTriplet,java.util.Map<java.lang.Integer,Font>>
FontInfo. getFontInstanceCache()
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.private java.util.List<FontTriplet>
FontInfo. getTripletsForName(java.lang.String fontName)
Methods in org.apache.fop.fonts with parameters of type FontTriplet Modifier and Type Method Description void
FontInfo. addFontProperties(java.lang.String internalFontKey, FontTriplet triplet)
Adds a new font triplet.int
FontTriplet. compareTo(FontTriplet o)
void
FontEventAdapter. fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)
Notifies about a font being substituted as the requested one isn't available.void
FontEventListener. fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)
Notifies about a font being substituted as the requested one isn't available.void
FontEventProducer. fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)
Notifies about a font being substituted as the requested one isn't available.private FontTriplet
FontInfo. fuzzyFontLookup(java.lang.String family, java.lang.String style, int weight, FontTriplet startKey, boolean substitutable)
Font
FontInfo. getFontInstance(FontTriplet triplet, int fontSize)
Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.java.lang.String
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, java.lang.String oldKey, int oldPriority, java.lang.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 FontTriplet Constructor Description Font(java.lang.String key, FontTriplet triplet, FontMetrics met, int fontSize)
Main constructorConstructor parameters in org.apache.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, 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 FontTriplet Modifier and Type Method Description private void
FontInfoFinder. generateTripletsFromFont(CustomFont customFont, java.util.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 FontTriplet Modifier and Type Method Description protected FontTriplet
FontQualifier. bestMatch(FontInfo fontInfo)
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 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 -
Uses of FontTriplet in org.apache.fop.render.afp
Fields in org.apache.fop.render.afp with type parameters of type FontTriplet Modifier and Type Field Description protected java.util.List<FontTriplet>
AFPFontConfig.AFPFontConfigData. triplets
Methods in org.apache.fop.render.afp with parameters of type FontTriplet Modifier and Type Method Description java.lang.String
AFPPainter. getFontKey(FontTriplet triplet)
boolean
AFPFontConfig.AggregateMatcher. matches(FontTriplet triplet)
Method parameters in org.apache.fop.render.afp with type arguments of type FontTriplet Modifier and Type Method Description private void
AFPFontConfig.ParserHelper. fontFromType(java.util.List<FontTriplet> fontTriplets, java.lang.String type, java.lang.String codepage, java.lang.String encoding, Configuration cfg, AFPEventProducer eventProducer, java.lang.String embedURI)
private AFPFontConfig.CIDKeyedFontConfig
AFPFontConfig.ParserHelper. getCIDKeyedFont(java.util.List<FontTriplet> fontTriplets, java.lang.String type, java.lang.String codepage, java.lang.String encoding, Configuration cfg, AFPEventProducer eventProducer, java.lang.String uri)
private AFPFontConfig.OutlineFontConfig
AFPFontConfig.ParserHelper. getOutlineFont(java.util.List<FontTriplet> fontTriplets, java.lang.String type, java.lang.String codepage, java.lang.String encoding, Configuration cfg, AFPEventProducer eventProducer, java.lang.String uri)
private AFPFontConfig.RasterFontConfig
AFPFontConfig.ParserHelper. getRasterFont(java.util.List<FontTriplet> triplets, java.lang.String type, java.lang.String codepage, java.lang.String encoding, Configuration cfg, AFPEventProducer eventProducer, java.lang.String uri)
private AFPFontConfig.TrueTypeFontConfig
AFPFontConfig.ParserHelper. getTruetypeFont(java.util.List<FontTriplet> fontTriplets, java.lang.String type, java.lang.String codepage, java.lang.String encoding, Configuration cfg, AFPEventProducer eventProducer, java.lang.String uri)
private boolean
AFPFontConfig.ParserHelper. isEmbbedable(java.util.List<FontTriplet> triplets)
Constructor parameters in org.apache.fop.render.afp with type arguments of type FontTriplet Constructor Description AFPFontConfigData(java.util.List<FontTriplet> triplets, java.lang.String type, java.lang.String codePage, java.lang.String encoding, java.lang.String name, boolean embeddable, java.lang.String uri)
CIDKeyedFontConfig(java.util.List<FontTriplet> triplets, java.lang.String type, java.lang.String codePage, java.lang.String encoding, java.lang.String characterset, java.lang.String name, CharacterSetType charsetType, boolean embeddable, java.lang.String uri)
OutlineFontConfig(java.util.List<FontTriplet> triplets, java.lang.String type, java.lang.String codePage, java.lang.String encoding, java.lang.String characterset, java.lang.String name, java.lang.String base14, boolean embeddable, java.lang.String uri)
RasterFontConfig(java.util.List<FontTriplet> triplets, java.lang.String type, java.lang.String codePage, java.lang.String encoding, java.lang.String characterset, java.lang.String name, java.lang.String uri, java.util.List<AFPFontConfig.RasterCharactersetData> csetData, boolean embeddable)
TrueTypeFontConfig(java.util.List<FontTriplet> triplets, java.lang.String type, java.lang.String codePage, java.lang.String encoding, java.lang.String characterset, java.lang.String name, java.lang.String subfont, boolean embeddable, java.lang.String uri)
-
Uses of FontTriplet in org.apache.fop.render.intermediate
Methods in org.apache.fop.render.intermediate with parameters of type FontTriplet Modifier and Type Method Description protected void
AbstractIFPainter. drawSVGText(MultiByteFont multiByteFont, FontTriplet triplet, int x, int y, java.lang.String text, IFState state)
protected java.lang.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 FontTriplet Modifier and Type Method Description private void
PCLPainter. drawTextAsBitmap(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, java.lang.String text, FontTriplet triplet)
private void
PCLPainter. drawTextNative(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, java.lang.String text, FontTriplet triplet)
private void
PCLPainter. drawTextUsingSoftFont(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, java.lang.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 FontTriplet Modifier and Type Method Description private void
PDFPainter. drawTextWithDP(int x, int y, java.lang.String text, FontTriplet triplet, int letterSpacing, int wordSpacing, int[][] dp)
private void
PDFPainter. drawTextWithDX(int x, int y, java.lang.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 FontTriplet Modifier and Type Field Description private FontTriplet
FOPGVTFontFamily. fontTriplet
Methods in org.apache.fop.svg.font that return FontTriplet Modifier and Type Method Description FontTriplet
FOPGVTFont. getFontTriplet()
FontTriplet
FOPGVTFontFamily. getFontTriplet()
Constructors in org.apache.fop.svg.font with parameters of type FontTriplet Constructor Description FOPGVTFontFamily(FontInfo fontInfo, java.lang.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 FontTriplet Modifier and Type Method Description void
FontSpec. addTriplet(FontTriplet triplet)
Adds a font triplet.
-