[squeak-dev] Screen background odd changes

Bob Arning arning315 at comcast.net
Sun Apr 23 21:51:52 UTC 2017


Well, no, I expect it's more the original problem you were noting. Given 
that

#(BitstreamVeraSans ComicSansMS) collect: [ :n || f |
     f _ TextStyle named: n. {f. f pointSizes}]  ==> {{a TextStyle 
BitstreamVeraSans . #(9 12 13 15 24 36)} . {a TextStyle 
BitstreamVeraSans . #(6 9 11 17 26)}}

and

TTCFont>>textStyle

     ^ TextStyle actualTextStyles
         detect: [:aStyle | (aStyle fontArray collect: [:s | s name]) 
includes: self name]
         ifNone: [nil]

selects *a* style with the same name, then trying to install the real 
BitstreamVeraSans may end up installing the one alternately known as 
ComicSansMS. This one has different point sizes from those proffered in 
the FontChooserTool, so the font you actually get is the smallest which 
is 6 point and hence a decision to resize all windows appropriately. 
Even if they really don't care what the default font is. Given the 
implementation of #textStyle, it's probably a very bad idea to share 
font names like this.

On 4/23/17 1:03 PM, tim Rowledge wrote:
> I wouldn’t be too surprised if a similar change made for you r window size alterations.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170423/9010174a/attachment.html>


More information about the Squeak-dev mailing list