1 package Font::TTF::Cvt_;
5 Font::TTF::Cvt_ - Control Value Table in a TrueType font
9 This is a minimal class adding nothing beyond a table, but is a repository
10 for cvt type information for those processes brave enough to address hinting.
12 =head1 INSTANCE VARIABLES
18 This is an array of CVT values. Thus access to the CVT is via:
20 $f->{'cvt_'}{'val'}[$num];
29 use vars qw(@ISA $VERSION);
32 @ISA = qw(Font::TTF::Table);
38 Reads the CVT table into both the tables C<' dat'> variable and the C<val>
47 $self->read_dat || return undef;
49 $self->{'val'} = [TTF_Unpack("s*", $self->{' dat'})];
56 Updates the RAM file copy C<' dat'> to be the same as the array.
64 return undef unless ($self->{' read'} && $#{$self->{'val'}} >= 0);
65 $self->{' dat'} = TTF_Pack("s*", @{$self->{'val'}});
77 Martin Hosken Martin_Hosken@sil.org. See L<Font::TTF::Font> for copyright and