[squeak-dev] The Trunk: TrueType-mt.83.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 4 15:01:06 UTC 2022


Marcel Taeumel uploaded a new version of TrueType to project The Trunk:
http://source.squeak.org/trunk/TrueType-mt.83.mcz

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

Name: TrueType-mt.83
Author: mt
Time: 4 March 2022, 4:01:05.995711 pm
UUID: 35825252-400d-634a-ab8a-b23d945c3a80
Ancestors: TrueType-mt.82

Always discard the reader of remote fonts during snapshotting so that restarting after no-save-quits will resume smoothly with those fonts.

I still have to think about some mechanism to fallback after file errors during glyph rendering. :-)

=============== Diff against TrueType-mt.82 ===============

Item was changed:
  ----- Method: TTRemoteFontDescription class>>shutDown: (in category 'system startup') -----
  shutDown: quitting
  
+ 	self allInstancesDo: [:ea | ea shutDown].!
- 	quitting ifTrue: [self allInstancesDo: [:ea | ea shutDown]].!

Item was changed:
  ----- Method: TTRemoteFontDescription>>atGlyphIndex: (in category 'accessing - glyphs') -----
  atGlyphIndex: anInteger
  	"Answers the glyph at its original index."
  
+ 	^ [ (self assuredReader glyphWithHMetricsAt: anInteger)
- 	^ [ (self assuredReader open; glyphWithHMetricsAt: anInteger)
  		ifNil: [self fallbackGlyph] ]
  		ensure: [ keepCache == true ifFalse: [self assuredReader flushGlyphCache] ]!



More information about the Squeak-dev mailing list