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

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux