diff options
author | James Cloos <cloos@jhcloos.com> | 2013-06-20 19:38:16 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2013-06-20 19:38:16 -0400 |
commit | 9fbe951b67ed11cae4269cf34fd9d52f78ff86d8 (patch) | |
tree | bc313cb9600cb2fbdb1022823b9c07e91775d612 | |
parent | acb8a0c8e4ee4131b059aeb4544c4ef108dd183c (diff) |
Embed the text in the printstream as text rather that as an outlineuse-text-apitext-as-text
Signed-off-by: James Cloos <cloos@jhcloos.com>
-rw-r--r-- | src/label-text.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/label-text.c b/src/label-text.c index 287d3cc..47b8d3d 100644 --- a/src/label-text.c +++ b/src/label-text.c @@ -1203,7 +1203,7 @@ set_text_path (glLabelText *this, } cairo_move_to (cr, GL_LABEL_TEXT_MARGIN/scale_x, y); - pango_cairo_layout_path (cr, layout); + pango_cairo_show_layout (cr, layout); g_object_unref (layout); gl_text_node_lines_free (&lines); @@ -1294,10 +1294,8 @@ draw_text_real (glLabelObject *object, { gl_debug (DEBUG_LABEL, "START"); - set_text_path (GL_LABEL_TEXT (object), cr, screen_flag, record); - cairo_set_source_rgba (cr, GL_COLOR_RGBA_ARGS (color)); - cairo_fill (cr); + set_text_path (GL_LABEL_TEXT (object), cr, screen_flag, record); gl_debug (DEBUG_LABEL, "END"); } |