Class: PDF::Writer::Object::Font

Class | PDF::Writer::Object::Font
In: | lib/pdf/writer/object/font.rb
Parent: | PDF::Writer::Object

An object to hold the font description

### Methods

new to_s

### Constants

Details | = | %w{FirstChar LastChar Widths FontDescriptor SubType}

### Attributes

basefont | [R] |
encoding | [R] | Valid values: WinAnsiEncoding, MacRomanEncoding, MacExpertEncoding, none, `nil`, or an instance of PDF::Writer::Object::FontEncoding.
font_id | [R] |
subtype | [R] | The type of the font: Type1 and TrueType are the only values supported by

### Public Class methods

new(parent, name, encoding = 'WinAnsiEncoding', subtype = 'Type1')

### Public Instance methods

to_s()

[Validate]