changed: #getFontWithFoundry:family:weight:slant:spacing:pixelSize:size:registry:encoding:
force encoding to be a symbol - (symbol is expected in primitive code)
--- 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 $'
! !