From c95f125f3296d75789685fe1ababe48abe161973 Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 13 Nov 2013 21:54:42 +0000 Subject: looking at fontconfig --- rotord/src/nodes_drawing.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rotord/src') 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 +//#include 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); -- cgit v1.2.3