The Trunk: Graphics-nice.252.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-nice.252.mcz

commits-2
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!