line |
true |
false |
branch |
121
|
4 |
0 |
if $cmap->{'val'}{$char} |
127
|
2 |
0 |
if $canchangegids |
143
|
1 |
2 |
unless $self->use_cache |
174
|
10 |
0 |
if ($private and not $self->{'gidmap'}[$n] or not $private || vec($self->{'glyphs'}, $n, 1)) { } |
177
|
0 |
10 |
if defined $self->{'gidmap'} |
217
|
10 |
396 |
vec($self->{'glyphs'}, $i, 1) ? : |
225
|
448 |
0 |
if ($self->{'gidmap'}) { } |
240
|
2 |
28 |
if $self->{' subsetdone'} |
256
|
2 |
2 |
unless $self->SUPER::subset($subsetter) |
259
|
10 |
394 |
if ($subsetter->keep_glyph($i)) |
270
|
0 |
10 |
if (defined $self->{'glyphs'}[$n] and $self->{'glyphs'}[$n]->read->{'numberOfContours'} < 0) |
275
|
0 |
0 |
if ($subsetter->add_glyph($c->{'glyph'}, 1)) |
289
|
0 |
0 |
unless $self->SUPER::subset($subsetter) |
298
|
0 |
0 |
if $type >= $self->extension - 2 and $type < $self->extension |
301
|
0 |
0 |
if (not @{$res;}) { } |
316
|
0 |
0 |
if (defined $self->{'LOOKUP'}[$l]) |
319
|
0 |
0 |
if ($type >= $self->extension - 2 and $type < $self->extension) |
322
|
0 |
0 |
if (not @{$res;}) { } |
334
|
0 |
0 |
if (vec $lkvec, $l, 1) { } |
353
|
0 |
0 |
if ($v < 0) { } |
358
|
0 |
0 |
if (not @{$f->{'LOOKUPS'};}) { } |
371
|
0 |
0 |
if ($l < 0) { } |
376
|
0 |
0 |
if (defined $lang->{'FEATURES'}) |
380
|
0 |
0 |
unless (defined $self->{'FEATURES'}{$lang->{'FEATURES'}[$i]}) |
385
|
0 |
0 |
if (defined $lang->{'DEFAULT'} and $lang->{'DEFAULT'} >= 0) |
390
|
0 |
0 |
if ($self->{'FEATURES'}{$f}{'INDEX'} == $lang->{'DEFAULT'}) |
396
|
0 |
0 |
unless ($found) |
399
|
0 |
0 |
if ($l >= 0 and defined $subsetter->{'langs'} and not defined $subsetter->{'langs'}{$self->{'SCRIPTS'}{$s}{'LANG_TAGS'}[$l]} or not defined $lang->{'FEATURES'} && @{$lang->{'FEATURES'};} and !defined($lang->{'DEFAULT'}) || $lang->{'DEFAULT'} < 0) |
404
|
0 |
0 |
if ($l < 0) { } |
413
|
0 |
0 |
if (defined $subsetter->{'scripts'} and not defined $subsetter->{'scripts'}{$s} or not @{$self->{'SCRIPTS'}{$s}{'LANG_TAGS'};} || defined $self->{'SCRIPTS'}{$s}{'DEFAULT'}) { } |
422
|
0 |
0 |
if ($isEmpty) |
427
|
0 |
0 |
if ($v eq $self) |
444
|
0 |
0 |
unless ($self->subset_subtable(undef, $s, $lookup, $lkvec) and defined $s->{'RULES'} and @{$s->{'RULES'};}) |
449
|
0 |
0 |
if ($s->{'COVERAGE'}) |
471
|
0 |
0 |
if (not $subsetter->keep_glyph($_)) { } |
477
|
0 |
0 |
unless defined $$res[$class->{$g}] |
481
|
0 |
0 |
unless ($noremap) |
486
|
0 |
0 |
if (@{$res;}) { } |
495
|
0 |
0 |
if defined $coverage->{'isremapped'} |
500
|
0 |
0 |
if (not $subsetter->keep_glyph($_)) { } |
502
|
0 |
0 |
if $rules |
511
|
0 |
0 |
if ($isEmpty) { } |
525
|
0 |
0 |
if $fmt == 2 and not $classvals |
528
|
0 |
0 |
if ($fmt == 1 and $subsetter->keep_glyph($_)) { } |
|
0 |
0 |
elsif ($fmt == 2 and defined $classvals->[$_]) { } |
|
0 |
0 |
elsif ($fmt == 3 and $self->subset_cover($subsetter, $_, undef)) { } |
549
|
0 |
0 |
$fmt < 2 ? : |
|
0 |
0 |
if defined $sub->{'COVERAGE'} and not $self->subset_cover($subsetter, $sub->{'COVERAGE'}, $fmt < 2 ? $sub->{'RULES'} : undef) |
552
|
0 |
0 |
if defined $sub->{'CLASS'} and not $classvals = $self->subset_class($subsetter, $sub->{'CLASS'}) |
553
|
0 |
0 |
if defined $sub->{'PRE_CLASS'} and not $prevals = $self->subset_class($subsetter, $sub->{'PRE_CLASS'}) |
554
|
0 |
0 |
if defined $sub->{'POST_CLASS'} and not $postvals = $self->subset_class($subsetter, $sub->{'POST_CLASS'}) |
574
|
0 |
0 |
if ($sub->{'RULES'}[$i]) |
580
|
0 |
0 |
if ($type == 4) { } |
582
|
0 |
0 |
if ($subsetter->keep_glyph($r->{'ACTION'}[0])) { } |
592
|
0 |
0 |
unless (vec $lkvec, $a->[1], 1) |
597
|
0 |
0 |
if ($test and $type == 6 and defined $r->{'PRE'}) |
599
|
0 |
0 |
if ($test and $type == 6 and defined $r->{'POST'}) |
601
|
0 |
0 |
if ($test) |
603
|
0 |
0 |
if (not $test) { } |
610
|
0 |
0 |
if ($isEmpty) |
613
|
0 |
0 |
if $fmt < 2 |
623
|
0 |
0 |
if $l->{'TYPE'} < $self->extension - 2 or $l->{'TYPE'} >= $self->extension |
649
|
0 |
0 |
if $type < 4 and not $self->subset_cover($subsetter, $sub->{'COVERAGE'}, $sub->{'RULES'}) |
654
|
0 |
0 |
if ($type == 1 and $fmt > 1 or $type == 2) { } |
|
0 |
0 |
elsif ($type == 3) { } |
|
0 |
0 |
elsif ($type >= 4 and $type <= 6) { } |
658
|
0 |
0 |
unless defined $sub->{'RULES'}[$i] |
662
|
0 |
0 |
if (not $subsetter->keep_glyph($j)) { } |
677
|
0 |
0 |
unless (defined $sub->{'RULES'}[$i]) |
685
|
0 |
0 |
if ($subsetter->keep_glyph($j)) |
688
|
0 |
0 |
if (@{$res;}) { } |
713
|
0 |
0 |
if $type <= 6 and not $self->subset_cover($subsetter, $sub->{'COVERAGE'}, $sub->{'RULES'}) |
714
|
0 |
0 |
if ($type == 2 and $fmt == 1) { } |
|
0 |
0 |
elsif ($type == 2 and $fmt == 2) { } |
|
0 |
0 |
elsif ($type >= 4 and $type <= 6) { } |
|
0 |
0 |
elsif ($type >= 7 and $type <= 8) { } |
721
|
0 |
0 |
if (not $subsetter->keep_glyph($r->{'MATCH'}[0])) { } |
726
|
0 |
0 |
if (not @{$sub->{'RULES'}[$i];}) { } |
740
|
0 |
0 |
if (not $c1vals->[$i]) { } |
747
|
0 |
0 |
if (not defined $c2vals->[$j]) { } |
752
|
0 |
0 |
if (@nrule) |
756
|
0 |
0 |
if (@{$nrules;}) { } |
762
|
0 |
0 |
$self->subset_cover($subsetter, $sub->{'MATCH'}[0], $sub->{'MARKS'}) ? : |
775
|
0 |
0 |
unless $self->SUPER::subset($subsetter) |
776
|
0 |
0 |
if (defined $self->{'GLYPH'}) |
777
|
0 |
0 |
unless 'Font::TTF::Ttopen'->subset_class($subsetter, $self->{'GLYPH'}, 1) |
778
|
0 |
0 |
if (defined $self->{'ATTACH'}) |
779
|
0 |
0 |
unless 'Font::TTF::Ttopen'->subset_cover($subsetter, $self->{'ATTACH'}{'COVERAGE'}, $self->{'ATTACH'}{'POINTS'}) |
780
|
0 |
0 |
if (defined $self->{'LIG'}) |
781
|
0 |
0 |
unless 'Font::TTF::Ttopen'->subset_cover($subsetter, $self->{'LIG'}{'COVERAGE'}, $self->{'LIG'}{'POINTS'}) |
782
|
0 |
0 |
if (defined $self->{'MARKS'}) |
783
|
0 |
0 |
unless 'Font::TTF::Ttopen'->subset_cover($subsetter, $self->{'MARKS'}, undef) |
793
|
0 |
2 |
unless $self->SUPER::subset($subsetter) |
799
|
20 |
1178 |
if ($subsetter->keep_glyph($t->{$k})) { } |
804
|
4 |
2 |
if ($self->is_unicode($i)) |
822
|
0 |
2 |
unless $self->SUPER::subset($subsetter) |
825
|
10 |
398 |
$subsetter->keep_glyph($i) ? : |
838
|
0 |
2 |
unless $self->SUPER::subset($subsetter) |
841
|
10 |
396 |
if ($subsetter->keep_glyph($i)) |
860
|
0 |
0 |
unless $self->SUPER::subset($subsetter) |
863
|
0 |
0 |
if ($subsetter->keep_glyph($i)) |