summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2009-01-02 14:51:45 +0000
committerKore Nordmann <github@kore-nordmann.de>2009-01-02 14:51:45 +0000
commit8a239a49e8ed4b442875a5f2cc890e70164e5d4c (patch)
tree94904604b9a044bd4cfc55ae15d5123bfc2e3f8f /src
parent4f559d9f9b4994661d48b96f714e419995baa070 (diff)
downloadzetacomponents-graph-8a239a49e8ed4b442875a5f2cc890e70164e5d4c.zip
zetacomponents-graph-8a239a49e8ed4b442875a5f2cc890e70164e5d4c.tar.gz
- Fixed: Fallback string width calculation in svg font handler
Diffstat (limited to 'src')
-rw-r--r--src/driver/svg_font.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/svg_font.php b/src/driver/svg_font.php
index d2fb620..0abeef6 100644
--- a/src/driver/svg_font.php
+++ b/src/driver/svg_font.php
@@ -247,7 +247,7 @@ class ezcGraphSvgFont
if ( $charInfo === false )
{
$prevCharInfo = null;
- $length .= .5 * $this->unitsPerEm[$fontPath];
+ $length += .5 * $this->unitsPerEm[$fontPath];
continue;
}
OpenPOWER on IntegriCloud