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

commits at source.squeak.org commits at source.squeak.org
Fri Jun 4 07:13:21 EDT 2010


Ricardo Moran uploaded a new version of Multilingual to project Etoys:
http://source.squeak.org/etoys/Multilingual-Richo.10.mcz

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

Name: Multilingual-Richo.10
Author: Richo
Time: 4 June 2010, 8:12:51 am
UUID: 50916a7e-7fc6-2341-bedb-a769db363faf
Ancestors: Multilingual-Richo.9

* Allows defining new sizes for TrueType fonts.

=============== Diff against Multilingual-Richo.9 ===============

Item was changed:
  ----- Method: TTCFont>>setupDefaultFallbackTextStyleTo: (in category 'friend') -----
  setupDefaultFallbackTextStyleTo: aTextStyle
  
  	| fonts f |
+ 	aTextStyle isNil ifTrue: [^self].
  	fonts _ aTextStyle fontArray.
  	f _ fonts first.
  	f familyName = self familyName ifTrue: [^ self].
  	1 to: fonts size do: [:i |
  		self height > (fonts at: i) height ifTrue: [f _ fonts at: i].
  	].
  	self fallbackFont: f.
  	self reset.
  
  !



More information about the etoys-dev mailing list