Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
308 0 0 0 ref $dt eq 'HASH' and defined $dt->{'SID'}
411 0 0 0 $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
425 0 0 0 $font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms
475 0 0 0 $CMapfile ne '' and $opts{'-usecmf'}
481 0 0 0 $opts{'-debug'} and $CMapfile ne ''
611 0 0 0 $CMapfile ne '' and not $opts{'-usecmf'}
732 0 0 0 $self->data->{'subset'} and not $self->data->{'nosubset'}

or 2 conditions

line l !l condition
238 0 0 $data ||= {}
343 0 0 $opts{'-noembed'} || 0
364 0 0 $stretch[$font->{'OS/2'}{'usWidthClass'}] || 'Normal'
383 0 0 $opts{'-isocmap'} || 0
386 0 0 $font->{'cmap'}->find_ms->{'Platform'} == 3 && $font->{'cmap'}->read->find_ms->{'Encoding'} == 0 || 0
403 0 0 int $font->{'hhea'}->read->{'advanceWidthMax'} * 1000 / $data->{'upem'} || 1000
630 0 0 $u || 0
642 0 0 $data->{'u2g'}{$_} or 0
644 0 0 $_ or 0
692 0 0 $self->data->{'kern'}{"${i1}:$i2"} || 0

or 3 conditions

line l !l&&r !l&&!r condition
416 0 0 0 $font->{'OS/2'}{'CapHeight'} || int $data->{'fontbbox'}[3] * 0.8
417 0 0 0 $font->{'OS/2'}{'xHeight'} || int $data->{'fontbbox'}[3] * 0.4
541 0 0 0 $OS eq 'MSWin32' or $OS eq 'dos'
0 0 0 $OS eq 'MSWin32' or $OS eq 'dos' or $OS eq 'os2'
0 0 0 $OS eq 'MSWin32' or $OS eq 'dos' or $OS eq 'os2' or $OS eq 'cygwin'
638 0 0 0 $data->{'u2g'}{$_} ||= $font->{'cmap'}->read->ms_lookup($_)
639 0 0 0 $data->{'u2g'}{$_ & 255} ||= $font->{'cmap'}->read->ms_lookup($_)
655 0 0 0 int $font->{'hmtx'}->read->{'advance'}[$w] * 1000 / $data->{'upem'} || $data->{'missingwidth'}
691 0 0 0 $i1 == 0 or $i2 == 0