diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-11-28 21:54:26 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-11-28 21:54:26 +0000 |
commit | 71a1131902da7e7f41566eb67cae3cad60bb14f4 (patch) | |
tree | 9900a5be346d04d811ec2282a35be3d37e5b6951 /apps/pdfapp.c | |
parent | d63dc50e7d0ac6f1adccd9507b41410e0cbb0faf (diff) | |
download | mupdf-71a1131902da7e7f41566eb67cae3cad60bb14f4.tar.xz |
Support luminosity softmask background colors.
Diffstat (limited to 'apps/pdfapp.c')
-rw-r--r-- | apps/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 54827b8e..63149512 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -305,7 +305,7 @@ static void pdfapp_showpage(pdfapp_t *app, int loadpage, int drawpage) colorspace = fz_devicergb; #endif app->image = fz_newpixmapwithrect(colorspace, bbox); - fz_clearpixmap(app->image, 0xFF); + fz_clearpixmapwithcolor(app->image, 255); idev = fz_newdrawdevice(app->cache, app->image); fz_executedisplaylist(app->page->list, idev, ctm); fz_freedevice(idev); |