gnome-terminal and font selection -- again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--==_Exmh_-274307696P
Content-Type: text/plain; charset=us-ascii


Around 7 o'clock on Feb 6, "Brian J. Murrell" wrote:

> So what configuration changes can I make to get access to this
> specific font (such that it will be selectable in gnome-terminal) in
> preference to what is in normal circumstances "better" Fixed fonts?
> 
> I have tried something like:
> 
> <fontconfig>
>     <match target="pattern">
> 	<test qual="any" name="family">
> 	    <string>Fixed</string>
> 	</test>
> 	<edit name="family" mode="assign">
> 	    <string>Fixed:style=Regular:slant=0:weight=100:width=87:pixelsize=13:spacing=100:foundry=Misc</string>
> 	</edit>
>     </match>
> </fontconfig>

You're so close...

You need to assign each field separately; you can't use the string 
syntax (although, that might not be a bad addition...)

	<edit name="width"><double>8.7</double></edit>

might be what you want.  I don't know what the 'width' value of the font 
you want to use is though; 87 is certainly wrong -- XLFD names use widths 
in decipixels for some weird reason.

-keith



--==_Exmh_-274307696P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAMSBMQp8BWwlsTdMRAho/AKCQ4NICmXu48jqiRDY9ihsnmg5smACdHb/y
ZAGzBZuerhBLlwkd1+bokOk=
=rq7q
-----END PGP SIGNATURE-----

--==_Exmh_-274307696P--



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux