Class: PDF::Reader::Encoding

Class | PDF::Reader::Encoding
In: | lib/pdf/reader/encoding.rb
Parent: | Object

### Methods

differences= new to_utf8

### Constants

UNKNOWN_CHAR | = | 0x25AF

### Attributes

differences | [R] |

### Public Class methods

new(enc)

### Public Instance methods

differences=(diff)

set the differences table for this encoding. should be an array in the following format:

      [25, :A, 26, :B]

The array alternates bewteen a decimal byte number and a glyph name to map to that byte

To save space the following array is also valid and equivilant to the previous one

      [25, :A, :B]

to_utf8(str, tounicode = nil)

convert the specified string to utf8

[Validate]