2.5+
 	X    package Font::TTF::Mort::Rearrangement;

=head1 NAME

Font::TTF::Mort::Rearrangement - Rearrangement Mort subtable for AAT

=head1 METHODS

=cut

use strict;
use vars qw(@ISA);
use Font::TTF::Utils;
use Font::TTF::AATutils;

@ISA = qw(Font::TTF::Mort::Subtable);

sub new
{
    my ($class, $direction, $orientation, $subFeatureFlags) = @_;
    my ($self) = {
                    'direction'            => $direction,
                    'orientation'        => $orientation,
                    'subFeatureFlags'    => $subFeatureFlags
                };

    $class = ref($class) || $class;
    bless $self, $class;
}

=head2 $t->read

Reads the table into memory

=cut

sub read
{
    my ($self, $fh) = @_;
    
    my ($classes, $states) = AAT_read_state_table($fh, 0);
    $self->{'classes'} = $classes;
    $self->{'states'} = $states;
            
    $self;
}

=head2 $t->pack_sub()

=cut

sub pack_sub
{
    my ($self) = @_;
    
    return AAT_pack_state_table($self->{'classes'}, $self->{'states'}, 0);
}

=head2 $t->print($fh)

Prints a human-readable representation of the table

=cut

sub print
{
    my ($self, $fh) = @_;
    
    my $post = $self->post();
    
    $fh = 'STDOUT' unless defined $fh;

    $self->print_classes($fh);

    $fh->print("\n");
    my $states = $self->{'states'};
    my @verbs = (    "0", "Ax->xA", "xD->Dx", "AxD->DxA",
                    "ABx->xAB", "ABx->xBA", "xCD->CDx", "xCD->DCx",
                    "AxCD->CDxA", "AxCD->DCxA", "ABxD->DxAB", "ABxD->DxBA",
                    "ABxCD->CDxAB", "ABxCD->CDxBA", "ABxCD->DCxAB", "ABxCD->DCxBA");
    foreach (0 .. $#$states) {
        $fh->printf("\t\tState %d:", $_);
        my $state = $states->[$_];
        foreach (@$state) {
            my $flags;
            $flags .= "!" if ($_->{'flags'} & 0x4000);
            $flags .= "<" if ($_->{'flags'} & 0x8000);
            $flags .= ">" if ($_->{'flags'} & 0x2000);
            $fh->printf("\t(%s%d,%s)", $flags, $_->{'nextState'}, $verbs[($_->{'flags'} & 0x000f)]);
        }
        $fh->print("\n");
    }
}

1;

=head1 BUGS

None known

=head1 AUTHOR

Jonathan Kew L<http://scripts.sil.org/FontUtils>. 


=head1 LICENSING

Copyright (c) 1998-2016, SIL International (http://www.sil.org) 

This module is released under the terms of the Artistic License 2.0. 
For details, see the full text of the license in the file LICENSE.



=cut



 ë    ‹      Å”QoÚ0…ßû+<?ì-¹@é4µŽ§.AD©ªiÚƒ±�ÄjbG¶e¿~•N m/ÛS®ãßïÛ!o²Yºü2¡OË»	š?|œŒS„#€ÇË [fÝÄ0îõFSŒpé}s°ÙlâÍellË”¾®†à¼UÜÇÂL/HûŽ^ RJ&Â¯|%éXùŒLŽÀ¬½SBS;pR‹\U2²6qébnLÃ]ä\uPaí,TjpÊË(”–ÙmK±æ¼dº�í´#Ð5(°g!+#¶-bÿà„®»8ØjGÕ––_¢ï¬R…N°7¦DÕr–'7ÚÁªbú).TŽ«|‚¿ŽÓÙ· _¶_SÂPiežài2½™%¦SVKì´æ.hn1�0çQm„Ê•gÅ÷�ø^ý8¿`Öi2é¸U�WF¿H!X<¶ÊMå¼^¥=Vuñ»4Æüv1š.³ñ¢‹D´K¼Ðý‹ÍÅtÎ¬ÔeÊJî�Ýîíw,oõÊ57‡!Ú›³ª(=¦Eè¤ò/Yë'm6ú8”øÉ8Ž°cg0}=>Æþ…sÐ¢Þ»¨…úÃëÞ{„Îê?Ÿ7ô‡öW„Àî¾è~)?%¾3Ìµ   H    ‹      Å•]oÚ0†ïû+<_ì.9„©£I¦Ž �¢TÓ4íÂØNb5±#ÛŒÑ_?‡ÀJ+X;µê®rì¼9çy�c;|—L‹o³!ú¼¸£ÙÍ§ñh€°ðµ3 HIó¢ë·€á#œ[[õÖëµ¿îøJg°˜CnË¢ÆjA­Ï,ÃñYXÏÅg(Ì9aî‰B+lÁã‘düR)µ²F0ÞÞÀTiÀpÉRQpŸñRù¹ñ©R•+À5ž1Å^Ý…J+
6×.¿gx‘‚VÊÂÊh09Ñu:
Ú£šHÏŠ’ÓœÈŒ‡Ð`80Ø‘…KÅ65pðÿáÃ¶Ud¹e¬C‡6G?I!2a«*‡¢Ì�Ñ4Â ¨’–‘·~&RŒHa#ü}4˜þp:GP‡9”4ÂÑäb%8ž�ÒÕ#Ç5WNs‰ã11•Š‰TpvR|Ýˆ¯ÅÝé„I£I¸¡ZTV(y/gñÐ*U…©ˆóÚsr}¨j$ì©nú ³Ëùp²HFó¦%¬NqO÷&K�ã™¥E‰ÐœZ¥7;ÿÌ{¹4ÕÅ~ˆvî´Èr‹c„<tTù-¡ª¬47†³ÃÆ¸¦mIó7*ó¾DúÙŽ�LzxÝnµ;^+ð‚sýÞ9B'„Ý ûbw+y+ÕZ>Ëšª6»ÊÂ×°øÁ—7´¡WÒ[Ia=Ë�«þ`ø*«Òj¿xURU0®ÝœÚ‚5µq{¤y>ÉÿÁk;þ^¿Õ;Éÿ÷=óÌÃvÇpÛ"„æJûviŸ§5    5   ˆl–Ðz¾” ”Ê:”Ê�jãm\ŠbÑ¿�þ^r5›”-> D#ÀþÍƒ[oÌËÊ k    #!/usr/bin/perl

=head1 NAME

dh_installudev - install udev rules files

=cut

use strict;
use warnings;
use Debian::Debhelper::Dh_Lib;

our $VERSION = DH_BUILTIN_VERSION;

=head1 SYNOPSIS

B<dh_installudev> [S<I<debhelper options>>] [B<-n>] [B<--name=>I<name>] [B<--priority=>I<priority>]

=head1 DESCRIPTION

B<dh_installudev> is a debhelper program that is responsible for
installing B<udev> rules files.

=head1 FILES

=over 4

=item debian/I<package>.udev

Installed into F<lib/udev/rules.d/> in the package build directo