Squeak SmalltalkJoker Squeak Smalltalk : Fonts : prevnext Point Pixel Size

>I don't know if this is considered a bug. but..
>
> (TextMorph new string: 'Text me!' fontName: 'ComicSansMS' size: 26)
> openInWorld.
>
> ..shows the proper font but has font size 11.

Don't confuse 'size' with 'pointSize'. The font operations that have 'size' in 
their names refer to nominal height in pixels. And since a point is not the 
same as a pixel, these differ by a factor of 96/72 (by default).

I picked a nominal factor of 96 dpi because it was close to the actual 
resolution of today's display devices.

Plus,

 fontOfSize: whatever

will find the closest  *pixel* size to whatever.

So if you ask for a 26 pixel tall font (which is what you did), this is going 
to find the closest available font size to 26 pixels/19.5 points.

Which apparently was the 11 point font you found.