org.foray.ps.encode
Class EncodingFOrayLatinExtra

java.lang.Object
  extended by org.foray.ps.encode.EncodingVector4a
      extended by org.foray.ps.encode.EncodingFOrayLatinExtra
All Implemented Interfaces:
Serializable, org.axsl.ps.Encoding, org.axsl.ps.PsEncoding

public final class EncodingFOrayLatinExtra
extends EncodingVector4a
implements Serializable

Class containing hard-coded values that represent the FOrayLatinExtra Encoding Vector. This Encoding is intended to be used in conjuction with the WinAnsiEncoding. It is totally fabricated by FOray and is intended to handle glyphs that commonly appear in Latin fonts, but which are not included in the WinAnsiEncoding. Its main purpose is to prevent the needless proliferation and duplication of custom encodings.

The hard-coded values in this class were derived by running EncodingParser.main(String[]) with the following input parameters:

  1. input-file: foray/foray-ps/resource/encoding/foray-latin-extra.txt
  2. column-number: 1
  3. radix: 8
  4. output-file: [some file]
  5. glyph-lists: [null]

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.axsl.ps.PsEncoding
org.axsl.ps.PsEncoding.Predefined
 
Field Summary
static String NAME
          The name of this encoding.
static long serialVersionUID
          Constant needed for serialization.
 
Fields inherited from class org.foray.ps.encode.EncodingVector4a
NOTDEF
 
Fields inherited from interface org.axsl.ps.Encoding
INVALID_UNICODE_CHAR
 
Method Summary
static EncodingFOrayLatinExtra getInstance()
          Returns the singleton instance of this class.
 org.axsl.ps.PsEncoding.Predefined getPredefinedType()
           
 boolean isStatic()
          Indicates whether the data in this encoding vector is static, that is, tied entirely to the class itself and not built dynamically.
 
Methods inherited from class org.foray.ps.encode.EncodingVector4a
asPostScript, bestBaseEncodingPdf, canEncode, decodeCharacter, encodeCharacter, getFirstIndex, getGlyphNames, getLastIndex, getName, isPredefinedPdf, isPredefinedPs, isSubsetOf, mapCodePointToGlyphName, mapCodePointToGlyphName, mapGlyphNameToCodePoint, size, sortCodePoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Constant needed for serialization.

See Also:
Constant Field Values

NAME

public static final String NAME
The name of this encoding.

See Also:
Constant Field Values
Method Detail

getInstance

public static EncodingFOrayLatinExtra getInstance()
Returns the singleton instance of this class.

Returns:
The singleton isntance of this class.

isStatic

public boolean isStatic()
Description copied from class: EncodingVector4a
Indicates whether the data in this encoding vector is static, that is, tied entirely to the class itself and not built dynamically. This is used primarily to determine whether the instance should actually be serialized.

Specified by:
isStatic in class EncodingVector4a
Returns:
True iff all data in this encoding vector is static and does not need to be serialized.

getPredefinedType

public org.axsl.ps.PsEncoding.Predefined getPredefinedType()
Specified by:
getPredefinedType in interface org.axsl.ps.PsEncoding


Copyright © 2017. All rights reserved.