Branch Coverage

blib/lib/PDF/Builder/Resource/CIDFont/TrueType/FontFile.pm
Criterion Covered Total %
branch 0 242 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
174 0 0 if $v > 2147483647
181 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'}
237 0 0 if ($fmt == 0) { }
0 0 elsif ($fmt == 2) { }
244 0 0 if $val > 32767
245 0 0 $val < 0 ? :
246 0 0 if ($val != 0)
303 0 0 if ($k eq 'ROS')
308 0 0 unless ref $dt eq 'HASH' and defined $dt->{'SID'}
309 0 0 if ($dt->{'SID'} >= 379)
316 0 0 if defined $data->{'topdict'}[0]{'VAL'}{$k}
332 0 0 unless -f $file
336 0 0 if ref $class
343 0 0 ($opts{'-noembed'} || 0) == 1 ? :
344 0 0 defined $font->{'CFF '} ? :
346 0 0 if $data->{'iscff'}
384 0 0 if (defined $font->{'cmap'}->find_ms) { }
409 0 0 if $font->{'OS/2'}->read->{'bProportion'} == 9
411 0 0 unless $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
412 0 0 if $font->{'OS/2'}{'bFamilyType'} == 2
414 0 0 if $font->{'OS/2'}{'bLetterform'} > 8
419 0 0 if ($data->{'issymbol'}) { }
425 0 0 if ($font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms) { }
432 0 0 unless $_
440 0 0 if ($self->iscff)
444 0 0 if ($opts{'-debug'})
447 0 0 if ($data->{'issymbol'})
449 0 0 if ($opts{'-debug'})
458 0 0 if (defined $data->{'cff'}{'ROS'})
466 0 0 if ($opts{'-debug'})
467 0 0 if ($CMapfile ne '') { }
475 0 0 if ($CMapfile ne '' and $opts{'-usecmf'}) { }
481 0 0 if ($opts{'-debug'} and $CMapfile ne '')
486 0 0 if ($opts{'-debug'})
538 0 0 if ($opts{'-debug'})
541 0 0 if ($OS eq 'MSWin32' or $OS eq 'dos' or $OS eq 'os2' or $OS eq 'cygwin') { }
544 0 0 if ($opts{'-debug'})
549 0 0 if ($opts{'-debug'})
554 0 0 if (defined $opts{'-cmaps'}) { }
561 0 0 if (index($CMap, ';') < 0)
572 0 0 if ($cmap_list eq '')
578 0 0 if ($opts{'-debug'})
581 0 0 if ($cmap_list eq 'find_ms') { }
596 0 0 if ($_ eq '')
597 0 0 if (exists $cmaps{$_})
599 0 0 if ($opts{'-debug'})
609 0 0 unless ($gmap)
611 0 0 if ($CMapfile ne '' and not $opts{'-usecmf'}) { }
612 0 0 if ($opts{'-debug'})
621 0 0 unless ($gmap)
633 0 0 unless $_
637 0 0 if ($data->{'issymbol'})
642 0 0 unless $data->{'g2n'}[$data->{'u2g'}{$_} or 0]
644 0 0 unless $data->{'u2g'}{$_ or 0}
647 0 0 unless defined $data->{'u2e'}{$data->{'e2u'}[$n]}
659 0 0 unless defined $data->{'kern'}
685 0 0 $_[0]->data->{'kern'} ? :
691 0 0 if $i1 == 0 or $i2 == 0
701 0 0 if $self->iscff
702 0 0 if (defined $self->font->{'loca'}->read->{'glyphs'}[$g])
711 0 0 if $self->iscff
725 0 0 if ($self->iscff) { }
728 0 0 if ($self->data->{'noembed'} != 1)
732 0 0 if ($self->data->{'subset'} and not $self->data->{'nosubset'})
735 0 0 if $self->subvec($i)
741 0 0 if ($self->data->{'noembed'} != 1)