fop 0.95

org.apache.fop.fonts
Class CIDFont

java.lang.Object
  extended by org.apache.fop.fonts.Typeface
      extended by org.apache.fop.fonts.CustomFont
          extended by org.apache.fop.fonts.CIDFont
All Implemented Interfaces:
FontDescriptor, FontMetrics, MutableFont
Direct Known Subclasses:
MultiByteFont

public abstract class CIDFont
extends CustomFont

Abstract base class for CID fonts.


Field Summary
 java.util.Map usedCharsIndex
          usedCharsIndex contains new glyph, original char
 java.util.Map usedGlyphs
          usedGlyphs contains orginal, new glyph index
 int usedGlyphsCount
           
 java.util.Map usedGlyphsIndex
          usedGlyphsIndex contains new glyph, original index
 int[] width
           
 
Constructor Summary
CIDFont()
           
 
Method Summary
abstract  char[] getCharsUsed()
          Returns a char array containing all Unicode characters that have been accessed.
abstract  CIDFontType getCIDType()
          Returns the type of the CID font.
 int getDefaultWidth()
          Returns the default width for this font.
abstract  java.lang.String getOrdering()
          Returns a font name for use within a registry.
abstract  java.lang.String getRegistry()
          Returns the name of the issuer of the font.
abstract  int getSupplement()
          Returns the supplement number of the character collection.
 boolean isMultiByte()
          Determines whether the font is a multibyte font.
 
Methods inherited from class org.apache.fop.fonts.CustomFont
getAscender, getAscender, getCapHeight, getCapHeight, getDescender, getDescender, getEmbedFileName, getEmbedFileSource, getEmbedFontName, getEmbedResourceName, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFontName, getFontSubName, getFontType, getFullName, getItalicAngle, getKerningInfo, getLastChar, getMissingWidth, getStemV, getStrippedFontName, getWeight, getXHeight, hasKerningInfo, isKerningEnabled, isSymbolicFont, putKerningEntry, replaceKerningMap, setAscender, setCapHeight, setDescender, setEmbedFileName, setEmbedResourceName, setFamilyNames, setFirstChar, setFlags, setFontBBox, setFontName, setFontSubFamilyName, setFontType, setFullName, setItalicAngle, setKerningEnabled, setLastChar, setMissingWidth, setResolver, setStemV, setWeight, setXHeight
 
Methods inherited from class org.apache.fop.fonts.Typeface
getEncoding, getMaxAscent, hadMappingOperations, hasChar, mapChar, notifyMapOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.fop.fonts.FontDescriptor
isEmbeddable
 
Methods inherited from interface org.apache.fop.fonts.FontMetrics
getMaxAscent, getWidth, getWidths
 

Field Detail

usedGlyphs

public java.util.Map usedGlyphs
usedGlyphs contains orginal, new glyph index


usedGlyphsIndex

public java.util.Map usedGlyphsIndex
usedGlyphsIndex contains new glyph, original index


usedGlyphsCount

public int usedGlyphsCount

usedCharsIndex

public java.util.Map usedCharsIndex
usedCharsIndex contains new glyph, original char


width

public int[] width
Constructor Detail

CIDFont

public CIDFont()
Method Detail

getCIDType

public abstract CIDFontType getCIDType()
Returns the type of the CID font.

Returns:
the type of the CID font

getRegistry

public abstract java.lang.String getRegistry()
Returns the name of the issuer of the font.

Returns:
a String identifying an issuer of character collections - for example, Adobe

getOrdering

public abstract java.lang.String getOrdering()
Returns a font name for use within a registry.

Returns:
a String that uniquely names a character collection issued by a specific registry - for example, Japan1.

getSupplement

public abstract int getSupplement()
Returns the supplement number of the character collection.

Returns:
the supplement number

getDefaultWidth

public int getDefaultWidth()
Returns the default width for this font.

Returns:
the default width

isMultiByte

public boolean isMultiByte()
Determines whether the font is a multibyte font.

Overrides:
isMultiByte in class Typeface
Returns:
True if it is multibyte

getCharsUsed

public abstract char[] getCharsUsed()
Returns a char array containing all Unicode characters that have been accessed.

Returns:
a char array with all used Unicode characters

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.