Branch Coverage

blib/lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm
Criterion Covered Total %
branch 0 186 0.0


line true false branch
24 0 0 if defined $PDF::API2::Resource::CIDFont::TrueType::FontFile::cmap->{$filename}
26 0 0 if ($@) { }
70 0 0 if ($b0 == 12) { }
0 0 elsif ($b0 < 28) { }
0 0 elsif ($b0 == 28) { }
0 0 elsif ($b0 == 29) { }
0 0 elsif ($b0 == 30) { }
0 0 elsif ($b0 == 31) { }
0 0 elsif ($b0 < 247) { }
0 0 elsif ($b0 < 251) { }
0 0 elsif ($b0 < 255) { }
73 0 0 if ($b1 == 0) { }
0 0 elsif ($b1 == 1) { }
0 0 elsif ($b1 == 2) { }
0 0 elsif ($b1 == 3) { }
0 0 elsif ($b1 == 4) { }
0 0 elsif ($b1 == 5) { }
0 0 elsif ($b1 == 6) { }
0 0 elsif ($b1 == 7) { }
0 0 elsif ($b1 == 8) { }
0 0 elsif ($b1 == 20) { }
0 0 elsif ($b1 == 21) { }
0 0 elsif ($b1 == 22) { }
0 0 elsif ($b1 == 23) { }
0 0 elsif ($b1 == 24) { }
0 0 elsif ($b1 == 25) { }
0 0 elsif ($b1 == 30) { }
0 0 elsif ($b1 == 31) { }
0 0 elsif ($b1 == 32) { }
0 0 elsif ($b1 == 33) { }
0 0 elsif ($b1 == 34) { }
0 0 elsif ($b1 == 35) { }
0 0 elsif ($b1 == 36) { }
0 0 elsif ($b1 == 37) { }
0 0 elsif ($b1 == 38) { }
0 0 elsif ($b1 == 39) { }
151 0 0 if ($b0 == 0) { }
0 0 elsif ($b0 == 1) { }
0 0 elsif ($b0 == 2) { }
0 0 elsif ($b0 == 3) { }
0 0 elsif ($b0 == 4) { }
0 0 elsif ($b0 == 5) { }
0 0 elsif ($b0 == 13) { }
0 0 elsif ($b0 == 14) { }
0 0 elsif ($b0 == 15) { }
0 0 elsif ($b0 == 16) { }
0 0 elsif ($b0 == 17) { }
0 0 elsif ($b0 == 18) { }
206 0 0 if ($m < 10) { }
0 0 elsif ($m == 10) { }
0 0 elsif ($m == 11) { }
0 0 elsif ($m == 12) { }
0 0 elsif ($m == 14) { }
0 0 elsif ($m == 15) { }
257 0 0 unless $font->{'kern'}
267 0 0 if ($fmt == 0) { }
0 0 elsif ($fmt == 2) { }
274 0 0 if ($val < 0) { }
280 0 0 if ($val != 0)
341 0 0 if ($k eq "ROS")
346 0 0 unless ref $dt eq "HASH" and defined $dt->{'SID'}
347 0 0 if ($dt->{'SID'} >= 379)
354 0 0 if defined $data->{'topdict'}[0]{'VAL'}{$k}
363 0 0 unless -f $file
367 0 0 if ref $class
374 0 0 $opts{'embed'} ? :
375 0 0 defined $font->{'CFF '} ? :
377 0 0 if $data->{'iscff'}
415 0 0 if (defined $font->{'cmap'}->find_ms) { }
440 0 0 if $font->{'OS/2'}->read->{'bProportion'} == 9
441 0 0 unless $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
442 0 0 if $font->{'OS/2'}{'bFamilyType'} == 2
444 0 0 if $font->{'OS/2'}{'bLetterform'} > 8
449 0 0 if ($data->{'issymbol'}) { }
456 0 0 if ($font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms) { }
464 0 0 unless $_
472 0 0 if ($self->iscff)
476 0 0 if (defined $data->{'cff'}{'ROS'}) { }
496 0 0 unless $_
499 0 0 if ($data->{'issymbol'})
504 0 0 unless $data->{'g2n'}[$data->{'u2g'}{$_} or 0]
506 0 0 unless $data->{'u2g'}{$_ or 0}
517 0 0 if ($hmtx) { }
526 0 0 unless defined $data->{'kern'}
543 0 0 $_[0]->data->{'kern'} ? :
547 0 0 if $i1 == 0 and $i2 == 0
555 0 0 if $self->iscff
556 0 0 if (defined $self->font->{'loca'}->read->{'glyphs'}[$g])
566 0 0 if $self->iscff
581 0 0 if ($self->iscff) { }
586 0 0 if ($self->data->{'subset'} and not $self->data->{'nosubset'})
589 0 0 if $self->subvec($i)
593 0 0 unless ($self->data->{'noembed'})