[etoys-dev] Etoys: Multilingual-Richo.12.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 8 13:02:27 EDT 2010

Ricardo Moran uploaded a new version of Multilingual to project Etoys:

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

Name: Multilingual-Richo.12
Author: Richo
Time: 8 June 2010, 2:01:43 pm
UUID: a9b4b3fd-d4ac-8040-b9e3-e87751a18c54
Ancestors: Multilingual-Richo.11

* Fixed an error in TTCFont. It used to throw an error in #displayString:on:from:to:at:kern:baselineY: when ascent wasn't properly initialized.

=============== Diff against Multilingual-Richo.11 ===============

Item was changed:
  ----- Method: TTCFont>>glyphInfoOf:into: (in category 'private') -----
  glyphInfoOf: aCharacter into: glyphInfoArray
  	"Answer the width of the argument as a character in the receiver."
  	| form |
  	(self hasGlyphOf: aCharacter) ifFalse: [
  		^ self fallbackFont glyphInfoOf: aCharacter into: glyphInfoArray.
  	form := self formOf: aCharacter.
  	glyphInfoArray at: 1 put: form;
  		at: 2 put: 0;
  		at: 3 put: form width;
+ 		at: 4 put: self ascent "(self ascentOf: aCharacter)";
- 		at: 4 put: ascent "(self ascentOf: aCharacter)";
  		at: 5 put: self.
  	^ glyphInfoArray.

More information about the etoys-dev mailing list