changed: #getFontWithFoundry:family:weight:slant:spacing:pixelSize:size:registry:encoding:
authorStefan Vogel <sv@exept.de>
Tue, 27 Jul 2010 16:39:46 +0200
changeset 2852 9d0ad50e4335
parent 2851 fad5f9ba8014
child 2853 3c021208873a
changed: #getFontWithFoundry:family:weight:slant:spacing:pixelSize:size:registry:encoding: force encoding to be a symbol - (symbol is expected in primitive code)
WinPrinterContext.st
--- a/WinPrinterContext.st	Mon Jul 26 18:38:17 2010 +0200
+++ b/WinPrinterContext.st	Tue Jul 27 16:39:46 2010 +0200
@@ -4400,7 +4400,8 @@
     fdwCharSet   = ANSI_CHARSET;
     if ((encoding == @symbol('ms-ansi'))) {
         fdwCharSet   = ANSI_CHARSET;
-    } else if (encoding == @symbol('ms-default')) {
+    } else if (encoding == @symbol('ms-default')
+               || encoding == @symbol(*)) {
         fdwCharSet   = DEFAULT_CHARSET;
     } else if ((encoding == @symbol('ms-symbol'))
             || (encoding == @symbol('misc-fontspecific'))) {
@@ -6042,9 +6043,9 @@
 !WinPrinterContext class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/WinPrinterContext.st,v 1.39 2010-07-26 16:38:17 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/WinPrinterContext.st,v 1.40 2010-07-27 14:39:46 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview2/WinPrinterContext.st,v 1.39 2010-07-26 16:38:17 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/WinPrinterContext.st,v 1.40 2010-07-27 14:39:46 stefan Exp $'
 ! !