summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Printing
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2004-03-15 21:30:39 +0000
committerFelipe Heidrich <fheidric>2004-03-15 21:30:39 +0000
commitf6487111032547e1ade3cf517d365a21b313b806 (patch)
tree75d39805e5f1299ced30a9af76d5c2469f0a9210 /bundles/org.eclipse.swt/Eclipse SWT Printing
parent5b6167a269cbdff7d19c385167fb7b77812b82c6 (diff)
downloadeclipse.platform.swt-f6487111032547e1ade3cf517d365a21b313b806.tar.gz
eclipse.platform.swt-f6487111032547e1ade3cf517d365a21b313b806.tar.xz
eclipse.platform.swt-f6487111032547e1ade3cf517d365a21b313b806.zip
codaPage/Font cache
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Printing')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java
index 5397560051..64ad9015d0 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java
@@ -372,8 +372,7 @@ public int internal_new_GC(GCData data) {
data.device = this;
data.display = xDisplay;
data.drawable = xDrawable;
- data.fontList = defaultFont.handle;
- data.codePage = defaultFont.codePage;
+ data.font = defaultFont;
data.colormap = OS.XDefaultColormapOfScreen(xScreen);
int defaultGC = OS.XDefaultGCOfScreen(xScreen);
if (defaultGC != 0) {