Hi,
Are there any plans to use TrueType fonts for Squeak in general?
That is a difficult question (more than you might expect ;-) For one thing, TrueType fonts are generally not free and we'd need free fonts for shipping them with the base package. Another problem is readability of vector fonts at small sizes. Even though anti-aliasing helps, I personally prefer the bitmap fonts we already have. They're much better to perceive at small sizes. A third thing to keep in mind is that TTFs are pretty expensive to render and caching them can cost a lot of memory.
So, I my *personal* feeling about TTFs is that they're very useful as graphical text (the kind you know from vector graphics packages such as CorelDraw or Illustrator) in Morphic but I'm not extremely positive about using vector fonts in general. But we need to try out more things before we can really decide where it's useful and where it isn't.
I have attempted to view the example provided in TTFontReader>>class exampleString:, but it contains a bug that I am not able to correct. First, the comment should read: 'TTFontReader exampleString:'Warum?' not TTFont exampleString:'Warum?'
Oops - this method was not at all supposed to be in there.
The error I receive when trying to execute the example is that the (class?) method default is not understood by TTFontReader. I can not identify which method should actually be called.
If you look closer at the method then you'll that it uses something called "ScheduledControllers activeController view graphicsContext" which is one of my favorite expressions from VisualWorks ;-) So, no, this method doesn't work at all.
Andreas
squeak-dev@lists.squeakfoundation.org