summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-01-30 14:43:30 +0000
committerRobin Watts <robin.watts@artifex.com>2013-01-31 11:17:42 +0000
commit7d1810f61496633ad55dd2be64912c0d0444aba8 (patch)
tree8549a44232f318321979f41404e27ceef42a856c /pdf
parentcbf75f8b27794290c6bd18ccc0a2cbc79abc49cb (diff)
downloadmupdf-7d1810f61496633ad55dd2be64912c0d0444aba8.tar.xz
Fix missing linewidth in pdf-device-created appearance streams
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 15c759ff..9d76b645 100644
--- a/pdf/pdf_device.c
+++ b/pdf/pdf_device.c
@@ -320,7 +320,7 @@ pdf_dev_stroke_state(pdf_device *pdev, fz_stroke_state *stroke_state)
return;
if (!gs->stroke_state || gs->stroke_state->linewidth != stroke_state->linewidth)
{
- fz_buffer_printf(ctx, gs->buf, "%f w\n");
+ fz_buffer_printf(ctx, gs->buf, "%f w\n", stroke_state->linewidth);
}
if (!gs->stroke_state || gs->stroke_state->start_cap != stroke_state->start_cap)
{