org.extex.font.format.xtf.tables.tag
Class ScriptTag

java.lang.Object
  extended by org.extex.font.format.xtf.tables.tag.Tag
      extended by org.extex.font.format.xtf.tables.tag.ScriptTag

public final class ScriptTag
extends Tag

Script Tags.

Script tags identify the scripts represented in a OpenType Layout font.

When the ScriptList table is searched for a script, and no entry is found, and there is an entry for the 'DFLT' script, then this entry must be used.

Version:
$Revision: 7274 $
Author:
Michael Niedermair

Method Summary
static ScriptTag getDefault()
          Return the name of the default script tag.
static ScriptTag getInstance(java.lang.String name)
          Get a new script tag.
static boolean isInList(java.lang.String name)
          Check, if the name is in the script tag list.
 
Methods inherited from class org.extex.font.format.xtf.tables.tag.Tag
format, getTag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDefault

public static ScriptTag getDefault()
Return the name of the default script tag.

Returns:
Return the name of the default script tag.

getInstance

public static ScriptTag getInstance(java.lang.String name)
Get a new script tag.

Parameters:
name - The name of the script tag.
Returns:
Returns the new script tag.

isInList

public static boolean isInList(java.lang.String name)
Check, if the name is in the script tag list.

Parameters:
name - The name of the script tag.
Returns:
Returns true, if found, otherwise false.