[UPDATES] TrueTypeTextStyle

Doug Way dway at riskmetrics.com
Sun Jun 29 07:29:15 UTC 2003


The approved TrueTypeTextStyle enhancement with recent fixes.  (I'll 
try to get to the rest of the approved items tomorrow...)

- Doug Way


------------------------

5279TrueTypeTextStyle-yo -- Yoshiki Ohshima and Ned Konz -- 26 June 2003
26 June:
made emphasis use lookup table too.
This merges:
Yoshiki Ohshima's TrueTypeTextStyle version 5 from SqueakMap
TrueTypeTextStyle version 6 beta
and Tom Blanchard's VeraTTFCompatibility.2.cs additions.
It can be safely loaded into a image with version 5 loaded, or into a 
virgin image.
It should also do the right thing when loading old instances in 
projects.
"Convert existing instances"
Smalltalk at: #TTCFont ifPresent: [ :ttcFont |
	(ttcFont instVarNames includes: #pixelSize) ifTrue: [
		ttcFont addInstVarName: 'pointSize'.
		ttcFont allInstancesDo: [ :font |
			font instVarNamed: 'pointSize' put: (font pointSize).
		]
	]
].



More information about the Squeak-dev mailing list