summaryrefslogtreecommitdiff
path: root/rotord
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-11-13 21:54:42 +0000
committerComment <tim@gray.(none)>2013-11-13 21:54:42 +0000
commitc95f125f3296d75789685fe1ababe48abe161973 (patch)
treea79daa68e855f7d7a1763d2dd6ecb9bf6ed7d06a /rotord
parent053f57745ac8e6848e3ae6060162bddebb36bcef (diff)
looking at fontconfig
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);