projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
--font-render-mode is back, and there is also
[rrdtool.git]
/
src
/
rrd_graph_helper.c
diff --git
a/src/rrd_graph_helper.c
b/src/rrd_graph_helper.c
index
0991b3b
..
708c223
100644
(file)
--- a/
src/rrd_graph_helper.c
+++ b/
src/rrd_graph_helper.c
@@
-497,7
+497,7
@@
int rrd_parse_PVHLAST(
static int spacecnt = 0;
if (spacecnt == 0) {
static int spacecnt = 0;
if (spacecnt == 0) {
- float one_space = gfx_get_text_width(im
->cr
, 0,
+ float one_space = gfx_get_text_width(im, 0,
im->
text_prop[TEXT_PROP_LEGEND].
font,
im->
text_prop[TEXT_PROP_LEGEND].
font,
@@
-505,7
+505,7
@@
int rrd_parse_PVHLAST(
text_prop[TEXT_PROP_LEGEND].
size,
im->tabwidth, " ") / 4.0;
text_prop[TEXT_PROP_LEGEND].
size,
im->tabwidth, " ") / 4.0;
- float target_space = gfx_get_text_width(im
->cr
, 0,
+ float target_space = gfx_get_text_width(im, 0,
im->
text_prop
[TEXT_PROP_LEGEND].font,
im->
text_prop
[TEXT_PROP_LEGEND].font,