Package | Description |
---|---|
org.axsl.fo.fo.proforma |
Interfaces useful for describing properties that are not exposed in the client-facing API, but that are useful on
a pro-forma basis for implementations.
|
org.axsl.font |
Interfaces allowing client applications to register, track, and use fonts in a vendor-neutral way.
|
Modifier and Type | Method and Description |
---|---|
Font.Variant |
CommonFontExcludedPa.traitFontVariant(FoContext context)
Returns the "font-variant" trait for this FO.
|
Modifier and Type | Method and Description |
---|---|
static Font.Variant |
Font.Variant.parseCss(java.lang.String input,
boolean lowerCaseOnly)
Parses a CSS2 String into an instance of
Font.Variant . |
static Font.Variant |
Font.Variant.parseFo(java.lang.String input,
boolean lowerCaseOnly)
Parses an XSL-FO String into an instance of
Font.Variant . |
static Font.Variant |
Font.Variant.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Font.Variant[] |
Font.Variant.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
FontServer.registerFontDescription(java.lang.String fontFamily,
java.lang.String fontID,
Encoding encoding,
Font.Style style,
Font.Weight weight,
Font.Variant variant,
Font.Stretch stretch,
float simulatedSmallCaps,
float simulatedOblique,
float simulatedBackslant,
float[] simulatedStretch)
Register a font description for use by the system.
|
FontUse |
FontConsumer.selectFontCss(java.util.List<java.lang.String> familyList,
Font.Style style,
Font.Weight weight,
Font.Variant variant,
Font.Stretch stretch,
int size,
int codePoint)
The same as
FontConsumer.selectFontXsl(org.axsl.font.Font.SelectionStrategy, java.util.List<java.lang.String>, org.axsl.font.Font.Style, org.axsl.font.Font.Weight, org.axsl.font.Font.Variant, org.axsl.font.Font.Stretch, int, int) , except that the algorithm specified
by CSS 2.1 is used instead. |
FontUse |
FontConsumer.selectFontXsl(Font.SelectionStrategy selectionStrategy,
java.util.List<java.lang.String> familyList,
Font.Style style,
Font.Weight weight,
Font.Variant variant,
Font.Stretch stretch,
int size,
int codePoint)
Accepts the client's description of the desired font, and returns the
best-fitting Font found, using the algorithm specified by the XSL-FO
1.1 Recommendation.
|
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.