| line |
true |
false |
branch |
|
49
|
0 |
144 |
if $tag ne "" |
|
68
|
0 |
40 |
if $main::config->{'debug'}{'pages'} & 1 |
|
72
|
40 |
0 |
if ($pr->{'layout'}->can("register_element")) |
|
79
|
0 |
40 |
unless ($s->{'body'}) |
|
80
|
0 |
0 |
unless $s->{'source'}{'embedding'} |
|
81
|
0 |
0 |
unless $s->{'source'}{'embedding'} eq "pdf" |
|
87
|
0 |
0 |
if ($s->{'meta'}{'title'}[0] eq $s->{'source'}{'file'} and $p->{'Title'}) |
|
96
|
0 |
0 |
unless ($pr->{'layout'}->can("register_shortcode")) |
|
121
|
0 |
40 |
if $structured |
|
127
|
0 |
40 |
if ($main::config->{'instrument'}{'type'} eq 'keyboard') { } |
|
138
|
0 |
40 |
if defined $s->{'settings'}{'diagrampos'} |
|
155
|
400 |
0 |
unless $_ |
|
159
|
0 |
0 |
if (m[/]u) { } |
|
|
0 |
0 |
elsif (is_corefont($_)) { } |
|
168
|
0 |
0 |
unless $pr->init_font($item) |
|
171
|
400 |
0 |
unless $_ |
|
175
|
0 |
40 |
if $fail |
|
177
|
0 |
40 |
if ($ps->{'labels'}{'comment'}) { } |
|
|
40 |
0 |
elsif ($ps->{'labels'}{'width'} eq 'auto') { } |
|
181
|
0 |
40 |
if ($s->{'labels'} and @{$s->{'labels'};}) { } |
|
190
|
0 |
0 |
if $t > $longest |
|
217
|
40 |
0 |
if (defined $st and not $ps->{'titles-directive-ignore'}) |
|
223
|
0 |
0 |
unless defined $ps->{'formats'}{$class}{$_} |
|
224
|
0 |
0 |
unless (is_arrayref($ps->{'formats'}{$class}{$_})) |
|
228
|
0 |
0 |
unless (is_arrayref($ps->{'formats'}{$class}{$_}[0])) |
|
240
|
0 |
40 |
if ($st eq "left") |
|
243
|
0 |
40 |
if ($st eq "right") |
|
250
|
0 |
0 |
if ($value =~ /^(.+)\%$/u) { } |
|
267
|
40 |
0 |
if ($ps->{'columns'} <= 1) |
|
274
|
0 |
40 |
if $main::config->{'debug'}{'spacing'} |
|
283
|
0 |
0 |
if $col < $ps->{'columns'} - 1 |
|
291
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
293
|
0 |
0 |
if defined $spreadimage and not ref $spreadimage |
|
308
|
16 |
24 |
$opts->{'roman'} ? : |
|
311
|
16 |
24 |
$opts->{'prepend'} ? : |
|
313
|
0 |
40 |
if $main::config->{'debug'}{'pages'} & 1 |
|
320
|
30 |
10 |
if ($pagectrl->{'dual_pages'}) |
|
327
|
36 |
4 |
if ($rightpage) { } |
|
352
|
15 |
25 |
if ($page_num == 1) { } |
|
|
25 |
0 |
elsif ($page_num == $startpage) { } |
|
363
|
0 |
40 |
if ($bgpdf) |
|
365
|
0 |
0 |
if ($bgpdf =~ /^(.+):(\d+)$/u) |
|
369
|
0 |
0 |
if ($fn and fs_test('rs', $fn)) { } |
|
370
|
0 |
0 |
if $pagectrl->{'dual_pages'} and not $rightpage |
|
381
|
0 |
40 |
if $ps->{'head-first-only'} and $class == 2 |
|
406
|
144 |
0 |
if $vsp >= 0 and $y - $vsp >= $ps->{'_bottommargin'} |
|
408
|
0 |
0 |
if (++$col >= $ps->{'columns'}) |
|
418
|
0 |
40 |
if $lyrics_only or not $dctl->{'show'} |
|
421
|
40 |
0 |
if not defined $chords and $s->{'chords'} |
|
423
|
40 |
0 |
if ($chords) |
|
425
|
48 |
0 |
if (my $i = $s->{'chordsinfo'}{$_}) { } |
|
426
|
48 |
0 |
if $i->has_diagram |
|
433
|
16 |
24 |
unless @chords |
|
437
|
7 |
17 |
if ($page_num == 1) { } |
|
|
17 |
0 |
elsif ($page_num == $startpage) { } |
|
444
|
0 |
24 |
if $main::config->{'debug'}{'pages'} & 1 |
|
448
|
0 |
24 |
if ($show eq 'right' and $class <= 1) { } |
|
|
24 |
0 |
elsif ($show eq 'top' || $show eq 'bottom' and $class <= 1 and $col == 0) { } |
|
|
0 |
0 |
elsif ($show eq 'below') { } |
|
470
|
0 |
0 |
unless @chords |
|
490
|
0 |
24 |
unless $h > 0 |
|
493
|
0 |
24 |
if ($dctl->{'align'} eq "center") |
|
499
|
24 |
0 |
if ($show eq "bottom") |
|
509
|
0 |
24 |
if $main::config->{'debug'}{'spacing'} |
|
511
|
0 |
24 |
if ($dctl->{'align'} eq 'spread' and @chords == $h0) { } |
|
|
0 |
24 |
elsif ($dctl->{'align'} =~ /center|right|spread/u) { } |
|
517
|
0 |
0 |
if $dctl->{'align'} ne "right" |
|
522
|
24 |
48 |
unless @chords |
|
528
|
0 |
24 |
if $main::config->{'debug'}{'spacing'} |
|
530
|
0 |
24 |
if $show eq "top" |
|
542
|
0 |
0 |
unless $h > 0 |
|
545
|
0 |
0 |
if ($dctl->{'align'} eq "center") |
|
554
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
556
|
0 |
0 |
if ($dctl->{'align'} eq 'spread' and @chords == $h0) { } |
|
|
0 |
0 |
elsif ($dctl->{'align'} =~ /center|right|spread/u) { } |
|
562
|
0 |
0 |
if $dctl->{'align'} ne "right" |
|
567
|
0 |
0 |
unless @chords |
|
573
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
576
|
0 |
24 |
if $show eq "top" |
|
583
|
0 |
0 |
unless is_arrayref($elts) |
|
586
|
0 |
0 |
$pb ? : |
|
587
|
0 |
0 |
if $elt->{'subtype'} |
|
588
|
0 |
0 |
if $elt->{'uri'} |
|
589
|
0 |
0 |
if $elt->{'orig'} |
|
590
|
0 |
0 |
if $elt->{'delegate'} |
|
591
|
0 |
0 |
if $elt->{'handler'} |
|
594
|
0 |
0 |
if ($main::config->{'debug'}{'ops'} > 1) { } |
|
598
|
0 |
0 |
$self->format ? : |
|
626
|
0 |
40 |
if $source->{'file'} and $main::options->{'debug'} || $main::config->{'debug'}{'runtimeinfo'} && $ChordPro::VERSION =~ /_/u |
|
641
|
0 |
160 |
if ($main::config->{'debug'}{'ops'}) |
|
645
|
0 |
160 |
if ($elt->{'type'} eq "newpage") |
|
647
|
0 |
0 |
if $ps->{'showlayout'} or $main::config->{'debug'}{'spacing'} |
|
651
|
0 |
160 |
if ($elt->{'type'} eq "colb") |
|
656
|
40 |
120 |
if ($elt->{'type'} ne "set" and not $did++) |
|
658
|
40 |
0 |
unless $dctl->{'show'} eq "below" |
|
664
|
0 |
40 |
if ($spreadimage) |
|
665
|
0 |
0 |
if (ref $spreadimage eq "HASH") |
|
672
|
0 |
40 |
if $ps->{'showlayout'} or $main::config->{'debug'}{'spacing'} |
|
675
|
40 |
120 |
if ($elt->{'type'} eq "empty") |
|
678
|
0 |
40 |
if $s->{'structure'} eq "structured" |
|
679
|
24 |
16 |
if ($vsp_ignorefirst) |
|
680
|
24 |
0 |
if (@elts and not $elts[0]{'type'} =~ /empty|ignore/u) |
|
685
|
0 |
16 |
if $main::config->{'debug'}{'spacing'} |
|
688
|
0 |
16 |
if $main::config->{'debug'}{'spacing'} |
|
692
|
120 |
0 |
unless ($elt->{'type'} =~ /^(?:control|set|ignore)$/u) |
|
696
|
0 |
48 |
if ($elt->{'type'} eq "songline" or $elt->{'type'} eq "tabline" or $elt->{'type'} =~ /^comment(?:_box|_italic)?$/u) |
|
700
|
0 |
72 |
if ($elt->{'context'} ne $curctx) |
|
708
|
72 |
0 |
if ($type eq 'songline') { } |
|
|
0 |
0 |
elsif ($type =~ /^comment/u) { } |
|
|
0 |
0 |
elsif ($type eq 'tabline') { } |
|
709
|
0 |
72 |
$curctx eq 'chorus' ? : |
|
720
|
72 |
0 |
if ($elt->{'type'} eq "songline" and not $elt->{'indent'}) |
|
722
|
0 |
72 |
if (@$e > 1) |
|
732
|
0 |
72 |
if $main::config->{'debug'}{'spacing'} |
|
738
|
0 |
72 |
if ($elt->{'context'} eq "chorus") |
|
741
|
0 |
0 |
if ($style->{'bar'}{'offset'} and $style->{'bar'}{'width'}) |
|
750
|
0 |
0 |
unless $main::config->{'settings'}{'choruslabels'} |
|
754
|
0 |
72 |
if ($elt->{'type'} =~ /^comment/u and not $elt->{'indent'}) |
|
757
|
0 |
0 |
if ($elt->{'chords'}) |
|
803
|
0 |
72 |
if $main::config->{'debug'}{'spacing'} |
|
805
|
0 |
72 |
if $r |
|
809
|
0 |
48 |
if ($elt->{'type'} eq "chorus") |
|
813
|
0 |
0 |
if ($e->{'type'} eq 'songline') { } |
|
|
0 |
0 |
elsif ($e->{'type'} eq 'empty') { } |
|
830
|
0 |
48 |
if ($elt->{'type'} eq "verse") |
|
833
|
0 |
0 |
if ($e->{'type'} eq 'songline') { } |
|
|
0 |
0 |
elsif ($e->{'type'} eq 'empty') { } |
|
850
|
0 |
48 |
if ($elt->{'type'} eq "gridline" or $elt->{'type'} eq "strumline") |
|
852
|
0 |
0 |
if $lyrics_only or not $ps->{'grids'}{'show'} |
|
856
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
868
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
881
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
886
|
0 |
48 |
if ($elt->{'type'} eq "tab") |
|
891
|
0 |
0 |
unless $e->{'type'} eq "tabline" |
|
898
|
0 |
48 |
if ($elt->{'type'} eq "tabline") |
|
902
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
907
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
912
|
0 |
48 |
if ($elt->{'type'} eq "image") |
|
913
|
0 |
0 |
if defined $elt->{'opts'}{'spread'} |
|
914
|
0 |
0 |
if $elt->{'opts'}{'omit'} |
|
923
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
924
|
0 |
0 |
wantarray ? : |
|
930
|
0 |
0 |
unless ($vsp =~ /^\d/u) |
|
939
|
0 |
0 |
if $main::config->{'debug'}{'spacing'} |
|
941
|
0 |
0 |
if ($elt->{'multi'} and not $elt->{'msel'}) |
|
951
|
0 |
48 |
if ($elt->{'type'} eq "rechorus") |
|
953
|
0 |
0 |
unless ($t->{'type'} =~ /^comment(?:_italic|_box)?$/u) |
|
957
|
0 |
0 |
if ($t->{'quote'} and $elt->{'chorus'}) { } |
|
|
0 |
0 |
elsif ($elt->{'chorus'} and $elt->{'chorus'}[0]{'type'} eq 'set' and $elt->{'chorus'}[0]{'name'} eq 'label') { } |
|
|
0 |
0 |
elsif ($t->{'tag'} and $t->{'type'} =~ /^comment(?:_(?:box|italic))?/u) { } |
|
964
|
0 |
0 |
if ($main::config->{'settings'}{'choruslabels'}) { } |
|
971
|
0 |
0 |
if $ps->{'chorus'}{'recall'}{'tag'} ne "" |
|
986
|
0 |
0 |
if ($ps->{'chorus'}{'recall'}{'choruslike'}) |
|
995
|
0 |
0 |
if ($ps->{'chorus'}{'recall'}{'choruslike'}) |
|
1002
|
48 |
0 |
if ($elt->{'type'} eq "tocline") |
|
1006
|
0 |
48 |
if $main::config->{'debug'}{'spacing'} |
|
1009
|
0 |
48 |
if $main::config->{'debug'}{'spacing'} |
|
1013
|
0 |
0 |
if ($elt->{'type'} eq "diagrams") |
|
1018
|
0 |
0 |
if ($elt->{'type'} eq "control") |
|
1019
|
0 |
0 |
if ($elt->{'name'} =~ /^($propitems_re)-size$/u) { } |
|
|
0 |
0 |
elsif ($elt->{'name'} =~ /^($propitems_re)-font$/u) { } |
|
|
0 |
0 |
elsif ($elt->{'name'} =~ /^($propitems_re)-color$/u) { } |
|
1020
|
0 |
0 |
if (defined $elt->{'value'}) { } |
|
1028
|
0 |
0 |
unless $ps->{'fonts'}{$1}{'size'} |
|
1033
|
0 |
0 |
if (defined $elt->{'value'}) { } |
|
1036
|
0 |
0 |
if ($fn =~ m[/]u or $fn =~ /\.(ttf|otf)$/iu) { } |
|
|
0 |
0 |
elsif (is_corefont($fn)) { } |
|
1066
|
0 |
0 |
if (defined $elt->{'value'}) { } |
|
1078
|
0 |
0 |
if ($elt->{'type'} eq "set") |
|
1079
|
0 |
0 |
if ($elt->{'name'} eq 'lyrics-only') { } |
|
|
0 |
0 |
elsif ($elt->{'name'} eq 'gridparams') { } |
|
|
0 |
0 |
elsif ($elt->{'name'} eq 'label') { } |
|
|
0 |
0 |
elsif ($elt->{'name'} eq 'context') { } |
|
|
0 |
0 |
elsif ($elt->{'name'} =~ /^pdf\.(.+)/u) { } |
|
1081
|
0 |
0 |
unless $lyrics_only > 1 |
|
1088
|
0 |
0 |
if ($v[1]) { } |
|
1095
|
0 |
0 |
if $v[2] |
|
1096
|
0 |
0 |
if $v[3] |
|
1098
|
0 |
0 |
if ($ps->{'labels'}{'comment'} and $v[4] ne "") |
|
1105
|
0 |
0 |
unless $lyrics_only |
|
1108
|
0 |
0 |
if $elt->{'context'} eq "grid" and $lyrics_only |
|
1109
|
0 |
0 |
if ($ps->{'labels'}{'comment'} and $elt->{'value'} ne "") |
|
1127
|
0 |
0 |
if ($elt->{'type'} eq "ignore") |
|
1137
|
0 |
40 |
if ($dctl->{'show'} eq "below") |
|
1145
|
0 |
0 |
if $pagectrl->{'align_songs_extend'} and $pages % 2 and $opts->{'songindex'} < $opts->{'numsongs'} || $opts->{'forcealign'} |
|
1157
|
0 |
40 |
if $main::config->{'debug'}{'pages'} & 1 |
|
1165
|
30 |
10 |
if ($pagectrl->{'dual_pages'}) |
|
1168
|
36 |
4 |
$rightpage ? : |
|
1172
|
36 |
4 |
if ($rightpage) { } |
|
1197
|
16 |
24 |
$opts->{'roman'} ? : |
|
1201
|
15 |
25 |
if ($page_num == 1) { } |
|
|
25 |
0 |
elsif ($page_num == $startpage) { } |
|
1212
|
0 |
40 |
if $main::config->{'debug'}{'pages'} & 1 |
|
1218
|
40 |
0 |
if ($ps->{'headspace'}) |
|
1220
|
0 |
40 |
if $main::config->{'debug'}{'meta'} |
|
1227
|
40 |
0 |
if ($ps->{'footspace'}) |
|
1242
|
0 |
0 |
if $label eq "" or $ps->{'_indent'} == 0 |
|
1252
|
0 |
0 |
if ($align eq 'right') { } |
|
|
0 |
0 |
elsif ($align =~ /^cent(?:er|re)$/u) { } |
|
1280
|
2 |
386 |
if (@stack) |
|
1286
|
3 |
350 |
if ($a =~ m[^<\s*/\s*(\w+)(.*)>$]u) { } |
|
|
6 |
344 |
elsif ($a =~ /^<\s*(\w+)(.*)>$/u) { } |
|
1290
|
3 |
0 |
if (@stack) { } |
|
1291
|
3 |
0 |
if ($stack[-1] =~ /^<\s*$k\b/u) { } |
|
1310
|
6 |
0 |
unless $v =~ m[/\s*$]u |
|
1314
|
2 |
386 |
if (@stack) |
|
1321
|
0 |
194 |
if (@stack) |
|
1375
|
0 |
72 |
if ($type =~ /^comment/u) |
|
1379
|
0 |
0 |
if $opts{'indent'} |
|
1380
|
0 |
0 |
if $elt->{'indent'} |
|
1383
|
0 |
0 |
if ($elt->{'chords'}) |
|
1388
|
0 |
0 |
if ($chord eq '') { } |
|
1399
|
0 |
0 |
$ex ne '' ? : |
|
1405
|
0 |
72 |
if ($type eq "tabline") |
|
1408
|
0 |
0 |
if $opts{'indent'} |
|
1415
|
0 |
72 |
$elt->{'context'} eq 'chorus' ? : |
|
1422
|
0 |
72 |
if ($lyrics_only or $suppress_empty_chordsline and not has_visible_chords($elt)) |
|
1427
|
0 |
0 |
if $opts{'indent'} |
|
1428
|
0 |
0 |
if $elt->{'indent'} |
|
1434
|
0 |
0 |
$ex ne '' ? : |
|
1441
|
0 |
72 |
if ($chordscol or $inlinechords) { } |
|
|
0 |
72 |
elsif ($chordsunder) { } |
|
1442
|
0 |
0 |
if $ytext > $ychord |
|
1458
|
0 |
72 |
if $elt->{'indent'} |
|
1461
|
0 |
72 |
if $chordscol |
|
1462
|
0 |
72 |
if ($chordsx < 0) |
|
1465
|
0 |
72 |
if $opts{'indent'} |
|
1468
|
0 |
72 |
if ($inlinechords) |
|
1469
|
0 |
0 |
unless $inlinechords =~ /%[cs]/u |
|
1480
|
0 |
144 |
if ($chordscol and $chord ne '') { } |
|
1482
|
0 |
0 |
if ($chordscapo) |
|
1493
|
0 |
0 |
if $phrase eq "" |
|
1499
|
0 |
0 |
unless ($i == $n or defined $rest and not $rest =~ /^\
|
|
1515
|
144 |
0 |
if ($chord ne "") |
|
1518
|
0 |
144 |
if ($chord->info->is_annotation) { } |
|
|
0 |
144 |
elsif ($inlinechords) { } |
|
1520
|
0 |
0 |
if $inlinechords |
|
1531
|
0 |
144 |
if ($inlinechords) { } |
|
1536
|
0 |
144 |
if ($phrase =~ /^\s+$/u) { } |
|
1543
|
0 |
144 |
if ($xt0 > $xt1) { } |
|
1545
|
0 |
0 |
if ($i < $n and not demarkup($phrase) =~ /\s$/u and not demarkup($phrases[$i + 1]) =~ /^\s/u and my $marker = $ps->{'split-marker'}) |
|
1555
|
0 |
0 |
unless is_arrayref($marker) |
|
1561
|
0 |
0 |
if $marker->[2] |
|
1566
|
0 |
0 |
unless $m |
|
1571
|
0 |
0 |
unless $m |
|
1574
|
0 |
0 |
if ($w) |
|
1579
|
0 |
0 |
if $xt0 > $x |
|
1590
|
0 |
72 |
if @chords |
|
1607
|
0 |
0 |
unless ($asset) |
|
1615
|
0 |
0 |
if ($anchor eq "allpages") |
|
1626
|
0 |
0 |
unless ($img) |
|
1629
|
0 |
0 |
if ($assets->{$id}{'multi'}) |
|
1632
|
0 |
0 |
if ($elt->{'msel'}) |
|
1645
|
0 |
0 |
if ($anchor eq 'paper') { } |
|
1649
|
0 |
0 |
if ($ps->{'columns'} > 1) { } |
|
1660
|
0 |
0 |
if $anchor eq "float" |
|
1663
|
0 |
0 |
if ($width and $width =~ /^(\d+(?:\.\d+)?)\%$/u) |
|
1666
|
0 |
0 |
if ($height and $height =~ /^(\d+(?:\.\d+)?)\%$/u) |
|
1674
|
0 |
0 |
if ($width and not $height) { } |
|
|
0 |
0 |
elsif (not $width and $height) { } |
|
1681
|
0 |
0 |
if ($w > $pw) |
|
1684
|
0 |
0 |
if ($h * $scalex > $ph) |
|
1688
|
0 |
0 |
if ($opts->{'scale'}) |
|
1690
|
0 |
0 |
if (is_arrayref($opts->{'scale'})) { } |
|
1695
|
0 |
0 |
if /^([\d.]+)\%$/u |
|
1698
|
0 |
0 |
unless @s > 1 |
|
1699
|
0 |
0 |
unless @s == 2 |
|
1707
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
1715
|
0 |
0 |
if ($w >= $pw) |
|
1723
|
0 |
0 |
if (defined $oy and $oy =~ /base([-+].*)/u) |
|
1725
|
0 |
0 |
if $opts->{'base'} |
|
1729
|
0 |
0 |
if ($anchor eq "float") |
|
1731
|
0 |
0 |
$opts->{'center'} // 1 ? : |
|
1733
|
0 |
0 |
if ($align eq 'center') { } |
|
|
0 |
0 |
elsif ($align eq 'right') { } |
|
1739
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
1747
|
0 |
0 |
$w < $w_actual ? : |
|
1749
|
0 |
0 |
$anchor eq 'float' ? : |
|
1751
|
0 |
0 |
if (not $spaceok and $xtrascale < 1) |
|
1753
|
0 |
0 |
$anchor eq 'float' ? : |
|
1756
|
0 |
0 |
unless abs $xtrascale - 1 < "0.01" |
|
1759
|
0 |
0 |
if (defined(my $tag = $i_tag // $label)) |
|
1773
|
0 |
0 |
if ($_ox =~ /^([-+]?[\d.]+)\%$/u) |
|
1776
|
0 |
0 |
if ($_oy =~ /^([-+]?[\d.]+)\%$/u) |
|
1779
|
0 |
0 |
if ($mirror) |
|
1780
|
0 |
0 |
if $_ox =~ /^-/u |
|
1781
|
0 |
0 |
if $_oy =~ /^-/u |
|
1785
|
0 |
0 |
if ($anchor eq 'column') { } |
|
|
0 |
0 |
elsif ($anchor eq 'page') { } |
|
|
0 |
0 |
elsif ($anchor eq 'paper') { } |
|
1811
|
0 |
0 |
if defined $ox |
|
1812
|
0 |
0 |
if defined $oy |
|
1820
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
1833
|
0 |
0 |
if ($allpages) |
|
1847
|
0 |
0 |
if ($anchor eq "float") |
|
1859
|
0 |
0 |
unless exists $$assets{$si->{'id'}} |
|
1862
|
0 |
0 |
unless $img |
|
1877
|
0 |
0 |
if ($w > $pw) |
|
1880
|
0 |
0 |
if ($h * $scalex > $ph) |
|
1885
|
0 |
0 |
if ($opts->{'scale'}) |
|
1887
|
0 |
0 |
if (is_arrayref($opts->{'scale'})) { } |
|
1892
|
0 |
0 |
if /^([\d.]+)\%$/u |
|
1895
|
0 |
0 |
unless @s > 1 |
|
1896
|
0 |
0 |
unless @s == 2 |
|
1903
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
1908
|
0 |
0 |
$opts->{'center'} // 1 ? : |
|
1910
|
0 |
0 |
if ($align eq 'center') { } |
|
|
0 |
0 |
elsif ($align eq 'right') { } |
|
1916
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
1918
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
1958
|
0 |
0 |
unless join($", @_) =~ /Unclosed markup/u |
|
1963
|
48 |
0 |
unless ($vsp) |
|
1967
|
0 |
48 |
if $ex ne "" |
|
1970
|
0 |
48 |
if ($ex ne "") |
|
1979
|
0 |
48 |
if ($elt->{'break'}) |
|
1988
|
48 |
0 |
if ($elt->{'page'}) |
|
1999
|
144 |
0 |
if ($elt->{'chords'}) |
|
2001
|
288 |
0 |
if defined $_ |
|
2011
|
0 |
0 |
if $elt->{'phrases'} |
|
2020
|
0 |
72 |
if ($elt->{'type'} =~ /^comment/u) |
|
2024
|
0 |
72 |
if ($elt->{'type'} eq "tabline") |
|
2034
|
0 |
72 |
if $lyrics_only or $chordscol |
|
2036
|
0 |
72 |
if $suppress_empty_chordsline and not has_visible_chords($elt) |
|
2039
|
0 |
72 |
if $suppress_empty_lyricsline and not join("", @{$elt->{'phrases'};}) =~ /\S/u |
|
2041
|
0 |
72 |
if ($inlinechords) { } |
|
2042
|
0 |
0 |
if $csp > $vsp |
|
2058
|
0 |
232 |
unless $font->{'size'} |
|
2069
|
0 |
96 |
if $_[0]{'break'} |
|
2080
|
0 |
72 |
$elt->{'context'} eq 'chorus' ? : |
|
2092
|
0 |
0 |
if ($msg and $elt->{'line'}) |
|
2100
|
0 |
72 |
$elt->{'context'} eq 'chorus' ? : |
|
2106
|
0 |
40 |
if (is_arrayref($cols)) |
|
2110
|
40 |
0 |
if ($cols) { } |
|
2121
|
0 |
40 |
if (@cols) |
|
2125
|
0 |
0 |
if (not $_ or $_ eq '*') { } |
|
|
0 |
0 |
elsif (/^(\d+)%$/u) { } |
|
2135
|
0 |
0 |
if $stars |
|
2138
|
0 |
0 |
if (not $_ or $_ eq '*') { } |
|
2150
|
40 |
0 |
unless $cols > 1 |
|
2221
|
0 |
0 |
if (defined $spreadimage and not ref $spreadimage) |
|
2244
|
0 |
0 |
if $chordscol |
|
2250
|
0 |
0 |
unless $off[$i] |
|
2259
|
0 |
0 |
if ($ps->{'_indent'}) |
|
2264
|
0 |
0 |
if ($ps->{'_indent'}) |
|
2277
|
0 |
150 |
if $class eq "filler" |
|
2280
|
0 |
150 |
if (not $rightpage and exists $ps->{'formats'}{$class . '-even'}{$type}) { } |
|
|
120 |
30 |
elsif (exists $ps->{'formats'}{$class}{$type}) { } |
|
2288
|
30 |
120 |
unless $fmt |
|
2291
|
0 |
120 |
if @$fmt == 3 and not is_arrayref($fmt->[0]) |
|
2294
|
12 |
108 |
if ($swap) |
|
2299
|
0 |
120 |
if ($main::config->{'debug'}{'pages'} & 2) |
|
2303
|
0 |
0 |
$rightpage ? : |
|
|
0 |
0 |
$swap ? : |
|
2305
|
120 |
0 |
if $fmt |
|
2315
|
0 |
120 |
unless $fmt |
|
2319
|
0 |
120 |
if $main::config->{'debug'}{'pages'} & 1 |
|
2328
|
0 |
120 |
if (@$fmt % 3) |
|
2333
|
4 |
116 |
if ($fmt->[0]) |
|
2335
|
4 |
0 |
if ($t ne "") |
|
2336
|
4 |
0 |
unless $havefont++ |
|
2342
|
80 |
40 |
if ($fmt->[1]) |
|
2344
|
40 |
40 |
if ($t ne "") |
|
2345
|
40 |
0 |
unless $havefont++ |
|
2351
|
21 |
99 |
if ($fmt->[2]) |
|
2353
|
21 |
0 |
if ($t ne "") |
|
2354
|
21 |
0 |
unless $havefont++ |
|
2384
|
72 |
72 |
if (@rchords and $chord) |
|
2388
|
0 |
72 |
if ($c =~ /^\*(.+)/u) { } |
|
2396
|
0 |
72 |
if ($w > $m - $x) |
|
2402
|
144 |
0 |
if ($ex eq "") |
|
2411
|
0 |
144 |
if ($w > $m - $x and @rchords > 1) { } |
|
2422
|
0 |
144 |
if ($ex ne "") |
|
2423
|
0 |
0 |
if ($rphrases[-1] =~ /[[:alpha:]]$/u and $ex =~ /^[[:alpha:]]/u and $chord ne "") |
|
2433
|
0 |
0 |
if @$res > 1 |
|
2439
|
0 |
72 |
if @$res > 1 |
|
2445
|
0 |
0 |
unless length $text |
|
2458
|
0 |
40 |
if $main::config->{'debug'}{'images'} or $main::config->{'debug'}{'assets'} |
|
2465
|
0 |
40 |
if $main::config->{'debug'}{'images'} or $main::config->{'debug'}{'assets'} |
|
2468
|
0 |
40 |
if $main::config->{'debug'}{'assets'} & 2 |
|
2491
|
0 |
0 |
if UNIVERSAL::can($elt->{'data'}, "width") |
|
2493
|
0 |
0 |
if $elt->{'uri'} |
|
2495
|
0 |
0 |
if ($elt->{'type'} eq "image" and $elt->{'subtype'} eq "delegate") |
|
2500
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2504
|
0 |
0 |
unless eval "require $pkg" |
|
2507
|
0 |
0 |
unless ($elt->{'data'}) |
|
2512
|
0 |
0 |
defined $elt->{'opts'}{'spread'} ? : |
|
2514
|
0 |
0 |
if $elt->{'opts'}{'width'} and $elt->{'opts'}{'width'} < $w |
|
2517
|
0 |
0 |
if ($res) { } |
|
2526
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2540
|
0 |
0 |
if ($res and $res->{'type'} eq 'image') { } |
|
2549
|
0 |
0 |
if ($elt->{'type'} eq "image" and $elt->{'subtype'} eq "svg") |
|
2550
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2557
|
0 |
0 |
!($elt->{'opts'}{'split'} // 1) || $elt->{'opts'}{'id'} || defined $elt->{'opts'}{'spread'} ? : |
|
2571
|
0 |
0 |
$data ? : |
|
2576
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2577
|
0 |
0 |
unless (@$o) |
|
2596
|
0 |
0 |
if (@$o > 1) |
|
2606
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2610
|
0 |
0 |
if ($elt->{'type'} eq "image" and $elt->{'subtype'} eq "xform") |
|
2615
|
0 |
0 |
if ($elt->{'type'} eq "image") |
|
2616
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2617
|
0 |
0 |
if (($elt->{'uri'} // '') =~ /^chord:(.+)/u) { } |
|
2624
|
0 |
0 |
unless $def->{'name'} eq $chord |
|
2628
|
0 |
0 |
if ($info) { } |
|
2650
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2653
|
0 |
0 |
if ($elt->{'uri'} and not $elt->{'data'}) |
|
2656
|
0 |
0 |
$elt->{'data'} ? : |
|
2659
|
0 |
0 |
if $subtype eq "jpeg" |
|
2674
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2680
|
0 |
0 |
if ($elt->{'type'} eq "image" and $elt->{'opts'}{'spread'}) |
|
2681
|
0 |
0 |
if ($s->{'spreadimage'}) { } |
|
2687
|
0 |
0 |
if $main::config->{'debug'}{'images'} |
|
2711
|
0 |
0 |
if ($cf ne $ps->{'pr'}{'pdf'}) |
|
2719
|
0 |
0 |
if ($family =~ /^pdf\.fonts\.(.*)/u) |
|
2721
|
0 |
0 |
if ($try) |
|
2724
|
0 |
0 |
if $main::config->{'debug'}{'svg'} |
|
2741
|
0 |
0 |
if ($try) { } |
|
2745
|
0 |
0 |
if $main::config->{'debug'}{'svg'} |
|
2766
|
0 |
0 |
if (@t == 1) |
|
2777
|
0 |
0 |
if ($has_sharp and $has_flat) |
|
2789
|
0 |
0 |
unless $this eq $font |
|
2792
|
0 |
0 |
unless $fs |
|
2795
|
0 |
0 |
$fs eq "\x{266d}" ? : |