class: Font
changed: #onDevice:ifAbsent:
do not crash when encoding is nil (encoding '*' in FontPanel is selected)
--- a/Font.st Wed Nov 20 20:08:19 2013 +0100
+++ b/Font.st Fri Nov 22 12:02:32 2013 +0100
@@ -424,7 +424,7 @@
style:style
size:(sizeUnit == #px ifTrue:[pixelSize] ifFalse:[size])
sizeUnit:sizeUnit
- encoding:encoding.
+ encoding:encoding ? '*'.
id isNil ifTrue:[
"oops did not work - (device has no such font)"
@@ -1288,11 +1288,11 @@
!Font class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.133 2013-07-26 15:53:54 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.134 2013-11-22 11:02:32 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.133 2013-07-26 15:53:54 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.134 2013-11-22 11:02:32 stefan Exp $'
! !