Branch Coverage

blib/lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm
Criterion Covered Total %
branch 0 188 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}
365 0 0 if (UNIVERSAL::isa($file, 'Font::TTF::Font')) { }
369 0 0 unless -f $file
374 0 0 if ref $class
381 0 0 $opts{'embed'} ? :
382 0 0 defined $font->{'CFF '} ? :
384 0 0 if $data->{'iscff'}
422 0 0 if (defined $font->{'cmap'}->find_ms) { }
447 0 0 if $font->{'OS/2'}->read->{'bProportion'} == 9
448 0 0 unless $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
449 0 0 if $font->{'OS/2'}{'bFamilyType'} == 2
451 0 0 if $font->{'OS/2'}{'bLetterform'} > 8
456 0 0 if ($data->{'issymbol'}) { }
463 0 0 if ($font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms) { }
471 0 0 unless $_
479 0 0 if ($self->iscff)
483 0 0 if (defined $data->{'cff'}{'ROS'}) { }
503 0 0 unless $_
506 0 0 if ($data->{'issymbol'})
511 0 0 unless $data->{'g2n'}[$data->{'u2g'}{$_} or 0]
513 0 0 unless $data->{'u2g'}{$_ or 0}
524 0 0 if ($hmtx) { }
533 0 0 unless defined $data->{'kern'}
550 0 0 $_[0]->data->{'kern'} ? :
554 0 0 if $i1 == 0 and $i2 == 0
562 0 0 if $self->iscff
563 0 0 if (defined $self->font->{'loca'}->read->{'glyphs'}[$g])
573 0 0 if $self->iscff
588 0 0 if ($self->iscff) { }
593 0 0 if ($self->data->{'subset'} and not $self->data->{'nosubset'})
596 0 0 if $self->subvec($i)
600 0 0 unless ($self->data->{'noembed'})