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

commits at source.squeak.org commits at source.squeak.org
Sun Jan 30 19:18:51 UTC 2022


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

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

Name: TrueType-mt.58
Author: mt
Time: 30 January 2022, 8:18:50.806695 pm
UUID: 09c0cb65-1611-6a4c-a232-674266925c7e
Ancestors: TrueType-mt.57

Complements Graphics-mt.468. Fixes reported range in TrueType fonts, which had an off-by-one error in #maxAscii.

=============== Diff against TrueType-mt.57 ===============

Item was changed:
  ----- Method: TTCFont>>maxAscii (in category 'accessing') -----
  maxAscii
+ 
+ 	self flag: #deprecated.
+ 	^ self maxCodePoint!
- 	"Answer the max. code point in this font. The name of this method is historical."
- 	^maxAscii ifNil:[ttcDescription size].!

Item was added:
+ ----- Method: TTCFont>>maxCodePoint (in category 'accessing') -----
+ maxCodePoint
+ 
+ 	^maxAscii ifNil: [ttcDescription size - 1]!

Item was changed:
  ----- Method: TTCFont>>minAscii (in category 'accessing') -----
  minAscii
+ 
+ 	self flag: #deprecated.
+ 	^ self minCodePoint
- 	"Answer the min. code point in this font. The name of this method is historical."
- 	^ 0.
  !



More information about the Squeak-dev mailing list