mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
979ed31b76
gNU Postscript interpreter CJK fonts adding port. This is a GNU version of ghostscript with features below: 1. CJK internationalization ready. 2. Depends on print/ghostscript-gnu and replace only necessary files. 3. -DA4 default as is standard in CJK countries. 4. Includes many additional printer drivers sold in japan. PR: ports/33116 Submitted by: Tomokatsu SAITO <saito@a2z.co.jp>
15 lines
551 B
C
15 lines
551 B
C
--- src/gdevxini.c.orig Tue Jun 5 15:38:57 2001
|
|
+++ src/gdevxini.c Wed Jun 20 04:17:15 2001
|
|
@@ -655,8 +655,10 @@
|
|
}
|
|
x_set_buffer(xdev);
|
|
/* Clear the destination pixmap to avoid initializing with garbage. */
|
|
- xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
|
|
+ if (xdev->dest == (Pixmap) 0) {
|
|
+ xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
|
|
xdev->bpixmap : (Pixmap) xdev->win);
|
|
+ }
|
|
if (xdev->dest != (Pixmap) 0) {
|
|
XSetForeground(xdev->dpy, xdev->gc, xdev->background);
|
|
XFillRectangle(xdev->dpy, xdev->dest, xdev->gc,
|