summaryrefslogtreecommitdiff
path: root/rotord
diff options
context:
space:
mode:
Diffstat (limited to 'rotord')
-rw-r--r--rotord/src/nodes_drawing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/nodes_drawing.h b/rotord/src/nodes_drawing.h
index a3af7c9..d5f3578 100644
--- a/rotord/src/nodes_drawing.h
+++ b/rotord/src/nodes_drawing.h
@@ -3,6 +3,7 @@
#include "rotor.h"
#include <cairo.h>
+//#include <fontconfig.h>
namespace Rotor {
class Draw_node: public Image_node {
@@ -68,7 +69,7 @@ namespace Rotor {
else text=attributes["text"]->value;
cairo_text_extents_t te;
cairo_set_source_rgb(cr, colour.Rfloat(),colour.Gfloat(),colour.Bfloat());
- cairo_select_font_face (cr, "Georgia",
+ cairo_select_font_face (cr, "DejaVu",
CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
cairo_set_font_size (cr, 120);
cairo_text_extents(cr, text.c_str(), &te);