[1/1] wineps.drv: Allow text copy/paste from print-to-pdf. Fixes caching bug in unicode composite glyphs

Daniel Horn danielrh at dropbox.com
Sat Apr 5 17:00:13 CDT 2014


Fixes http://bugs.winehq.org/show_bug.cgi?id=6416 by using unicode
encodings for fonts. This exposed a bug with caching composite unicode
glyphs (if a ñ came before any n in the document, then all subsequent
n's would appear as a box ▢
This was because the glyph was marked as having been sent down when it
was only a component of a more complex glyph.

The patch has been tested on hundreds of print jobs under linux ubuntu
12.04 with a wide array of applications.

---
 dlls/wineps.drv/download.c | 17 ++++++++++-------
 dlls/wineps.drv/psdrv.h    |  4 ++--
 dlls/wineps.drv/text.c     | 29 +++++++++++++++++++----------
 dlls/wineps.drv/type42.c   | 20 ++++++++++++++------
 4 files changed, 45 insertions(+), 25 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wineps.drv-Allow-text-copy-paste-from-print-to-pdf.-.patch
Type: application/octet-stream
Size: 8306 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140405/d1932a01/attachment.obj>


More information about the wine-patches mailing list