| line |
true |
false |
branch |
|
19
|
0 |
2 |
unless (@data == 1 and ref($data[0]) =~ /^PDF::(API2|Builder)\b/) |
|
24
|
2 |
0 |
if (not $fc or $fc->{'__PDF__'} ne $data[0]) |
|
34
|
0 |
0 |
if defined $hb |
|
46
|
3 |
1 |
if defined $f->{'_hb_checked'} |
|
48
|
0 |
1 |
if ($f->get_shaping) { } |
|
50
|
0 |
0 |
if ($f->{'font'}->can('fontfilename')) { } |
|
51
|
0 |
0 |
if (_hb_init()) |
|
77
|
0 |
1 |
if ($self->{'_width'}) |
|
79
|
0 |
0 |
if ($w < $self->{'_width'}) |
|
80
|
0 |
0 |
if ($align eq 'right') { } |
|
|
0 |
0 |
elsif ($align eq 'center') { } |
|
94
|
0 |
1 |
unless length $fragment->{'text'} |
|
99
|
0 |
1 |
unless ($font) |
|
108
|
0 |
1 |
if (_hb_font_check($f)) { } |
|
112
|
0 |
0 |
if $f->{'direction'} |
|
113
|
0 |
0 |
if $f->{'language'} |
|
120
|
0 |
0 |
if ($fragment->{'bgcolor'}) |
|
160
|
1 |
0 |
if ($t ne "") |
|
163
|
0 |
1 |
if ($font->issymbol and $font->is_standard) |
|
172
|
0 |
1 |
if ($fragment->{'bgcolor'}) |
|
196
|
0 |
1 |
unless $x > $x0 |
|
202
|
0 |
1 |
if ($fragment->{'underline'} and $fragment->{'underline'} ne "none") |
|
209
|
0 |
0 |
if ($fragment->{'underline'} eq 'double') { } |
|
218
|
0 |
1 |
if ($fragment->{'strikethrough'}) |
|
222
|
0 |
0 |
$f->{'strikeline_position'} ? : |
|
230
|
0 |
1 |
if ($fragment->{'overline'} and $fragment->{'overline'} ne "none") |
|
236
|
0 |
0 |
$f->{'overline_position'} ? : |
|
239
|
0 |
0 |
if ($fragment->{'overline'} eq 'double') { } |
|
260
|
0 |
1 |
if ($fragment->{'href'}) |
|
284
|
0 |
3 |
unless ($font) |
|
295
|
0 |
3 |
if (_hb_font_check($f)) { } |
|
|
0 |
3 |
elsif ($all and $font->can('extents')) { } |
|
298
|
0 |
0 |
if $f->{'language'} |
|
299
|
0 |
0 |
if $f->{'direction'} |
|
305
|
0 |
0 |
if ($all) { } |
|
318
|
0 |
0 |
if $e->{'width'} |
|
320
|
0 |
0 |
if not defined $yMin or $e->{'yMin'} < $yMin |
|
322
|
0 |
0 |
if not defined $yMax or $e->{'yMax'} > $yMax |
|
335
|
0 |
0 |
if $all and 0 |
|
337
|
0 |
0 |
if $all |
|
340
|
0 |
0 |
if ($all) |
|
345
|
0 |
0 |
if not defined $yMin or $e->{'yMin'} < $yMin |
|
347
|
0 |
0 |
if not defined $yMax or $e->{'yMax'} > $yMax |
|
358
|
3 |
0 |
if (not $f->get_interline) { } |
|
373
|
3 |
0 |
if $d0 < $d |
|
374
|
3 |
0 |
if $a0 > $a |
|
378
|
0 |
3 |
unless $dir eq $mydir |
|
385
|
0 |
0 |
if ($self->{'_width'} and $dir and $w < $self->{'_width'}) |
|
386
|
0 |
0 |
if ($dir eq "rtl" and !$align || $align eq 'left') |
|
391
|
0 |
0 |
if ($self->{'_width'} and $align and $w < $self->{'_width'}) |
|
393
|
0 |
0 |
if ($align eq 'right') { } |
|
|
0 |
0 |
elsif ($align eq 'center') { } |
|
396
|
0 |
0 |
if defined $xMin |
|
397
|
0 |
0 |
if defined $xMax |
|
402
|
0 |
0 |
if defined $xMin |
|
403
|
0 |
0 |
if defined $xMax |
|
407
|
0 |
3 |
defined $xMin ? : |
|
415
|
0 |
2 |
if ($fc->{$font}) |
|
420
|
0 |
2 |
if ($font =~ /\.[ot]tf$/) { } |
|
425
|
0 |
0 |
$fd->{'nosubset'} ? : |
|
436
|
0 |
2 |
unless $ff |
|
488
|
0 |
19 |
if ($self->{'-dokern'} and $self->haveKernPairs) |
|
489
|
0 |
0 |
if ($self->kernPairCid($lastglyph, $n)) |
|
495
|
0 |
19 |
unless (defined $ex and %$ex) |
|
510
|
4 |
15 |
if not defined $yMin or $e->{'yMin'} < $yMin |
|
511
|
1 |
18 |
if not defined $yMax or $e->{'yMax'} > $yMax |
|
515
|
1 |
0 |
if (defined $lastwidth) { } |