[squeak-dev] The Trunk: TrueType-mt.76.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Feb 28 08:59:17 UTC 2022
Marcel Taeumel uploaded a new version of TrueType to project The Trunk:
http://source.squeak.org/trunk/TrueType-mt.76.mcz
==================== Summary ====================
Name: TrueType-mt.76
Author: mt
Time: 28 February 2022, 9:59:16.762504 am
UUID: 36d27c31-4d56-4248-a6d2-de0a9dbdc3da
Ancestors: TrueType-mt.75
Complement Graphics-mt.488.
=============== Diff against TrueType-mt.75 ===============
Item was changed:
----- Method: TTCFont class>>shutDown: (in category 'class initialization') -----
shutDown: quitting
+ "Only flush the cache on save-and-quit unless overridden by #compressOnSnapshot preference. 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."
- "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 or: [Form compressOnSnapshot]) ifFalse: [^ self].
- quitting ifFalse: [^ self].
GlyphCacheData atAllPut: nil.
GlyphCacheIndex := 0.
ShutdownList ifNotNil:[ShutdownList do:[:fnt| fnt flushCache]].
ShutdownList := WeakSet new.
!
More information about the Squeak-dev
mailing list
|