Re: anti-aliased fonts

2008-05-25 Thread Girish Kulkarni
On Sat, May 24, 2008 at 9:37 PM, Ashish Shukla wrote:
 Search for FireFox in this blog post[1]

That helped. Although, I had to restrict font availability in Firefox;
some fonts don't support anti-aliasing.

 You might like to join bsd-india[2] list[3].

Thanks.

-- 
Girish Kulkarni - Allahabad, India - http://girish.50webs.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anti-aliased fonts

2008-05-24 Thread Girish Kulkarni
Hi,

I have been trying to get font anti-aliasing and sub-pixel sampling
right in Xfce 4.4.3 and GNOME 2.22 on FreeBSD 7.0 for my laptop.

The handbook [1] has the following to say on anti-aliasing in its
section 5.5.3:

Beginning with XFree86 4.3.0, all fonts in X11 that are found
in /usr/local/lib/X11/fonts/ and ~/.fonts/ are automatically
made available for anti-aliasing to Xft-aware
applications. Not all applications are Xft-aware, but many
have received Xft support. Examples of Xft-aware applications
include Qt 2.3 and higher (the toolkit for the KDE desktop),
GTK+ 2.0 and higher (the toolkit for the GNOME desktop), and
Mozilla 1.2 and higher.

Although I succeeded in getting the effect on the GNOME panels and
other GTK applications, some applications like Firefox and rxvt seem
to be having problems with anti-aliasing. I have kept a sample on the
web to show how terrible this looks [2]. How do I achieve
anti-aliasing in these applications, especially in Firefox? (I have
several---Truetype or otherwise---fonts available and fp is set up
suitably.)

Thanks,
Girish.

[1] 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html#ANTIALIAS
[2] http://girish.50webs.com/im.png

-- 
Girish Kulkarni - Allahabad, India - http://girish.50webs.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anti-aliased fonts

2008-05-24 Thread Ashish Shukla आशीष शुक्ल
 Girish Kulkarni writes:
Girish Hi,

Hi,

[snip]

Girish Although I succeeded in getting the effect on the GNOME panels and
Girish other GTK applications, some applications like Firefox and rxvt seem
Girish to be having problems with anti-aliasing. I have kept a sample on 
the
Girish web to show how terrible this looks [2]. How do I achieve
Girish anti-aliasing in these applications, especially in Firefox? (I have
Girish several---Truetype or otherwise---fonts available and fp is set up
Girish suitably.)

Search for FireFox in this blog post[1]

Girish -- 
Girish Girish Kulkarni - Allahabad, India - http://girish.50webs.com

You might like to join bsd-india[2] list[3].

References:
[1] - http://netbuzzme.blogspot.com/2006/01/freebsd-is-really-cool.html
[2] - http://www.bsd-india.org/
[3] - http://www.bsd-india.org/mailman/listinfo/bsd-india

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpKVnwWSpIMA.pgp
Description: PGP signature


Re: Anti aliased fonts in FBSD

2003-12-04 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
  [EMAIL PROTECTED] wrote:
  
  On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
   Hello,
   
 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
  
  
  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)?
 
 
 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.

 
 
 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-04 Thread Joe Marcus Clarke
On Thu, 2003-12-04 at 01:58, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
  [EMAIL PROTECTED] wrote:
  
  On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
   [EMAIL PROTECTED] wrote:
   
   On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
Hello,

  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
   
   
   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)?
  
  
  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.
 
  
  
  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.

No.  WITH[OUT]_XFT is what some ports use, but some ports will use AA as
long as they're built with a supporting toolkit (e.g. vim).  In those
cases, you have to set the make variable to enable the port to build
with that toolkit (e.g. WITH_GTK2).

Joe

 
 
 Thanks for your help.
 
 
 Cheers,
 Bernard
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Anti aliased fonts in FBSD

2003-12-03 Thread Bernard El-Hagin


Hello,

  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.


Thanks.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Joe Marcus Clarke
On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
 Hello,
 
   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

Joe

 
 
 Thanks.
 
 
 Cheers,
 Bernard
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
 Hello,
 
   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


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.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Joe Marcus Clarke
On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
  Hello,
  
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
 
 
 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)?

Joe

 
 
 Cheers,
 Bernard
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
  Hello,
  
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
 
 
 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)?


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:


1. find out before building an application whether it will be built with
support for either of those,


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).


Thanks.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Joe Marcus Clarke
On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
  [EMAIL PROTECTED] wrote:
  
  On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
   Hello,
   
 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
  
  
  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)?
 
 
 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.

 
 
 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.

 
 
 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).

Joe

 
 
 Thanks.
 
 
 Cheers,
 Bernard
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part