summaryrefslogtreecommitdiff
path: root/src/gdk/cdgdkdbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdk/cdgdkdbuf.c')
-rw-r--r--src/gdk/cdgdkdbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gdk/cdgdkdbuf.c b/src/gdk/cdgdkdbuf.c
index b399cbe..9a8854a 100644
--- a/src/gdk/cdgdkdbuf.c
+++ b/src/gdk/cdgdkdbuf.c
@@ -121,8 +121,7 @@ static int cdactivate(cdCtxCanvas* ctxcanvas)
if (canvas->stipple) canvas->cxStipple(ctxcanvas, canvas->stipple_w, canvas->stipple_h, canvas->stipple);
if (canvas->pattern) canvas->cxPattern(ctxcanvas, canvas->pattern_w, canvas->pattern_h, canvas->pattern);
canvas->cxInteriorStyle(ctxcanvas, canvas->interior_style);
- if (canvas->native_font[0] == 0) canvas->cxFont(ctxcanvas, canvas->font_type_face, canvas->font_style, canvas->font_size);
- else canvas->cxNativeFont(ctxcanvas, canvas->native_font);
+ canvas->cxFont(ctxcanvas, canvas->font_type_face, canvas->font_style, canvas->font_size);
/* canvas->cxTextAlignment(ctxcanvas, canvas->text_alignment); */
/* canvas->cxTextOrientation(ctxcanvas, canvas->text_orientation); */
if (canvas->clip_mode == CD_CLIPAREA && canvas->cxClipArea) canvas->cxClipArea(ctxcanvas, canvas->clip_rect.xmin, canvas->clip_rect.xmax, canvas->clip_rect.ymin, canvas->clip_rect.ymax);