Skip to content

Commit 17bfa70

Browse files
authored
Merge pull request #73 from DenverCoder1/fix-safari
2 parents 953d7c9 + 42f0dfc commit 17bfa70

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

src/templates/main.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<path id='path<?php echo $i ?>'>
1212
<?php if (!$multiline): ?>
1313
<animate id='d<?php echo $i ?>' attributeName='d' begin='<?php echo ($i == 0 ? "0s;" : "") . $previousId ?>.end' dur='5s'
14-
values='m0,<?php echo $height / 2 ?> h0 ; m0,<?php echo $height / 2 ?> h<?php echo $width ?> ; m0,<?php echo $height / 2 ?> h0' keyTimes='0 ; 0.8 ; 1' />
14+
values='m0,<?php echo $height / 2 ?> h0 ; m0,<?php echo $height / 2 ?> h<?php echo $width ?> ; m0,<?php echo $height / 2 ?> h0' keyTimes='0;0.8;1' />
1515
<?php else: ?>
1616
<?php $lineHeight = $size + 5;?>
1717
<animate id='d<?php echo $i ?>' attributeName='d' dur='<?php echo 5 * ($i + 1) ?>s' fill="freeze"
18-
begin='0s;<?php echo "d" . (count($lines) - 1) ?>.end' keyTimes="0 ; <?php echo $i / ($i + 1); ?> ; 1"
18+
begin='0s;<?php echo "d" . (count($lines) - 1) ?>.end' keyTimes="0;<?php echo $i / ($i + 1); ?>;1"
1919
values='m0,<?php echo ($i + 1) * $lineHeight ?> h0 ; m0,<?php echo ($i + 1) * $lineHeight ?> h0 ; m0,<?php echo ($i + 1) * $lineHeight ?> h<?php echo $width ?>' />
2020
<?php endif;?>
2121
</path>

tests/svg/test_fonts.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/svg/test_multiline.svg

Lines changed: 4 additions & 4 deletions
Loading

tests/svg/test_normal.svg

Lines changed: 4 additions & 4 deletions
Loading

tests/svg/test_normal_vertical_alignment.svg

Lines changed: 4 additions & 4 deletions
Loading

0 commit comments

Comments
 (0)