projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glm.c:get_ssq Remove unnecessary assignment
[pspp]
/
src
/
output
/
cairo.c
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 866be03f6528eaa084bbb39de04078f3670c6d4e..f74963d682b2f6c3680f0c011ab734b43a51eb94 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2010
, 2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-919,7
+919,7
@@
xr_rendering_create_text (struct xr_driver *xr, const char *text, cairo_t *cr)
struct table_item *table_item;
struct xr_rendering *r;
struct table_item *table_item;
struct xr_rendering *r;
- table_item = table_item_create (table_from_string (
0
, text), NULL);
+ table_item = table_item_create (table_from_string (
TAB_LEFT
, text), NULL);
r = xr_rendering_create (xr, &table_item->output_item, cr);
table_item_unref (table_item);
r = xr_rendering_create (xr, &table_item->output_item, cr);
table_item_unref (table_item);
@@
-998,8
+998,8
@@
xr_rendering_draw (struct xr_rendering *r, cairo_t *cr,
}
xr->y = r->title_height;
}
xr->y = r->title_height;
- render_page_draw_region (r->page,
-
x * 1024, y * 1024,
w * 1024, h * 1024);
+ render_page_draw_region (r->page,
x * 1024, (y * 1024) - r->title_height,
+ w * 1024, h * 1024);
}
else
xr_draw_chart (to_chart_item (r->item), cr,
}
else
xr_draw_chart (to_chart_item (r->item), cr,