summaryrefslogtreecommitdiff
path: root/src/gdk/cdgdkdbuf.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-26 22:42:07 +0000
committerscuri <scuri>2010-06-26 22:42:07 +0000
commitb2e7b2d36fa083b5702d1e2a8db62b32aa1b5699 (patch)
tree0f158a80c2672772f05442745559435c21b5a5ce /src/gdk/cdgdkdbuf.c
parentf98c177b28e86c420ea45f039940c38ca8030d08 (diff)
*** empty log message ***
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);