[squeak-dev] The Trunk: Graphics-ct.414.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Sep 11 23:51:09 UTC 2019
Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ct.414.mcz
==================== Summary ====================
Name: Graphics-ct.414
Author: ct
Time: 11 September 2019, 9:43:19.859453 pm
UUID: 6b976373-34ba-f74e-98e2-a483f5990413
Ancestors: Graphics-mt.410
Fix an infinite loop in FixedFaceFont>>#widthOf:
Before this commit, FormSetFont example crashed your image.
=============== Diff against Graphics-mt.410 ===============
Item was changed:
----- Method: FixedFaceFont>>widthOf: (in category 'measuring') -----
+ widthOf: aCharacter
+ ^ (baseFont hasGlyphOf: aCharacter)
+ ifTrue: [baseFont widthOf: substitutionCharacter]
+ ifFalse: [1]!
- widthOf: aCharacter
- ^ baseFont widthOf: substitutionCharacter!
More information about the Squeak-dev
mailing list
|