[arch-general] [SOLVED] Re: How to specify a Type 1 font in .Xresources?

D. R. Evans doc.evans at gmail.com
Wed Oct 31 19:16:44 EDT 2012


D. R. Evans said the following at 10/30/2012 06:11 PM :
> When I execute "fc-list : file" (as stated at
>   https://wiki.archlinux.org/index.php/Font_Configuration
> )
> 
> one of the lines is:
>   /usr/share/fonts/Type1/ufonts.com_ti92pluspc.pfb:
> 
> How do I now tell a particular class of xterm to use this font?
> 
> In the ~/.Xresources I have a class called "drlog", and so I have a line that
> starts:
> 
> ----
> drlog*VT100*font:
> ----
> 
> but what do I put after the colon to force this class to use the font in the
> file /usr/share/fonts/Type1/ufonts.com_ti92pluspc.pfb?

I never found any kind of step-by-step guide or even anything that suggested
the solution that actually worked, but I suppose if one fumbles around at
random there's a non-zero chance that one will stumble across the solution to
a problem.

The answer I discovered is not to use a font resource at all, but rather the
faceName and a faceSize resources, setting the faceName resource to the basic
name provided by KFontView when it is used to open the pfb font file. In this
case that meant setting faceName to "Ti92Pluspc" (although the full name
returned by KFontView was "Ti92Pluspc, Regular").

  Doc

-- 
Web:  http://www.sff.net/people/N7DR

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20121031/013a1d66/attachment-0001.asc>


More information about the arch-general mailing list