[ANN] FreeType Plus release

John M McIntosh johnmci at smalltalkconsulting.com
Mon Apr 30 20:54:12 UTC 2007


In all of this I'm not sure if people noticed another important  
change we made in Sophie.

That was changing emphasis from a magic number to an object.

Then you could ask

isBold
	^self emphasis includesEmphasis: SophieFontEmphasisEncoder bold


The reason for this was to handle things like 'Light' ,Condensed,  
Medium, Demibold, or ExtraBold
Also to get rid of magic numbers, which btw were not say in a 3.8  
image actually correctly handled in *all*
the places where code was looking for magic emphasis numbering.




--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===





More information about the Squeak-dev mailing list