Date: 08 Dec 2002 12:10:02 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Christer Gundersen <dtun3z@online.no> Cc: freebsd-gnome@FreeBSD.ORG Subject: Re: gtk2 antialias problem Message-ID: <1039367401.39873.6.camel@gyros> In-Reply-To: <1039370694.493.6.camel@funshine.carebears.net> References: <1039366900.266.2.camel@funshine.carebears.net> <1039363824.330.1.camel@gyros> <1039367763.266.10.camel@funshine.carebears.net> <1039365453.39399.2.camel@gyros> <1039369854.493.3.camel@funshine.carebears.net> <1039366699.39873.1.camel@gyros> <1039370694.493.6.camel@funshine.carebears.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-GR3g5fWZSvJbXurWQHtC Content-Type: text/plain; charset=ISO8859-1 Content-Transfer-Encoding: 8bit On Sun, 2002-12-08 at 13:04, Christer Gundersen wrote: > On søn, 2002-12-08 at 16:58, Joe Marcus Clarke wrote: > > On Sun, 2002-12-08 at 12:50, Christer Gundersen wrote: > > > > #!/bin/sh > > > > > > > > GDK_USE_XFT=1 ; export GDK_USE_XFT > > > > exec twm > > > > > > > > Is there anything different about the way you run X and GNOME versus X > > > > and E or BB? > > > > > > > > > > > > Hm, no. > > > > > > my .xinitrc look like this: > > > export GDK_USE_XFT="1" > > > galeon -s & > > > > > > #enlightenment > > > gnome-session > > > > That should do it, provided E isn't unsetting or ignoring the variable > > in its own menus. But, if you get the same behavior when you launch > > from the shell directly, then that must not be it. What GNOME 2 > > applications are you trying to run? > > > > Joe > > > > Just for testing i`m running gedit. > Hm, i just tried sending some (4) screenshots to the list, but that > didnt work it seems. > http://carebears.mine.nu/stuff/gtk/ > check those screenshots. > The two first screenshots are taken in E, those other two are in GNOME. Screenshot 2 looks like the fonts are anti-aliased. It may not be very obvious, though. You might want to try a jacked-up XftConfig file. I installed the URW and webfonts ports, then used this /usr/X11R6/lib/X11/XftConfig file, and my fonts look crystal-clear. This is a modified version of one Maxime posted a while ago. Joe > -- PGP Key : http://www.marcuscom.com/pgp.asc --=-GR3g5fWZSvJbXurWQHtC Content-Disposition: attachment; filename=XftConfig Content-Type: text/plain; name=XftConfig; charset=ISO8859-1 Content-Transfer-Encoding: 7bit # # XftConfig # # Use with Type1 and TrueType fonts # dir "/usr/X11R6/lib/X11/fonts/Type1" dir "/usr/X11R6/lib/X11/fonts/TrueType" dir "/usr/X11R6/lib/X11/fonts/webfonts/" dir "/usr/X11R6/lib/X11/fonts/URW/" match any family == "Arial" edit antialias = true; match any family == "Andale" edit antialias = true; match any family == "Verdana" edit antialias = true; match any family == "Trebuchet" edit antialias = true; match any family == "Times" edit antialias = true; match any family == "serif" edit family += "LuciduxSerif"; match any family == "sans" edit family += "LuciduxSans"; match any family == "fixed" edit family =+ "mono"; match any family == "console" edit family =+ "mono"; match any family == "mono" edit family += "LuciduxMono"; includeif "~/.xftconfig" match any family == "mono" all slant == roman all weight < bold edit family += "monotype.com"; match any family == "Charter" edit family += "Bitstream Charter"; match any family == "Bitstream Charter" edit family =+ "Charter"; match any family == "Lucidux Serif" edit family += "LuciduxSerif"; match any family == "LuciduxSerif" edit family =+ "Lucidux Serif"; match any family == "Lucidux Sans" edit family += "LuciduxSans"; match any family == "LuciduxSans" edit family =+ "Lucidux Sans"; match any family == "Lucidux Mono" edit family += "LuciduxMono"; match any family == "LuciduxMono" edit family =+ "Lucidux Mono"; # # TrueType font aliases # match any family == "Comic Sans" edit family += "Comic Sans MS"; match any family == "Comic Sans MS" edit family =+ "Comic Sans"; match any family == "Trebuchet" edit family += "Trebuchet MS"; match any family == "Trebuchet MS" edit family =+ "Trebuchet"; match any family == "Monotype" edit family =+ "Monotype.com"; match any family == "Andale Mono" edit family += "Monotype.com"; match any family == "Monotype.com" edit family =+ "Andale Mono"; --=-GR3g5fWZSvJbXurWQHtC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1039367401.39873.6.camel>