--- a/FontDescription.st Fri Mar 13 13:27:03 2015 +0100
+++ b/FontDescription.st Fri Mar 13 13:29:10 2015 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1994 by Claus Gittinger
All Rights Reserved
@@ -49,7 +51,7 @@
family <String> the fonts family ('courier', 'helvetica' etc)
face <String> the fonts face ('bold', 'medium' etc)
style <String> the fonts style ('roman', 'italic', 'oblique')
- size <String> the fonts size (not in pixels)
+ size <String> the fonts size (by default, in points, not in pixels; but see sizeUnit)
encoding <Symbol> the fonts encoding (usually #iso8859-1)
manufacturer <nil|String|Array>
@@ -60,6 +62,9 @@
flags <SmallInteger> holds serif/italic etc. as flag bits
masks <SmallInteger> currently dummy; to allow ST-80 compatible subclassing
pixelSize <SmallInteger> currently dummy; to allow ST-80 compatible subclassing
+ sizeUnit <Symbol> #px or #pt; defines what size is measuring
+ weight <SmallInteger> for real fonts, which support it
+ slant <SmallInteger> for real fonts, which support it
[class variables:]
BoldnessMask currently dummy; to allow ST-80 compatible subclassing
@@ -1742,11 +1747,11 @@
!FontDescription class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.99 2015-03-13 12:27:03 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.100 2015-03-13 12:29:10 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.99 2015-03-13 12:27:03 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.100 2015-03-13 12:29:10 cg Exp $'
! !