[squeak-dev] The Trunk: Graphics-mt.466.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 24 10:24:58 UTC 2022


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

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

Name: Graphics-mt.466
Author: mt
Time: 24 January 2022, 11:24:34.965852 am
UUID: d9911a4f-0e24-cc42-9144-457e9ff9960e
Ancestors: Graphics-mt.465

Adds a query to check whether a font has fixed-width glyphs. User terminology similar to TextStyle class >> #defaultFixed.

=============== Diff against Graphics-mt.465 ===============

Item was added:
+ ----- Method: AbstractFont>>hasFixedWidth (in category 'testing') -----
+ hasFixedWidth
+ 	"Answer whether the receiver is a monospaced/fixed-width/non-proportional font. See TextStyle class >> #defaultFixed."
+ 
+ 	^ (self widthOf: $.) = (self widthOf: $w)!



More information about the Squeak-dev mailing list