[Pkg] The Trunk: Graphics-nice.252.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Oct 5 20:51:53 UTC 2013


Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-nice.252.mcz

==================== Summary ====================

Name: Graphics-nice.252
Author: nice
Time: 5 October 2013, 10:50:45.195 pm
UUID: b9dca6c5-cc01-47ba-8c96-f69df8b839da
Ancestors: Graphics-nice.251

Temporarily restore space stopCondition handling so as to make update work...

=============== Diff against Graphics-nice.251 ===============

Item was added:
+ ----- Method: CharacterBlockScanner>>space (in category 'stop conditions') -----
+ space
+ 	"Account for spaceWidth"
+ 
+ 	spaceCount := spaceCount + 1.
+ 	lastCharacterWidth := spaceWidth.
+ 	(destX + lastCharacterWidth)  >= characterPoint x
+ 		ifTrue:
+ 			[^self crossedX].
+ 	lastIndex := lastIndex + 1.
+ 	destX := destX + lastCharacterWidth.
+ 	^ false!

Item was added:
+ ----- Method: DisplayScanner>>space (in category 'stop conditions') -----
+ space
+ 	"Don't display the space, just skip the spaceWidth."
+ 
+ 	spaceCount := spaceCount + 1.
+ 	destX := destX + spaceWidth.
+ 	lastIndex := lastIndex + 1.
+ 	pendingKernX := 0.
+ 	^ false!



More information about the Packages mailing list