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

Marcel Taeumel marcel.taeumel at hpi.de
Mon Feb 7 20:12:23 UTC 2022


> How reliable can such a check be? :o

You tell me. :-) It would break if both characters match the fallback glyph. xD

Best,
Marcel
Am 06.02.2022 19:22:37 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
How reliable can such a check be? :o

Best,
Christoph
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Montag, 24. Januar 2022 11:24:58
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: Graphics-mt.466.mcz
 
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.466.mcz [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)!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220207/6f2ca685/attachment.html>


More information about the Squeak-dev mailing list