Branch Coverage

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


line true false branch
39 0 0 if defined $PDF::Builder::Resource::CIDFont::TrueType::FontFile::cmap->{$fname}
41 0 0 if ($@) { }
83 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) { }
86 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) { }
139 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) { }
169 0 0 if $v > 32767
173 0 0 if $v > 2147483647
180 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) { }
224 0 0 unless $font->{'kern'}
236 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)
302 0 0 if ($k eq 'ROS')
307 0 0 unless ref $dt eq 'HASH' and defined $dt->{'SID'}
308 0 0 if ($dt->{'SID'} >= 379)
315 0 0 if defined $data->{'topdict'}[0]{'VAL'}{$k}
331 0 0 unless -f $file
335 0 0 if ref $class
342 0 0 $opts{'-noembed'} == 1 ? :
343 0 0 defined $font->{'CFF '} ? :
345 0 0 if $data->{'iscff'}
383 0 0 if (defined $font->{'cmap'}->find_ms) { }
408 0 0 if $font->{'OS/2'}->read->{'bProportion'} == 9
410 0 0 unless $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
411 0 0 if $font->{'OS/2'}{'bFamilyType'} == 2
413 0 0 if $font->{'OS/2'}{'bLetterform'} > 8
418 0 0 if ($data->{'issymbol'}) { }
424 0 0 if ($font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms) { }
431 0 0 unless $_
439 0 0 if ($self->iscff)
443 0 0 if ($opts{'-debug'})
446 0 0 if ($data->{'issymbol'})
448 0 0 if ($opts{'-debug'})
457 0 0 if (defined $data->{'cff'}{'ROS'})
465 0 0 if ($opts{'-debug'})
466 0 0 if ($CMapfile ne '') { }
474 0 0 if ($CMapfile ne '' and $opts{'-usecmf'}) { }
480 0 0 if ($opts{'-debug'} and $CMapfile ne '')
485 0 0 if ($opts{'-debug'})
537 0 0 if ($opts{'-debug'})
540 0 0 if ($OS eq 'MSWin32' or $OS eq 'dos' or $OS eq 'os2' or $OS eq 'cygwin') { }
543 0 0 if ($opts{'-debug'})
548 0 0 if ($opts{'-debug'})
553 0 0 if (defined $opts{'-cmaps'}) { }
560 0 0 if (index($CMap, ';') < 0)
571 0 0 if ($cmap_list eq '')
577 0 0 if ($opts{'-debug'})
580 0 0 if ($cmap_list eq 'find_ms') { }
595 0 0 if ($_ eq '')
596 0 0 if (exists $cmaps{$_})
598 0 0 if ($opts{'-debug'})
608 0 0 unless ($gmap)
610 0 0 if ($CMapfile ne '' and not $opts{'-usecmf'}) { }
611 0 0 if ($opts{'-debug'})
620 0 0 unless ($gmap)
632 0 0 unless $_
636 0 0 if ($data->{'issymbol'})
641 0 0 unless $data->{'g2n'}[$data->{'u2g'}{$_} or 0]
643 0 0 unless $data->{'u2g'}{$_ or 0}
646 0 0 unless defined $data->{'u2e'}{$data->{'e2u'}[$n]}
658 0 0 unless defined $data->{'kern'}
684 0 0 $_[0]->data->{'kern'} ? :
690 0 0 if $i1 == 0 or $i2 == 0
700 0 0 if $self->iscff
701 0 0 if (defined $self->font->{'loca'}->read->{'glyphs'}[$g])
710 0 0 if $self->iscff
724 0 0 if ($self->iscff) { }
727 0 0 if ($self->data->{'noembed'} != 1)
731 0 0 if ($self->data->{'subset'} and not $self->data->{'nosubset'})
734 0 0 if $self->subvec($i)
740 0 0 if ($self->data->{'noembed'} != 1)