Branch Coverage

blib/lib/PDF/Builder/Resource/Font/SynFont.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
108 0 0 if (defined $opts{'-encode'})
109 0 0 if ($opts{'-encode'} =~ /^utf/i)
116 0 0 if ref $class
121 0 0 $opts{'-caps'} ? :
0 0 $opts{'-pdfname'} ? :
123 0 0 unless $self->is_obj($pdf)
146 0 0 if (ref $font->fontbbox) { }
176 0 0 if ($font->isa('PDF::Builder::Resource::CIDFont')) { }
181 0 0 if (defined $self->data->{'char'}[$w] and $self->data->{'char'}[$w] ne '.notdef')
194 0 0 if ($self->data->{'char'}[$w] eq '.notdef')
208 0 0 if $oblique
209 0 0 if $bold
212 0 0 if ($self->data->{'uni'}[$w] ne '')
237 0 0 if ($opts{'-caps'})
242 0 0 if defined $ci->{'upper'} and $ci->{'upper'}
244 0 0 if ($hasUpper)
256 0 0 if ($uni == 223) { }
0 0 elsif ($uni == 305) { }
0 0 elsif ($uni == 567) { }
277 0 0 if ($hasUpper)
284 0 0 if $space
285 0 0 if ($multiChar) { }
302 0 0 unless ($hasUpper)
307 0 0 if $cond != 1
308 0 0 if $space
338 0 0 unless defined $self->data->{'n2c'}{$self->data->{'char'}[$n] or '.notdef'}
340 0 0 unless defined $self->data->{'n2e'}{$self->data->{'e2n'}[$n] or '.notdef'}
343 0 0 unless defined $self->data->{'n2u'}{$self->data->{'e2n'}[$n] or '.notdef'}
345 0 0 unless defined $self->data->{'n2u'}{$self->data->{'char'}[$n] or '.notdef'}
348 0 0 unless defined $self->data->{'u2c'}{$self->data->{'uni'}[$n]}
350 0 0 unless defined $self->data->{'u2e'}{$self->data->{'e2u'}[$n]}
353 0 0 unless defined $self->data->{'u2n'}{$self->data->{'e2u'}[$n]}
355 0 0 unless defined $self->data->{'u2n'}{$self->data->{'uni'}[$n]}