Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2003 07:58:50 +0100
From:      Bernard El-Hagin <bernard.el-hagin@lido-tech.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Anti aliased fonts in FBSD
Message-ID:  <klmtsvkr70fgbvd1hdfv6nuqv1m97mompj@4ax.com>
In-Reply-To: <1070520700.26031.39.camel@shumai.marcuscom.com>
References:  <n9itsv0qitnivjqoeqlp08c5pculoui4ik@4ax.com> <1070518494.26031.21.camel@shumai.marcuscom.com> <78ktsvgnq7f5n98np0vkgkdtp2q4qrhn0v@4ax.com> <1070519258.26031.32.camel@shumai.marcuscom.com> <acltsvck8h49np1mdmmnv17iga4602fgbt@4ax.com> <1070520700.26031.39.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
owner-freebsd-questions@freebsd.org wrote:

>On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
>> owner-freebsd-questions@freebsd.org wrote:
>>=20
>> >On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
>> >> owner-freebsd-questions@freebsd.org wrote:
>> >>=20
>> >> >On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
>> >> >> Hello,
>> >> >>=20
>> >> >>   When I install some appliactions from ports they have nice
>> >> >> anti-aliased fonts by default (gaim, for example). Unfortunately=
 others
>> >> >> do not (most notably gVim and also LinCVS, both of which are =
capable of
>> >> >> using them). Where exactly is this governed? How do I tell =
applications
>> >> >> to always use anti-aliased fonts? I am running CURRENT.
>> >> >
>> >> >There's a section on this in the FreeBSD handbook:
>> >> >
>> >> =
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html
>> >>=20
>> >>=20
>> >> Thanks to that section of the handbook I have enabled anti-aliased =
fonts
>> >> in X, but it doesn't explain why some applications use those fonts =
by
>> >> default and others don't. That's my real problem.
>> >
>> >Yes it does.  The last paragraph states:
>> >
>> >"Anti-aliasing should be enabled the next time the X server is =
started.
>> >However, programs must know how to take advantage of it. At present, =
the
>> >Qt toolkit does, so the entire KDE environment can use anti-aliased
>> >fonts (see Section 5.7.3.2 on KDE for details). Gtk+ and GNOME can =
also
>> >be made to use anti-aliasing via the ``Font'' capplet (see Section
>> >5.7.1.3 for details). By default, Mozilla 1.2 and greater will
>> >automatically use anti-aliasing. To disable this, rebuild Mozilla =
with
>> >the -DWITHOUT_XFT flag."
>> >
>> >So, do you have gVim built with gtk+-2 support, and have you done =
what
>> >section 5.7.3.2 tells you for KDE/Qt apps (i.e. set QT_XFT to true)?
>>=20
>>=20
>> I don't use KDE nor Gnome, but as I understand it any application =
which
>> is built with either Qt or Gtk+-2 support should be capable of using
>> anti-aliased fonts. What I'm asking is how do I:
>
>Yes, per the cross-referenced sections in the above paragraph, you may
>have to do some additional setting of variables if you do not use the
>respective desktops.
>
>>=20
>>=20
>> 1. find out before building an application whether it will be built =
with
>> support for either of those,
>
>As things are right now, looking at the ports' Makefiles is your best
>bet.


OK, that's what I was looking for. Thanks.


>> 2. make sure that such support is added if it's not there by default
>> (which I should be able to establish in step 1).
>
>Once you figure out the variable to set, you can add it to make.conf or
>pkgtools.conf (or both).


Does this mean that the name of the variable governing the AA fonts will
be the same for any application which can use them? That's cool.


Thanks for your help.


Cheers,
Bernard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?klmtsvkr70fgbvd1hdfv6nuqv1m97mompj>