summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-02-26 14:37:59 +0000
committerRobin Watts <robin.watts@artifex.com>2013-02-26 19:02:02 +0000
commit0801ae6d1fda6f6dc4756cc1cc68b2eef904b5d2 (patch)
tree82d2a412ffc3a75880edbe8bbdc406d5c6e8d10c /pdf
parent08dd51d661b7e1adf925a667a548755fadbfbef7 (diff)
downloadmupdf-0801ae6d1fda6f6dc4756cc1cc68b2eef904b5d2.tar.xz
Fix pdf_device confusing stroke and non-stroke alpha
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_device.c b/pdf/pdf_device.c
index 36a0e89c..6f8ca207 100644
--- a/pdf/pdf_device.c
+++ b/pdf/pdf_device.c
@@ -507,7 +507,7 @@ pdf_dev_alpha(pdf_device *pdev, float alpha, int stroke)
fz_try(ctx)
{
char text[32];
- pdf_dict_puts_drop(o, (stroke ? "ca" : "CA"), pdf_new_real(ctx, alpha));
+ pdf_dict_puts_drop(o, (stroke ? "CA" : "ca"), pdf_new_real(ctx, alpha));
ref = pdf_new_ref(pdev->xref, o);
snprintf(text, sizeof(text), "ExtGState/Alp%d", i);
pdf_dict_putp(pdev->resources, text, ref);