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

Re: Truetype font size



Antony Gelberg <antony@antgel.co.uk> writes:

> Anyone know how to change the font size in the following line:
> rxvt -fn "-*-trebuchet ms-medium-r-*-*-*-*-100-100-*-*-*-*"

That's a font spec requesting a non-bold non-italic font named
"trebuchet ms" at 100 dpi, at any size.  Adding a point size might
help; for 11 pt,

 -*-trebuchet ms-medium-r-*-*-*-110-100-100-*-*-*-*

I like to fill in as many of the fields as is practical, though.  I
generally prefer scalable fonts, which X is somewhat reluctant to
provide if there are any "*"s in the size fields; "0" has a similar
meaning but prefers scalable fonts.  Explicitly specifying the font
encoding also avoids some class of surprises.  So I'd actually use

 -*-trebuchet ms-medium-r-normal--0-110-100-100-*-0-iso8859-1

(Well, I'd actually use -*-helvetica-... for a sans serif font, but
anyways.  :-)

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: