| line |
l |
!l |
condition |
|
38
|
0 |
0 |
$style->{'font-style'} // "normal" |
|
39
|
0 |
0 |
$style->{'font-weight'} // "normal" |
|
43
|
0 |
0 |
$style->{'font-family'} // [] |
|
47
|
0 |
0 |
$style->{'@font-face'} // [] |
|
62
|
0 |
0 |
$style->{'font-size'} || 12 |
|
103
|
0 |
0 |
$style->{'font-size'} || 12 |
|
136
|
0 |
0 |
$style->{'font-size'} || 12 |
|
147
|
0 |
0 |
$style->{'font-size'} || 12 |
|
160
|
0 |
0 |
$style->{'font-size'} || 12 |
|
180
|
0 |
0 |
$style->{'font-size'} || 12 |
|
187
|
0 |
0 |
$style->{'font-family'} // "Times-Roman" |
|
188
|
0 |
0 |
$style->{'font-size'} || 12 |
|
190
|
0 |
0 |
$style->{'font-style'} && $style->{'font-style'} =~ /^(italic|oblique)$/u || '' |
|
192
|
0 |
0 |
$style->{'font-weight'} && $style->{'font-weight'} =~ /^(bold|black)$/u || '' |
|
236
|
0 |
0 |
$style->{'font-family'} // "" |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
76
|
0 |
0 |
0 |
$td //= tempdir("CLEANUP", 1) |
|
113
|
0 |
0 |
0 |
$td //= tempdir("CLEANUP", 1) |
|
230
|
0 |
0 |
0 |
$fc->{$fn} //= do {
unless ($fn =~ /\.\w+$/u) {
my $t = "";
$t .= 'italic, ' if $em;
$t .= 'bold, ' if $bd;
$t = ' (' . substr($t, 0, (length($t) - 2)) . ')' if $t;
warn("SVG: Font ", $style->{'font-family'} // "", "$t - falling back to built-in font $fn with limited glyphs!\n");
};
+{"font", $svg->pdf->font($fn), "src", $fn}
} |