gnome-terminal and font selection -- again

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

 



--=-yMGYZqqpDQfOcRD4Ae0d
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

My appologies if you see this more than once.  I tried a couple of times
to post via Gmane but that does not seem to be making for some reason.

I know this topic seems to get covered in various places with various
different hacks (i.e. deleting "fixed" fonts until the one you want is
the
only left with enough priority that it gets used), but I want to try to
solve it properly on my system without hacking up my fonts.conf file
like
I have to everytime I install a new fontconfig package.

With the help of xfd, I have determined that the font(config
specfication)
I want to use in gnome-terminal is:

Fixed:style=3DRegular:slant=3D0:weight=3D100:width=3D87:pixelsize=3D13:spac=
ing=3D100

but this is a bitmap font and not scalable, so trying to get a more
simple
specification like "Fixed" to select it is impossible.

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=3D"pattern">
	<test qual=3D"any" name=3D"family">
	    <string>Fixed</string>
	</test>
	<edit name=3D"family" mode=3D"assign">
	    <string>Fixed:style=3DRegular:slant=3D0:weight=3D100:width=3D87:pixels=
ize=3D13:spacing=3D100:foundry=3DMisc</string>
	</edit>
    </match>
</fontconfig>

in my ~/.fonts.conf but it does not seem to do what I want.  I don't
really want to override fontconfig's idea of the best "Fixed" font
anyhow.
I would prefer to create a new specification with something like:

<fontconfig>
    <match target=3D"pattern">
	<test qual=3D"any" name=3D"family">
	    <string>MyFixedFont</string>
	</test>
	<edit name=3D"family" mode=3D"assign">
	    <string>Fixed:style=3DRegular:slant=3D0:weight=3D100:width=3D87:pixels=
ize=3D13:spacing=3D100:foundry=3DMisc</string>
	</edit>
    </match>
</fontconfig>

So that gnome-terminal would show an additional font in its list named
"MyFixedFont".  But the above syntax does not seem to do that either.

How can I achieve the results I am looking for?

Thanx,
b.

--=20
My other computer is your Microsoft Windows server.

Brian J. Murrell

--=-yMGYZqqpDQfOcRD4Ae0d
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAI7z0l3EQlGLyuXARAiDdAJ40VSZUaNnOez1s6wXk2mvU70m35QCgr4bL
nwpYmipf6Hy5gp+gmugycVg=
=Wli2
-----END PGP SIGNATURE-----

--=-yMGYZqqpDQfOcRD4Ae0d--




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

  Powered by Linux