summaryrefslogtreecommitdiff
path: root/src/cairo/cdcairoctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo/cdcairoctx.h')
-rw-r--r--src/cairo/cdcairoctx.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cairo/cdcairoctx.h b/src/cairo/cdcairoctx.h
index 97a8707..03a719c 100644
--- a/src/cairo/cdcairoctx.h
+++ b/src/cairo/cdcairoctx.h
@@ -8,6 +8,7 @@
#define __CDCAIROCTX_H
#include <cairo.h>
+#include <pango/pango.h>
#include "cd.h"
#include "cd_private.h"
@@ -27,14 +28,17 @@ struct _cdCtxCanvas
cairo_t* cr;
- cairo_scaled_font_t* font;
+ /* text attributes */
+ PangoContext *fontcontext;
+ PangoFontDescription *fontdesc;
+ PangoLayout *fontlayout;
+ char* strLastConvertUTF8;
+ /* fill attributes */
cairo_pattern_t *pattern, *solid;
int last_source;
int hatchboxsize;
- char* cairoLastConvertUTF8;
-
/* custom attributes */
int img_format;