Unified Typesetting API M1-20040817

de.inghuimische.uta.qm
Class Feature

java.lang.Object
  extended byde.inghuimische.uta.qm.Feature

public class Feature
extends Object

Instances of this class describe a feature as they have to be in feature and reference lists.

Author:
Christian Ziesemer

Field Summary
static Feature BIDI
          The feature to be used if bidirectional text processing is support.
static Feature CONTEXT_SENSITIVE
          The feature to be used if processing of glyphs takes other preceeding and/or following glyphs into account.
static Feature CURSIVE_LINKING
          The feature to be used for cursive linking support (this is altering the shape of glyphs to imitate cursive writing).
static Feature DIACRITIC_MARKS
          The feature to be used for support of diacritic marks (like ¨).
static Feature EXTENSIBLE
          Specifies whether a typesetter is extensible.
static Feature GLOBAL_OPTIMIZING
          The feature to be used if global optimizing line breaking is supported.
static Feature HYPHENATION
          The feature to be used for hyphenation support.
static Feature ITEM_POSITION
          The feature to be used if the position of the item within a line and its corresponding width is recognized.
static Feature JUSTIFICATION
          The feature to be used if justification of lines is supported.
static Feature KERNING
          The feature to be used for kerning support (not only placing glyphs one after the other but also considering some optical refinements, the A and W in AW should be moved a bit closer to each other as should the T and the o in To).
static Feature LIGATURE
          The feature to be used for ligature support (combining/substituting several glyphs by one).
static Feature LOCAL_OPTIMIZING
          The feature to be used if linebreaking is local optimizing.
static Feature MULTIPLE_WIDTHS
          The feature to be used if multiple width of an item are recognized (min/preferred/max).
 
Method Summary
static Feature getFeature(String key)
          Singleton-pattern method which guarantees that exactly one feature exists for the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIGATURE

public static final Feature LIGATURE
The feature to be used for ligature support (combining/substituting several glyphs by one).

UTA key:
uta.script.ligature

HYPHENATION

public static final Feature HYPHENATION
The feature to be used for hyphenation support.

UTA key:
uta.script.hyphenation

DIACRITIC_MARKS

public static final Feature DIACRITIC_MARKS
The feature to be used for support of diacritic marks (like ¨).

UTA key:
uta.script.diacriticMarks

CURSIVE_LINKING

public static final Feature CURSIVE_LINKING
The feature to be used for cursive linking support (this is altering the shape of glyphs to imitate cursive writing).

UTA key:
uta.script.cursiveLinking

KERNING

public static final Feature KERNING
The feature to be used for kerning support (not only placing glyphs one after the other but also considering some optical refinements, the A and W in AW should be moved a bit closer to each other as should the T and the o in To).

UTA key:
uta.script.kerning

CONTEXT_SENSITIVE

public static final Feature CONTEXT_SENSITIVE
The feature to be used if processing of glyphs takes other preceeding and/or following glyphs into account.

UTA key:
uta.script.contextSensitive

BIDI

public static final Feature BIDI
The feature to be used if bidirectional text processing is support.

UTA key:
uta.script.bidi

GLOBAL_OPTIMIZING

public static final Feature GLOBAL_OPTIMIZING
The feature to be used if global optimizing line breaking is supported.

UTA key:
uta.linebreaking.globalOptimizing

LOCAL_OPTIMIZING

public static final Feature LOCAL_OPTIMIZING
The feature to be used if linebreaking is local optimizing.

UTA key:
uta.linebreaking.localOptimizing

ITEM_POSITION

public static final Feature ITEM_POSITION
The feature to be used if the position of the item within a line and its corresponding width is recognized.

UTA key:
uta.linebreaking.itemPosition

MULTIPLE_WIDTHS

public static final Feature MULTIPLE_WIDTHS
The feature to be used if multiple width of an item are recognized (min/preferred/max).

UTA key:
uta.linebreaking.multipleWidths

JUSTIFICATION

public static final Feature JUSTIFICATION
The feature to be used if justification of lines is supported.

UTA key:
uta.typesetting.justification

EXTENSIBLE

public static final Feature EXTENSIBLE
Specifies whether a typesetter is extensible. Typesetters should in general be extensible, but probably a typesetter may build upon other software and extensions would be hard to do. This would be the case e.g. for typesetters using the Java2D API by extending the Font class (and therefore only able to use information provided by the font).

UTA key:
uta.typesetting.extensible
Method Detail

getFeature

public static Feature getFeature(String key)
Singleton-pattern method which guarantees that exactly one feature exists for the given key.

Keys should follow the same convention Java package naming does (toplevelDomain.domain.further.subpackages). Keys starting with uta. are reserved.

Parameters:
key - The key a feature is requested for.
Returns:
The feature with the given key.

Unified Typesetting API M1-20040817


An inghuimische.de project.
Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details.