mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
move text down very slightly.
This commit is contained in:
parent
0c5d71dc19
commit
b7871e1927
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ my $lineheight = 13;
|
||||||
sub svgtext {
|
sub svgtext {
|
||||||
my ($f, $x, $y, $colour, $msg) = @_;
|
my ($f, $x, $y, $colour, $msg) = @_;
|
||||||
print $f '<text x="', $x;
|
print $f '<text x="', $x;
|
||||||
print $f '" y="', ($y+1)*$lineheight + $fontheight/3;
|
print $f '" y="', ($y+1)*$lineheight + $fontheight/2;
|
||||||
print $f '" font-family="Verdana" font-size="', $fontheight, 'px" fill="';
|
print $f '" font-family="Verdana" font-size="', $fontheight, 'px" fill="';
|
||||||
print $f $colour;
|
print $f $colour;
|
||||||
print $f '">';
|
print $f '">';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue