[squeak-dev] The Trunk: Graphics-mt.467.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Jan 27 11:35:21 UTC 2022
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.467.mcz
==================== Summary ====================
Name: Graphics-mt.467
Author: mt
Time: 27 January 2022, 12:35:13.145541 pm
UUID: 7b6ea779-3305-2246-a533-1c9b6bb479ac
Ancestors: Graphics-mt.466
Fixes bug in synthetic StrikeFonts. An old change in #reset made it necessary to copy derivativeFonts in #postCopy. See, for example, #makeItalicGlyphs. #derivativeFonts should be a tree, not a graph.
=============== Diff against Graphics-mt.466 ===============
Item was changed:
----- Method: StrikeFont>>postCopy (in category 'copying') -----
postCopy
+ "The receiver is a just created shallow copy. This method gives it the final touch."
+
+ glyphs := glyphs copy.
+ xTable := xTable copy.
+ characterToGlyphMap := characterToGlyphMap copy.
+ derivativeFonts := derivativeFonts copy.
+
+ self reset. " takes care of the derivative fonts "!
- " the receiver is a just created shallow copy. This method gives it the final touch. "
-
- glyphs := glyphs copy.
- xTable := xTable copy.
- characterToGlyphMap := characterToGlyphMap copy.
-
- self reset. " takes care of the derivative fonts "!
Item was changed:
----- Method: StrikeFont>>printShortDescriptionOn: (in category 'printing') -----
printShortDescriptionOn: aStream
aStream
nextPutAll: self familyName;
space; print: self pointSize; nextPutAll: 'pt';
space; print: self pixelsPerInch; nextPutAll: 'ppi';
+ space; print: self height; nextPutAll: 'px';
+ space; nextPutAll: self emphasisString.!
- space; print: self height; nextPutAll: 'px'.!
More information about the Squeak-dev
mailing list
|