Marcel Taeumel uploaded a new version of TrueType to project The Trunk: http://source.squeak.org/trunk/TrueType-mt.52.mcz
==================== Summary ====================
Name: TrueType-mt.52 Author: mt Time: 20 August 2019, 3:35:06.793246 pm UUID: 6fb23ce7-780d-784a-96ab-4b108da4c7da Ancestors: TrueType-pre.51
Fixes TTCFont-to-TextStyle detection, which makes EtoysTheme look better.
Note that Squeak's management of fonts and text styles and text-font changes and text-font references is kind of ugly. :-)
=============== Diff against TrueType-pre.51 ===============
Item was changed: ----- Method: TTCFont>>textStyle (in category 'accessing') ----- textStyle
+ | styles | + styles := TextStyle actualTextStyles. + + ^ (styles includesKey: self name) + ifTrue: [styles at: self name] + ifFalse: [ + "Fallback: Maybe this font is in a text style with another name?" + styles + detect: [:aStyle | aStyle fontArray anySatisfy: [:font | font name = self name]] + ifNone: [nil]]! - ^ TextStyle actualTextStyles - detect: [:aStyle | (aStyle fontArray collect: [:s | s name]) includes: self name] - ifNone: [nil]!
packages@lists.squeakfoundation.org