Begin forwarded message:
Date: Mon, 24 Oct 2016 09:50:47 0000 From: commits@source.squeak.org To: squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org Reply-To: squeak-dev@lists.squeakfoundation.org Subject: The Trunk: TrueType-tfel.47.mcz Message-Id: E1bybu3-00005k-Sw@andreas
Tim Felgentreff uploaded a new version of TrueType to project The Trunk: http://source.squeak.org/trunk/TrueType-tfel.47.mcz
==================== Summary ====================
Name: TrueType-tfel.47 Author: tfel Time: 24 October 2016, 11:50:46.672614 am UUID: 36b598dd-88a8-824d-985b-8d70c82ba0ea Ancestors: TrueType-tfel.46
fix an infinite loop when there is a cycle through (multiple) fallback fonts
=============== Diff against TrueType-tfel.46 ===============
Item was changed: ----- Method: TTCFont>>widthOf: (in category 'public') ----- widthOf: aCharacter "This method cannot use #formOf: because formOf: discriminates the color and causes unnecessary bitmap creation." (self hasGlyphOf: aCharacter) ifFalse: [
(fallbackFont notNil and: [fallbackFont hasGlyphOf: aCharacter]) ifTrue:
[^ fallbackFont widthOf: aCharacter].
^ 1 ]. ^(self formOf: aCharacter) width!fallbackFont ifNotNil: [^ fallbackFont widthOf: aCharacter].
squeak-dev@lists.squeakfoundation.org