| 1 | #======================================================================= | ||
| 2 | # ____ ____ _____ _ ____ ___ ____ | ||
| 3 | # | _ \| _ \| ___| _ _ / \ | _ \_ _| |___ \ | ||
| 4 | # | |_) | | | | |_ (_) (_) / _ \ | |_) | | __) | | ||
| 5 | # | __/| |_| | _| _ _ / ___ \| __/| | / __/ | ||
| 6 | # |_| |____/|_| (_) (_) /_/ \_\_| |___| |_____| | ||
| 7 | # | ||
| 8 | # A Perl Module Chain to faciliate the Creation and Modification | ||
| 9 | # of High-Quality "Portable Document Format (PDF)" Files. | ||
| 10 | # | ||
| 11 | #======================================================================= | ||
| 12 | # | ||
| 13 | # THIS IS A REUSED PERL MODULE, FOR PROPER LICENCING TERMS SEE BELOW: | ||
| 14 | # | ||
| 15 | # | ||
| 16 | # Copyright Jonathan Kew L<Jonathan_Kew@sil.org>. | ||
| 17 | # | ||
| 18 | # No warranty or expression of effectiveness, least of all regarding | ||
| 19 | # anyone's safety, is implied in this software or documentation. | ||
| 20 | # | ||
| 21 | # This specific module is licensed under the Perl Artistic License. | ||
| 22 | # | ||
| 23 | # | ||
| 24 | # $Id: CompactClassArray.pm,v 2.0 2005/11/16 02:16:00 areibens Exp $ | ||
| 25 | # | ||
| 26 | #======================================================================= | ||
| 27 | package PDF::API3::Compat::API2::Basic::TTF::Kern::CompactClassArray; | ||
| 28 | |||
| 29 | =head1 NAME | ||
| 30 | |||
| 31 | PDF::API3::Compat::API2::Basic::TTF::Kern::CompactClassArray | ||
| 32 | |||
| 33 | =head1 METHODS | ||
| 34 | |||
| 35 | =cut | ||
| 36 | |||
| 37 | use strict; | ||
| 38 | use vars qw(@ISA); | ||
| 39 | use PDF::API3::Compat::API2::Basic::TTF::Utils; | ||
| 40 | use PDF::API3::Compat::API2::Basic::TTF::AATutils; | ||
| 41 | |||
| 42 | @ISA = qw(PDF::API3::Compat::API2::Basic::TTF::Kern::Subtable); | ||
| 43 | |||
| 44 | sub new | ||
| 45 | { | ||
| 46 | my ($class) = @_; | ||
| 47 | my ($self) = {}; | ||
| 48 | |||
| 49 | $class = ref($class) || $class; | ||
| 50 | bless $self, $class; | ||
| 51 | } | ||
| 52 | |||
| 53 | =head2 $t->read | ||
| 54 | |||
| 55 | Reads the table into memory | ||
| 56 | |||
| 57 | =cut | ||
| 58 | |||
| 59 | sub read | ||
| 60 | { | ||
| 61 | my ($self, $fh) = @_; | ||
| 62 | |||
| 63 | die "incomplete"; | ||
| 64 | |||
| 65 | $self; | ||
| 66 | } | ||
| 67 | |||
| 68 | =head2 $t->out($fh) | ||
| 69 | |||
| 70 | Writes the table to a file | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | sub out_sub | ||
| 75 | { | ||
| 76 | my ($self, $fh) = @_; | ||
| 77 | |||
| 78 | die "incomplete"; | ||
| 79 | |||
| 80 | $self; | ||
| 81 | } | ||
| 82 | |||
| 83 | =head2 $t->print($fh) | ||
| 84 | |||
| 85 | Prints a human-readable representation of the table | ||
| 86 | |||
| 87 | =cut | ||
| 88 | |||
| 89 | sub print | ||
| 90 | { | ||
| 91 | my ($self, $fh) = @_; | ||
| 92 | |||
| 93 | my $post = $self->post(); | ||
| 94 | |||
| 95 | $fh = 'STDOUT' unless defined $fh; | ||
| 96 | |||
| 97 | die "incomplete"; | ||
| 98 | } | ||
| 99 | |||
| 100 | |||
| 101 | sub type | ||
| 102 | { | ||
| 103 | return 'kernCompactClassArray'; | ||
| 104 | } | ||
| 105 | |||
| 106 | |||
| 107 | 1; | ||
| 108 | |||
| 109 | =head1 BUGS | ||
| 110 | |||
| 111 | None known | ||
| 112 | |||
| 113 | =head1 AUTHOR | ||
| 114 | |||
| 115 | Jonathan Kew L<Jonathan_Kew@sil.org>. See L<PDF::API3::Compat::API2::Basic::TTF::Font> for copyright and | ||
| 116 | licensing. | ||
| 117 | |||
| 118 | =cut | ||
| 119 |