[squeak-dev] The Trunk: System-mt.1302.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 5 15:08:52 UTC 2022

Marcel Taeumel uploaded a new version of System to project The Trunk:

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

Name: System-mt.1302
Author: mt
Time: 5 February 2022, 4:08:47.918491 pm
UUID: 947ea0f6-19a2-1147-aefe-55f0b773544b
Ancestors: System-mt.1301

Tweaks Accujen point size. Resets recommended #extraScale for our BitstreamVera fonts, optimized for 75% to 150% scale factor. Update all texts to use the recommended #extraGap in each TrueType font.

Note that you can adjust #extraScale and #extraGap in each TrueType font family via Help > Font Size Summary or About Squeak > Image Fonts. Also see #chooseExtraScale and #chooseExtraGap.

=============== Diff against System-mt.1301 ===============

Item was changed:
+ (PackageInfo named: 'System') postscript: '"Fixes Accujen point sizes."
+ (TextStyle named: #Accujen) ifNotNil: [:style |
+ 	(style fontArray at: 2) pointSize: 9.5.
+ 	(style fontArray at: 3) pointSize: 11.0].
- (PackageInfo named: 'System') postscript: '"Add missing sTypo values for our Bitstream Vera fonts."
- TTFontDescription allInstancesDo: [:ea | (ea familyName beginsWith: ''Bitstream Vera'')
- 	ifTrue: [ea setTypographicAscender: 1556 descender: -492 lineGap: 410 ]].
+ "Reset extraScale for BitstreamVera fonts."
+ TTCFont allSubInstancesDo: [:ea | | tt | ((tt := ea ttcDescription) familyName beginsWith: ''Bitstream Vera'') ifTrue: [tt instVarNamed: #extraScale put: nil]].
+ "Update #leading in all text styles using the default font''s #lineGap. Also remove all cached glyphs. Supports #extraGap now."
- "Update #leading in all text styles using the default font''s #lineGap. Also remove all cached glyphs."
  AbstractFont allSubInstancesDo: [ :font | font pixelsPerInchChanged ].
  TextStyle allInstancesDo: [ :style | style pixelsPerInchChanged ].
+ '!
- "Fix default font sizes in existing text styles according to the current UserInterfaceTheme."
- UserInterfaceTheme current installSystemFont: TextStyle defaultFont.'!

More information about the Squeak-dev mailing list