Class AFM::Font
In: lib/afm.rb
Parent: Object

Methods

[]   from_file   metrics_for   new  

Attributes

char_metrics  [R] 
char_metrics_by_code  [R] 
kern_pairs  [R] 
metadata  [R] 

Public Class methods

Loading a Font Metrics file by absolute path (no automatic font path resolution)

Public Instance methods

Get metadata by key

Get metrics for character. Takes an integer (charcode) or a one-char string. currently works only for Latin1 strings, since we only have a chartable for the Latin1 charset so far. (shamelessly stolen from AFM.pm by Gisle Aas)

[Validate]