Date: Mon, 23 Jan 2006 20:49:39 -0500 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: Joseph Vella <satyam@sklinks.com> Cc: freebsd-x11@FreeBSD.org Subject: Re: Redirect Helvetica to Bitstream Vera Sans? Message-ID: <43D587B3.8070003@FreeBSD.org> In-Reply-To: <200601231736.17160.satyam@sklinks.com> References: <4c13bcc60601222309x24f3215cpcf73c22eecb12514@mail.gmail.com> <200601231846.38189.dejan.lesjak@ijs.si> <4c13bcc60601231135w39a4556fyf38bf10a256817aa@mail.gmail.com> <200601231736.17160.satyam@sklinks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joseph Vella wrote:
> I've got most of my fonts looking good on my LCD display. Antialiasing is
> working, etc.. But there are many pages and emails that look horrible.
> Whenever I look at the source it has always been Verdana, Helvetica or Arial.
> All the work I've done that has worked to improve my fonts has been in
> ~/.fonts.conf
>
> Here is what I'm trying that doesn't seem to have any effect:
>
> <match target="pattern" name="family" >
> <test name="family" qual="any" >
> <string>Helvetica</string>
> </test>
> <edit mode="assign" name="family" >
> <string>sans-serif</string>
> </edit>
> </match>
> <match target="pattern" name="family" >
> <test name="family" qual="any" >
> <string>Verdana</string>
> </test>
> <edit mode="assign" name="family" >
> <string>sans-serif</string>
> </edit>
> </match>
>
>
> In the same file I have antialias set to true, hinting set to true and
> hintstyle set to hintfull. Those all make a noticable difference. I haven't
> put size requirements on antialiasing, but I don't feel that's my problem.
> Because increasing the size of the problematic fonts doesn't help.
>
> I've tried the above redirects to Bitstream Vera Sans, but that also had no
> effect.
>
> I did try to put Verdana and Arial fonts from a windows machine into ~/.fonts
> directory, followed up with a fc-cache -f command. That had no effect.
>
> Any ideas? Also, where do I find what sans-serif is set to?
This will do what you want:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern" name="family">
<test qual="any" name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>
</fontconfig>
Joe
>
> Joseph Vella
>
>
>
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>
- --
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD1Yezb2iPiv4Uz4cRAidLAJ9oIiHxfg8OwcZYEQZLHgkUo81+4ACgqnFK
IUpFTate5Qhoku2venu2Xw0=
=UBng
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D587B3.8070003>
