Previous Index Next

file format / data structure


       @
   ___ @
  / _ \@
 |  __/@
  \___|@
       @@

  $self->{_font}->[$i] = [$length,#maxLen
                          $wLead, #wLead
                          $wTrail,#wTrail
                          split($/, $self->{_font}->[$i])];
Font data is stored in a private attribute of the object as a list of lists. The outer list is indexed by the ord of the char, the inner list contains three pieces of information about the figchar (width, leading and trailing whitespace) and the figchar data itself.