diff -r 915782c7f935 -r 4fcdfee4604c FontDescription.st --- 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 the fonts family ('courier', 'helvetica' etc) face the fonts face ('bold', 'medium' etc) style the fonts style ('roman', 'italic', 'oblique') - size the fonts size (not in pixels) + size the fonts size (by default, in points, not in pixels; but see sizeUnit) encoding the fonts encoding (usually #iso8859-1) manufacturer @@ -60,6 +62,9 @@ flags holds serif/italic etc. as flag bits masks currently dummy; to allow ST-80 compatible subclassing pixelSize currently dummy; to allow ST-80 compatible subclassing + sizeUnit #px or #pt; defines what size is measuring + weight for real fonts, which support it + slant 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 $' ! !