Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pdfbox.encoding
Class AFMEncoding

    java.lang.Object
      org.pdfbox.encoding.Encoding
          org.pdfbox.encoding.AFMEncoding

All Implemented Interfaces:
  COSObjectable

public class AFMEncoding
extends Encoding

This will handle the encoding from an AFM font.

Version:
  $Revision: 1.8 $
Author:
  Ben Litchfield

Field Summary

Fields inherited from class org.pdfbox.encoding.Encoding
`codeToName, nameToCode`

Constructor Summary
`AFMEncoding(org.fontbox.afm.FontMetric fontInfo)` Constructor.

Method Summary
`COSBase` | `getCOSObject()` Convert this standard java object to a COS object.

Methods inherited from class org.pdfbox.encoding.Encoding
`addCharacterEncoding, getCharacter, getCharacter, getCode, getName, getNameFromCharacter`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AFMEncoding

    public AFMEncoding(org.fontbox.afm.FontMetric fontInfo)

  Constructor.

Parameters:
  `fontInfo` - The font metric information.

Method Detail

### getCOSObject

    public COSBase getCOSObject()

  Convert this standard java object to a COS object.

  Returns:
    The cos object that matches this Java object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD