Font.st
changeset 6158 17d06f1e4ca6
parent 6109 e35961f7892a
child 6163 f5e0de280f35
equal deleted inserted replaced
6157:244e739e05e9 6158:17d06f1e4ca6
   422                 getFontWithFamily:family 
   422                 getFontWithFamily:family 
   423                 face:face 
   423                 face:face 
   424                 style:style 
   424                 style:style 
   425                 size:(sizeUnit == #px ifTrue:[pixelSize] ifFalse:[size])  
   425                 size:(sizeUnit == #px ifTrue:[pixelSize] ifFalse:[size])  
   426                 sizeUnit:sizeUnit  
   426                 sizeUnit:sizeUnit  
   427                 encoding:encoding.
   427                 encoding:encoding ? '*'.
   428         id isNil ifTrue:[
   428         id isNil ifTrue:[
   429             "oops did not work - (device has no such font)"
   429             "oops did not work - (device has no such font)"
   430 
   430 
   431             ^ exceptionBlock value
   431             ^ exceptionBlock value
   432         ].
   432         ].
  1286 ! !
  1286 ! !
  1287 
  1287 
  1288 !Font class methodsFor:'documentation'!
  1288 !Font class methodsFor:'documentation'!
  1289 
  1289 
  1290 version
  1290 version
  1291     ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.133 2013-07-26 15:53:54 stefan Exp $'
  1291     ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.134 2013-11-22 11:02:32 stefan Exp $'
  1292 !
  1292 !
  1293 
  1293 
  1294 version_CVS
  1294 version_CVS
  1295     ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.133 2013-07-26 15:53:54 stefan Exp $'
  1295     ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.134 2013-11-22 11:02:32 stefan Exp $'
  1296 ! !
  1296 ! !
  1297 
  1297 
  1298 
  1298 
  1299 Font initialize!
  1299 Font initialize!