Font.st
changeset 7577 81657d05b6ef
parent 7443 e2d05b756727
child 7624 b49d1f99b8dd
--- a/Font.st	Mon Sep 19 16:31:25 2016 +0200
+++ b/Font.st	Thu Sep 22 11:28:28 2016 +0200
@@ -9,8 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-'From Smalltalk/X, Version:7.1.0.0 on 20-07-2016 at 15:21:49'                   !
-
 "{ Package: 'stx:libview' }"
 
 "{ NameSpace: Smalltalk }"
@@ -60,7 +58,7 @@
 
     For proper operation, each graphics operation working with fonts
     must get a device font before doing the draw.
-    Most draw methods in DeviceDrawable do that automatically for you, 
+    Most draw methods in DeviceDrawable do that automatically for you,
     before doing the draw; so you do not have to care.
 
     However, some operations require explicit conversion to a device font
@@ -74,13 +72,13 @@
 
         myFont := Font family:'courier' ... size:12.
             ...
-        
+
         'want to know its height on the Display'
-        
+
         h := (myFont on:Display) height.
-        
+
         'want to know its height on a printer'
-        
+
         h := (myFont on:aPrinter) height.
 
     there are alternative shortcuts for these operations:
@@ -96,11 +94,11 @@
     likes - a display may return units of pixels, a postscript printer may
     think in (fractions of) inches, a dot matrix printer may think in dots.
     Also, notice that currently only graphic displays are really supported;
-    printer devices are being developped and may or may not be in the current
+    printer devices are being developed and may or may not be in the current
     system.
 
     If a font cannot be represented on a device, a replacement
-    font is chosen and kept in the replacementFont instance variable. 
+    font is chosen and kept in the replacementFont instance variable.
     This is done to preserve the original font information, in case the image
     is restarted later on another display which has that font available.
 
@@ -110,7 +108,7 @@
       family          <String>        the font's family ('courier', 'helvetica' etc)
       face            <String>        the font's face ('bold', 'medium' etc)
       style           <String>        the font's style ('roman', 'italic', 'oblique')
-      size            <String>        the font's size (not in pixels) 
+      size            <String>        the font's size (not in pixels)
       encoding        <Symbol>        the font's encoding (usually #iso8859)
 
       device          <Object>        the device the font is associated to, or nil
@@ -132,7 +130,7 @@
       Replacements    <Dictionary>    replacement fonts
 
     [see also:]
-        DeviceWorkstation 
+        DeviceWorkstation
         DeviceDrawable GraphicsContext
         Cursor Color
         ( introduction to view programming :html: programming/viewintro.html#FONTS )
@@ -307,14 +305,6 @@
     "Created: 28.5.1996 / 18:39:53 / cg"
 ! !
 
-!Font methodsFor:'binary storage'!
-
-readBinaryContentsFrom: stream manager: manager
-    "tell the newly restored Font about restoration"
-
-    super readBinaryContentsFrom: stream manager: manager.
-    self restored
-! !
 
 !Font methodsFor:'converting'!