Hi Damien,
It is a problem with all VMs, not only the Exupery one.
 
I have packaged up a fix for this.
Please see my comment in tracker issue 360 http://code.google.com/p/pharo/issues/detail?id=360 , copied below...
---
Fixed in
http://www.squeaksource.com/PharoInbox/SLICE-underlineInLazyListsWithFreeTypeFonts-andrew_tween.2.mcz

LogicalFonts do not have underlined, or strikethrough, variants. Instead it is left
to whatever is asking the font to render text to also ask the font to display the
underline. 

For TextMorphs this was already working properly, with DisplayScanner rendering
underlines and strikethrough. But, LazyListMorphs don't use DisplayScanner. They call
Canvas drawString... instead. 

I have created new drawString methods that allow the underline/strikethrough to be
specified with boolean parameters. These drawString methods then ask the font to
render the underline/strikethrough after rendering the string. In addition, the
colour of the line can be specified which will allow it to be different from the
colour of the text - e.g. text in black underlined in red.
--
This is the first time I've made a SLICE, so apologies if I have made any mistakes.
I'll sign and mail the license agreement a.s.a.p.

Cheers,
Andy

.


 
> Date: Sun, 8 Mar 2009 11:08:30 +0100
> From: damien.cassou@gmail.com
> To: pharo-project@lists.gforge.inria.fr
> Subject: [Pharo-project] FreeType font problem
>
> Hi,
>
> I'm playing with the Exupery VM on Pharo. If I change the font to
> something else than Accuny, the underlined texts are not underlined
> anymore. To reproduce:
>
> - download and use http://ftp.squeak.org/Exupery/vms/exupery-vm-0.15-linux.tz
> - go to preferences->fonts->list fonts
> - select Bistream Charter/regular/10, and apply
> - open monticello and open the Pharo repository
>
> You will see that the installed packages are not underlined anymore.
> Switch back to Accuny to see them underlined.
>
> Does any of you have the same problem?
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Beyond Hotmail � see what else you can do with Windows Live. Find out more!