vayde has asked for the wisdom of the Perl Monks concerning the following question:

I am a newbie to perl/tk, and the fonts that are available to me appear to have horrible aliasing. All other fonts on the system seem to be fine (Gtk-perl, etc) How do I use antialias fonts under perl/tk?

Replies are listed 'Best First'.
Re: perl/tk fonts
by Courage (Parson) on Mar 07, 2006 at 08:02 UTC
    since font aliasing introduced in Tcl/Tk 8.5, you can use it with Tcl::Tk or Tkx modules from CPAN, which are, unlike perl/Tk, use Tk externally, thus allowing more modern and capable version to use.

    ... and font aliasing problem do not exists on Windows, where rendering goes a bit differently.

    Best regards,
    Courage, the Cowardly Dog

Re: perl/tk fonts
by msemtd (Scribe) on Mar 07, 2006 at 16:20 UTC
    The latest Tk from CPAN (Tk804.027) addresses this to some degree by using Xft, fontconfig and freetype2 to render fonts giving antialiasing for truetype fonts. Build with XFT=1.
    -- map & grep are our friends
Re: perl/tk fonts
by sanPerl (Friar) on Mar 07, 2006 at 07:04 UTC
    Just a suggestion, although may not directly relate to your question.
    We are checking if we could use Zooz for our Perl front-end development.
    Check it at your end it is interesting indeed...