Class FontResolutionPriority

java.lang.Object
com.adobe.fontengine.fontmanagement.FontResolutionPriority
All Implemented Interfaces:
Serializable

public final class FontResolutionPriority extends Object implements Serializable
This class provides an enumeration of the allowable values for use in setting the resolution priority in the variety of font sets that are stored in CAFE. Not every font set uses every font resolution priority. Examples of the use of these priority levels are available in: CSS20FontSet.setResolutionPriority. PSNameResolver.setResolutionPriority.

Concurrency

Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.
See Also:
  • Field Details

    • INTELLIGENT_LAST

      public static final FontResolutionPriority INTELLIGENT_LAST
      In the case of conflicts choose the font using an "intelligent" font resolution process. If two fonts appear to be the same under "intelligent" selection choose the one that was added last.
    • INTELLIGENT

      public static final FontResolutionPriority INTELLIGENT
      This is an alias for INTELLIGENT_LAST.
    • INTELLIGENT_FIRST

      public static final FontResolutionPriority INTELLIGENT_FIRST
      In the case of conflicts choose the font using an "intelligent" font resolution process. If two fonts appear to be the same under "intelligent" selection choose the one that was added last.
    • FIRST

      public static final FontResolutionPriority FIRST
      In the case of conflicts choose the font which was added to the font set first.
    • LAST

      public static final FontResolutionPriority LAST
      In the case of conflicts choose the font which was added to the font set last.
  • Method Details

    • parse

      public static FontResolutionPriority parse(String text)
      Parse the text and return the FontResolutionPriority object which is represented if any.
      Parameters:
      text - textual representation of the resolution priority
      Returns:
      FontResolutionPriority represented by the text value
    • toString

      public String toString()
      Overrides:
      toString in class Object