Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Fonts, antialiasing, perl-tk and Debian
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
January Weiner  
View profile  
(1 user)  More options Feb 17 2007, 4:37 am
Newsgroups: comp.lang.perl.tk
From: January Weiner <january.wei...@gmail.com>
Date: Sat, 17 Feb 2007 10:37:35 +0100 (CET)
Local: Sat, Feb 17 2007 4:37 am
Subject: Fonts, antialiasing, perl-tk and Debian
Hi,

I spent some time on figuring that one out, so I will just write a few
words here in case anyone else has the same problem.

In a standard Debian or Ubuntu installation, perl-tk programs look awful.
All fonts are scaled bitmaps, and it looks terribly.  Most of the "normal"
fonts accessible in other program groups are not available.  Using Canvas
is a pain in the neck, because many fonts (like Helvetica or Arial) are
substituted with Nimbus Sans. In short, it doesn't look serious and is on
the verge of not being usable for anyone but the perl-tk program author.

For a long while, I thought that this is just the way it is.  I am one of
those people who will never compile things on their own if a package is
available.  However, I recently found that Tk can be compiled with XFT
(font manager) support, which gives perl-tk programs the ability to use
all fonts accessible from XFT and antialiasing.

Using CPAN, I have downloaded the most recent perl-tk sources and
recompiled it with the XFT=1 option (perl Makefile.PL XFT=1).  It is
necessary, though, to install libxft2-dev and libxrender-dev packages.

Everything seems to work, anti aliasing and all the different fonts are now
accessible, it is stable and looks very, very good.

--
Uskadara is a little town in Turkey
And in the old days, many women had male secretaries
Oh, well, that's Turkey!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Tuckley  
View profile  
 More options Feb 17 2007, 5:34 am
Newsgroups: comp.lang.perl.tk
From: Colin Tuckley <co...@tuckley.org>
Date: Sat, 17 Feb 2007 10:34:48 GMT
Local: Sat, Feb 17 2007 5:34 am
Subject: Re: Fonts, antialiasing, perl-tk and Debian

January Weiner wrote:
> Using CPAN, I have downloaded the most recent perl-tk sources and
> recompiled it with the XFT=1 option (perl Makefile.PL XFT=1).  It is
> necessary, though, to install libxft2-dev and libxrender-dev packages.

Those are only build-depends though and wouldn't be needed on every Debian
system if the package was built with XFT=1.

I'd be keen to see the Debian Package built that way. Maybe you should email
Michael Schultheiss the Debian maintainer of Perl-Tk and suggest it.

Posting your message to the Perl-Tk list would also be a good idea.

> Everything seems to work, anti aliasing and all the different fonts are now
> accessible, it is stable and looks very, very good.

I'd certainly like to see my Perl-Tk applications look better.

regards,

Colin

--
Colin Tuckley      |  co...@tuckley.org  |  PGP/GnuPG Key Id
+44(0)1903 236872  |  +44(0)7799 143369  |     0x1B3045CE

Experience is the hardest kind of teacher. It gives you the test first, and
the lesson afterwards. - Anonymous


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
January Weiner  
View profile  
 More options Feb 17 2007, 1:26 pm
Newsgroups: comp.lang.perl.tk
From: January Weiner <january.wei...@gmail.com>
Date: Sat, 17 Feb 2007 19:26:01 +0100 (CET)
Local: Sat, Feb 17 2007 1:26 pm
Subject: Re: Fonts, antialiasing, perl-tk and Debian

Colin Tuckley <co...@tuckley.org> wrote:
> I'd be keen to see the Debian Package built that way. Maybe you should email
> Michael Schultheiss the Debian maintainer of Perl-Tk and suggest it.

Yes, I have already done that, Michael was very reactive and said he would
prepare a new package shortly.

> > Everything seems to work, anti aliasing and all the different fonts are now
> > accessible, it is stable and looks very, very good.
> I'd certainly like to see my Perl-Tk applications look better.

It makes a huge difference, believe me.  Not only it becomes more usable --
the fonts that are used for menus when launching a perl-tk program on a
default Debian are barely readable -- it also matters if you want anyone
else to use your program.

  Cheers,
  j

--
Uskadara is a little town in Turkey
And in the old days, many women had male secretaries
Oh, well, that's Turkey!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
woodenbicy...@hotmail.com  
View profile  
 More options Mar 29 2007, 10:18 am
Newsgroups: comp.lang.perl.tk
From: woodenbicy...@hotmail.com
Date: 29 Mar 2007 07:18:08 -0700
Local: Thurs, Mar 29 2007 10:18 am
Subject: Re: Fonts, antialiasing, perl-tk and Debian
On Feb 17, 1:26 pm, January Weiner <january.wei...@gmail.com> wrote:

> Colin Tuckley <c...@tuckley.org> wrote:
> > I'd be keen to see the Debian Package built that way. Maybe you should email
> > Michael Schultheiss the Debian maintainer of Perl-Tk and suggest it.

> Yes, I have already done that, Michael was very reactive and said he would
> prepare a new package shortly.

> > > Everything seems to work, anti aliasing and all the different fonts are now
> > > accessible, it is stable and looks very, very good.
> > I'd certainly like to see my Perl-Tk applications look better.

> It makes a huge difference, believe me.  Not only it becomes more usable --
> the fonts that are used for menus when launching a perl-tk program on a
> default Debian are barely readable -- it also matters if you want anyone
> else to use your program.

Does anyone know if the Debian Perl-Tk packages have been modernized
with the anti-aliased text features discussed here? I, too, would
enjoy the benefits of anti-aliased text in my Perl-Tk programs. I,
too, would prefer to download ready-to-use packages, than to compile
these softwares myself.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Tuckley  
View profile  
 More options Mar 29 2007, 12:00 pm
Newsgroups: comp.lang.perl.tk
From: Colin Tuckley <co...@tuckley.org>
Date: Thu, 29 Mar 2007 16:00:22 GMT
Local: Thurs, Mar 29 2007 12:00 pm
Subject: Re: Fonts, antialiasing, perl-tk and Debian

woodenbicy...@hotmail.com wrote:
> Does anyone know if the Debian Perl-Tk packages have been modernized
> with the anti-aliased text features discussed here? I, too, would
> enjoy the benefits of anti-aliased text in my Perl-Tk programs. I,
> too, would prefer to download ready-to-use packages, than to compile
> these softwares myself.

The changes won't make it into Etch, it's too late for that. I suspect that
once Etch is released we will see a new Perl/Tk package for Debian testing
(Lenny)

regards,

Colin

--
Colin Tuckley      |  co...@tuckley.org  |  PGP/GnuPG Key Id
+44(0)1903 236872  |  +44(0)7799 143369  |     0x1B3045CE

A. Because it breaks the logical sequence of discussion  Q. Why is top
posting bad?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google