Package | Description |
---|---|
org.axsl.fo.fo.prop |
Interfaces describing methods for obtaining property or trait values from the Fo Tree objects.
|
org.axsl.font |
Interfaces allowing client applications to register, track, and use fonts in a vendor-neutral way.
|
org.axsl.galley |
Interfaces useful for client applications that wish to read an AreaTree, usually to create an output document.
|
Modifier and Type | Method and Description |
---|---|
Font.Weight |
FontWeightPa.traitFontWeight(FoContext context)
Returns the font-weight (relative boldness) of the font-family typeface that should be used.
|
Modifier and Type | Method and Description |
---|---|
static Font.Weight |
Font.Weight.fromNumeric(int numericWeight)
Returns the Weight constant corresponding to a given numeric weight.
|
Font.Weight |
FontUse.nextBolderWeight()
Returns the weight of the next bolder font in this font's font-family,
if one exists.
|
Font.Weight |
Font.Weight.nextHeaviest()
Returns the next heaviest weight.
|
Font.Weight |
FontUse.nextLighterWeight()
Returns the weight of the next lighter font in this font's font-family,
if one exists.
|
Font.Weight |
Font.Weight.nextLightest()
Returns the next lightest weight.
|
static Font.Weight |
Font.Weight.parseCss(java.lang.String input,
boolean lowerCaseOnly)
Parses a CSS2 String into an instance of
Font.Weight . |
static Font.Weight |
Font.Weight.parseFo(java.lang.String input,
boolean lowerCaseOnly)
Parses an XSL-FO String into an instance of
Font.Weight . |
static Font.Weight |
Font.Weight.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Font.Weight[] |
Font.Weight.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.
|
Modifier and Type | Method and Description |
---|---|
Font.Weight |
Bookmark.traitFontWeight()
Returns the relative boldness of the font-family typeface that should be
used.
|
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.