#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Sun, 08 May 2016 04:01:11 +0200
changeset 7347 43a15e3e23c4
parent 7346 a95e98332e78
child 7348 7c39d56e9beb
#DOCUMENTATION by cg class: BitmapFont comment/format in: #isFixedWidth #setAscent: #setDescent:
BitmapFont.st
--- a/BitmapFont.st	Sun May 08 04:01:04 2016 +0200
+++ b/BitmapFont.st	Sun May 08 04:01:11 2016 +0200
@@ -412,20 +412,19 @@
 !
 
 setAscent:aNumber
-    "set the fonts ascent; that is the number of pixels
-     above the fonts baseline"
+    "set the font's ascent; that is the number of pixels
+     above the baseline"
 
     ascent := aNumber.
     maxHeight := self maxAscent + (self maxDescent max:0)
 !
 
 setDescent:aNumber
-    "set the fonts ascent; that is the number of pixels
-     below the fonts baseline"
+    "set the font's ascent; that is the number of pixels
+     below the baseline"
 
     descent := aNumber.
     maxHeight := self maxAscent + (self maxDescent max:0).
-
 ! !
 
 !BitmapFont methodsFor:'drawing'!
@@ -534,7 +533,7 @@
 !
 
 isFixedWidth
-    "return true if all of the fonts characters are equal in
+    "return true if all of the font's characters are equal in
      width."
 
     |w|