[squeak-dev] The Trunk: TrueType-mt.84.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Mar 7 10:13:43 UTC 2022
Marcel Taeumel uploaded a new version of TrueType to project The Trunk:
http://source.squeak.org/trunk/TrueType-mt.84.mcz
==================== Summary ====================
Name: TrueType-mt.84
Author: mt
Time: 7 March 2022, 11:13:42.347204 am
UUID: 07a880d0-6d11-f74c-bc4e-67073a745788
Ancestors: TrueType-mt.83
In font-file handles, complement #font(OfPointSize:) protocol with the usual #textStyle(OfPointSize:) to simplify font preview without installation.
=============== Diff against TrueType-mt.83 ===============
Item was added:
+ ----- Method: TTFontFileHandle>>textStyle (in category 'building') -----
+ textStyle
+ "Always create a new font array with a single font to force a specific emphasis in the text where this style will be used."
+
+ ^ TextStyle fontArray: {self font}!
Item was added:
+ ----- Method: TTFontFileHandle>>textStyleOfPointSize: (in category 'building') -----
+ textStyleOfPointSize: aPointSize
+
+ ^ TextStyle fontArray: {self fontOfPointSize: aPointSize}!
More information about the Squeak-dev
mailing list
|