Branch Coverage

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


line true false branch
40 0 0 if defined $PDF::Builder::Resource::CIDFont::TrueType::FontFile::cmap->{$fname}
42 0 0 if ($@) { }
84 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) { }
87 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) { }
140 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) { }
170 0 0 if $v > 32767
175 0 0 if $v > 2147483647
183 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) { }
225 0 0 unless $font->{'kern'}
235 0 0 if ($fmt == 0) { }
0 0 elsif ($fmt == 2) { }
243 0 0 if $val > 32767
244 0 0 $val < 0 ? :
245 0 0 if ($val != 0)
305 0 0 if ($k eq "ROS")
310 0 0 unless ref $dt eq "HASH" and defined $dt->{'SID'}
311 0 0 if ($dt->{'SID'} >= 379)
318 0 0 if defined $data->{'topdict'}[0]{'VAL'}{$k}
326 0 0 if (defined $opts{'-noembed'} and not defined $opts{'noembed'})
327 0 0 if (defined $opts{'-isocmap'} and not defined $opts{'isocmap'})
328 0 0 if (defined $opts{'-debug'} and not defined $opts{'debug'})
329 0 0 if (defined $opts{'-cmaps'} and not defined $opts{'cmaps'})
330 0 0 if (defined $opts{'-usecmf'} and not defined $opts{'usecmf'})
340 0 0 unless -f $file
344 0 0 if ref $class
351 0 0 ($opts{'noembed'} || 0) == 1 ? :
352 0 0 defined $font->{'CFF '} ? :
354 0 0 if $data->{'iscff'}
393 0 0 if (defined $font->{'cmap'}->find_ms) { }
418 0 0 if $font->{'OS/2'}->read->{'bProportion'} == 9
420 0 0 unless $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
421 0 0 if $font->{'OS/2'}{'bFamilyType'} == 2
423 0 0 if $font->{'OS/2'}{'bLetterform'} > 8
428 0 0 if ($data->{'issymbol'}) { }
434 0 0 if ($font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms) { }
441 0 0 unless $_
449 0 0 if ($self->iscff)
453 0 0 if ($opts{'debug'})
456 0 0 if ($data->{'issymbol'})
458 0 0 if ($opts{'debug'})
467 0 0 if (defined $data->{'cff'}{'ROS'})
475 0 0 if ($opts{'debug'})
476 0 0 if ($CMapfile ne '') { }
484 0 0 if ($CMapfile ne '' and $opts{'usecmf'}) { }
490 0 0 if ($opts{'debug'} and $CMapfile ne "")
495 0 0 if ($opts{'debug'})
547 0 0 if ($opts{'debug'})
550 0 0 if ($OS eq 'MSWin32' or $OS eq 'dos' or $OS eq 'os2' or $OS eq 'cygwin') { }
553 0 0 if ($opts{'debug'})
558 0 0 if ($opts{'debug'})
563 0 0 if (defined $opts{'cmaps'}) { }
570 0 0 if (index($CMap, ";") < 0)
581 0 0 if ($cmap_list eq "")
587 0 0 if ($opts{'debug'})
590 0 0 if ($cmap_list eq 'find_ms') { }
605 0 0 if ($_ eq "")
606 0 0 if (exists $cmaps{$_})
608 0 0 if ($opts{'debug'})
618 0 0 unless ($gmap)
620 0 0 if ($CMapfile ne '' and not $opts{'usecmf'}) { }
621 0 0 if ($opts{'debug'})
630 0 0 unless ($gmap)
642 0 0 unless $_
646 0 0 if ($data->{'issymbol'})
651 0 0 unless $data->{'g2n'}[$data->{'u2g'}{$_} or 0]
653 0 0 unless $data->{'u2g'}{$_ or 0}
656 0 0 unless defined $data->{'u2e'}{$data->{'e2u'}[$n]}
664 0 0 if ($hmtx) { }
672 0 0 unless defined $data->{'kern'}
698 0 0 $_[0]->data->{'kern'} ? :
704 0 0 if $i1 == 0 or $i2 == 0
714 0 0 if $self->iscff
720 0 0 unless defined $self->font->{'loca'}
721 0 0 if (defined $self->font->{'loca'}->read->{'glyphs'}[$g])
730 0 0 if $self->iscff
745 0 0 if ($self->iscff) { }
748 0 0 if ($self->data->{'noembed'} != 1)
752 0 0 if ($self->data->{'subset'} and not $self->data->{'nosubset'})
754 0 0 if (defined $f->{'glyf'})
757 0 0 if $self->subvec($i)
763 0 0 if ($self->data->{'noembed'} != 1)