diff options
author | L Peter Deutsch <lpd@ghostscript.com> | 2000-07-11 14:33:54 +0000 |
---|---|---|
committer | L Peter Deutsch <lpd@ghostscript.com> | 2000-07-11 14:33:54 +0000 |
commit | 5a1583ea1f5709aec6e78eef488f2204d391fdb4 (patch) | |
tree | 796a2beb1cf230e721b601aaaeef8a94feacb717 /gs/src/gdevpdfu.c | |
parent | d89f24c15639f29078bd0dd5f6523e18f516daab (diff) |
Fix: The word and character spacing values were not tracked correctly when
mixing text and graphics, sometimes producing horizontally misplaced text.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@590 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevpdfu.c')
-rw-r--r-- | gs/src/gdevpdfu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gs/src/gdevpdfu.c b/gs/src/gdevpdfu.c index bb0163e0e..97bf59125 100644 --- a/gs/src/gdevpdfu.c +++ b/gs/src/gdevpdfu.c @@ -281,9 +281,7 @@ private int text_to_stream(gx_device_pdf * pdev) { pputs(pdev->strm, "ET Q\n"); - pdev->text.font = 0; /* because of Q */ - pdev->text.leading = 0; /* ibid. */ - pdev->text.use_leading = false; /* ibid. */ + pdf_reset_text(pdev); /* because of Q */ return PDF_IN_STREAM; } /* Exit stream context. */ |