From 0e7d4e61b7bcef123fd8212884bda5dbd3440316 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 19 Apr 2010 18:14:15 -0700 Subject: [PATCH] fixed stroke generation in poly2bitmap --- lib/pdf/BitmapOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index 320fc3f..9e8123b 100644 --- a/lib/pdf/BitmapOutputDev.cc +++ b/lib/pdf/BitmapOutputDev.cc @@ -1474,6 +1474,10 @@ void BitmapOutputDev::drawChar(GfxState *state, double x, double y, boolpolydev->drawChar(state, x, y, dx, dy, originX, originY, code, nBytes, u, uLen); booltextdev->drawChar(state, x, y, dx, dy, originX, originY, code, nBytes, u, uLen); clip1dev->drawChar(state, x, y, dx, dy, originX, originY, code, nBytes, u, uLen); + } else if(state->getRender()&RENDER_STROKE) { + // we're drawing as stroke + boolpolydev->drawChar(state, x, y, dx, dy, originX, originY, code, nBytes, u, uLen); + rgbdev->drawChar(state, x, y, dx, dy, originX, originY, code, nBytes, u, uLen); } else if(rgbbitmap != rgbdev->getBitmap()) { // we're doing softmasking or transparency grouping boolpolydev->drawChar(state, x, y, dx, dy, originX, originY, code, nBytes, u, uLen); -- 1.7.10.4