Uses of Class org.apache.fop.fonts.FontTriplet

Uses in package org.apache.fop.fonts

Constructors with parameter type org.apache.fop.fonts.FontTriplet

Font.Font(String key, FontTriplet triplet, FontMetrics met, int fontSize)
Main constructor

Fields of type org.apache.fop.fonts.FontTriplet

FontTriplet
Default fallback key

Methods with parameter type org.apache.fop.fonts.FontTriplet

void
FontInfo.addFontProperties(String name, FontTriplet triplet)
Adds a new font triplet.
Font
FontInfo.getFontInstance(FontTriplet triplet, int fontSize)
Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.
String
Returns the internal font key (F1, F2, F3 etc.) for a given triplet.

Methods with return type org.apache.fop.fonts.FontTriplet

FontTriplet
FontInfo.createFontKey(String family, String style, int weight)
Creates a key from the given strings.
FontTriplet
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.
FontTriplet
FontInfo.fontLookup(String family, String style, int weight)
Lookup a font.
FontTriplet
FontInfo.fontLookup(String[] family, String style, int weight)
Lookup a font.
FontTriplet
FontTriplet
FontInfo.getTripletFor(String fontName)
Returns the first triplet matching the given font name.

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.