diff options
author | scuri <scuri> | 2010-06-26 22:42:07 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-26 22:42:07 +0000 |
commit | b2e7b2d36fa083b5702d1e2a8db62b32aa1b5699 (patch) | |
tree | 0f158a80c2672772f05442745559435c21b5a5ce /src/cairo/cdcairodbuf.c | |
parent | f98c177b28e86c420ea45f039940c38ca8030d08 (diff) |
*** empty log message ***
Diffstat (limited to 'src/cairo/cdcairodbuf.c')
-rw-r--r-- | src/cairo/cdcairodbuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cairo/cdcairodbuf.c b/src/cairo/cdcairodbuf.c index 1395e8c..4c5897a 100644 --- a/src/cairo/cdcairodbuf.c +++ b/src/cairo/cdcairodbuf.c @@ -129,8 +129,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); |