Marcel Taeumel uploaded a new version of TrueType to project The Trunk: http://source.squeak.org/trunk/TrueType-mt.71.mcz
==================== Summary ====================
Name: TrueType-mt.71 Author: mt Time: 14 February 2022, 5:40:38.981304 pm UUID: 64ff8441-cbe9-3844-8887-02b08d2e05c8 Ancestors: TrueType-mt.70
Complements Graphics-mt.482.
Only flush the TrueType cache on snapshot-and-quit. Do not flush on snapshot-no-quit.
=============== Diff against TrueType-mt.70 ===============
Item was added: + ----- Method: TTCFont class>>cleanUp: (in category 'class initialization') ----- + cleanUp: aggressive + + aggressive ifTrue: [self shutDown: true].!
Item was removed: - ----- Method: TTCFont class>>shutDown (in category 'class initialization') ----- - shutDown - "Flush the glyph cache" - GlyphCacheData atAllPut: nil. - GlyphCacheIndex := 0. - ShutdownList ifNotNil:[ShutdownList do:[:fnt| fnt flushCache]]. - ShutdownList := WeakSet new. - !
Item was added: + ----- Method: TTCFont class>>shutDown: (in category 'class initialization') ----- + shutDown: quitting + "Only flush the cache on save-and-quit. This means that the image will be slightly larger when save-no-quit. Yet, it makes sense to keep up the font rendering performance when the user keeps on working. Or does it?" + + "Flush the glyph cache" + quitting ifFalse: [^ self]. + + GlyphCacheData atAllPut: nil. + GlyphCacheIndex := 0. + ShutdownList ifNotNil:[ShutdownList do:[:fnt| fnt flushCache]]. + ShutdownList := WeakSet new. + !
packages@lists.squeakfoundation.org