Package | Description |
---|---|
org.axsl.font |
Interfaces allowing client applications to register, track, and use fonts in a vendor-neutral way.
|
Modifier and Type | Method and Description |
---|---|
void |
FontServer.registerFont(java.lang.String fontID,
javax.activation.DataSource fontFileSource,
javax.activation.DataSource metricsFileSource,
java.lang.String collectionID,
Font.Embedding requestedEmbedding,
java.lang.String systemName)
Register a font for use by the system.
|
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.
|
void |
FontServer.registerFontFamily(java.lang.String name)
Register a font-family for use by the system.
|
void |
FontServer.registerFontFamilyAlias(java.lang.String alias,
java.lang.String realFamily)
Add a font-family alias.
|
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.selectFontPanose(byte[] panose,
int codePoint)
Accepts the client's PANOSE description of the desired font, and returns
the best-fitting Font found.
|
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.