#DOCUMENTATION by cg
class: BitmapFont
comment/format in:
#isFixedWidth
#setAscent:
#setDescent:
--- 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|