Font.st
changeset 865 b9e71b51adc1
parent 774 cd53f4973268
child 866 1f4f443ca0c7
equal deleted inserted replaced
864:dfd625885d59 865:b9e71b51adc1
   241         "
   241         "
   242         self flushDeviceFontsFor:nil
   242         self flushDeviceFontsFor:nil
   243     ]
   243     ]
   244 
   244 
   245     "Modified: 20.4.1996 / 23:22:23 / cg"
   245     "Modified: 20.4.1996 / 23:22:23 / cg"
       
   246 !
       
   247 
       
   248 update:something with:aParameter from:changedObject
       
   249     "sent early during restart - flush any leftover device handles"
       
   250 
       
   251     (something == #earlyRestart) ifTrue:[
       
   252         "
       
   253          this is sent by ObjectMemory when restarting from
       
   254          an image. All device specific information (especially device
       
   255          handles) are now invalid and have to be flushed
       
   256         "
       
   257         self flushDeviceFontsFor:nil
       
   258     ]
       
   259 
       
   260     "Modified: 20.4.1996 / 23:22:23 / cg"
       
   261     "Created: 15.6.1996 / 15:21:30 / cg"
   246 ! !
   262 ! !
   247 
   263 
   248 !Font class methodsFor:'instance creation'!
   264 !Font class methodsFor:'instance creation'!
   249 
   265 
   250 family:familyString face:faceString style:styleString size:sizeNum encoding:encodingSym
   266 family:familyString face:faceString style:styleString size:sizeNum encoding:encodingSym
  1081 ! !
  1097 ! !
  1082 
  1098 
  1083 !Font class methodsFor:'documentation'!
  1099 !Font class methodsFor:'documentation'!
  1084 
  1100 
  1085 version
  1101 version
  1086     ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.46 1996-05-30 16:53:26 cg Exp $'
  1102     ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.47 1996-06-15 13:21:44 cg Exp $'
  1087 ! !
  1103 ! !
  1088 Font initialize!
  1104 Font initialize!