Marcel Taeumel uploaded a new version of System to project The Trunk: http://source.squeak.org/trunk/System-mt.1326.mcz
==================== Summary ====================
Name: System-mt.1326 Author: mt Time: 16 March 2022, 3:09:31.524608 pm UUID: 4abf5e25-04e4-ef45-bff2-fe94bc13c45a Ancestors: System-mt.1325
Warn the user if they try to install a font as code font that cannot display latin-1. Complements TrueType-mt.90
=============== Diff against System-mt.1325 ===============
Item was changed: ----- Method: UserInterfaceTheme class>>setFont:to: (in category 'tools - fonts') ----- setFont: symbolicName to: aFont "Set symbolicName to aFont in all known UI themes. If aFont is a TrueType font, transform all themes into TTC-based ones."
(symbolicName = #standardSystemFont and: [aFont isTTCFont]) ifTrue: [self makeAllTTCBased]. + symbolicName = #standardCodeFont + ifTrue: [ "Source code is mostly single-byte strings. Verify that this font can render those so that we can implement fast paths. See #displayByteString:on:from:to:at:kern:baselineY:." + (aFont minCodePoint <= 16r20 "space" and: [aFont maxCodePoint >= 16rFF]) + ifFalse: [self notify: 'The standard code font should support latin-1 encoding but this one does not!! For performance reasons, there is no support for fallback fonts in single-byte strings. Please choose a different font as code font.' translated]].
self allThemes do: [:uit | uit setFont: symbolicName to: aFont].!
packages@lists.squeakfoundation.org