summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94ae951)
raw | patch | inline | side by side (parent: 94ae951)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 1 May 2005 21:24:06 +0000 (21:24 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 1 May 2005 21:24:06 +0000 (21:24 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@470 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_gfx.c | patch | blob | history |
diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c
index becab8c9be3fe14cbc8223ab6e5e284e062339dc..d26e3cb317a14b401cfdaa3ebfc594205f781aa0 100644 (file)
--- a/src/rrd_gfx.c
+++ b/src/rrd_gfx.c
/* printf ("number of glyphs = %d\n", string->num_glyphs);*/
compute_string_bbox( string );
/* the last character was a tab */
- if (gottab) {
+ /* if (gottab) { */
string->width = ft_pen.x;
- } else {
+ /* } else {
string->width = string->bbox.xMax - string->bbox.xMin;
- }
+ } */
string->height = string->bbox.yMax - string->bbox.yMin;
return string;