[Xorg] Font Question ...

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Mon Jan 29 17:54:10 CST 2007


    0n Thu, Jan 25, 2007 at 06:56:36PM +1030, Glen Turner wrote: 

    >Wilkinson, Alex wrote:
    >
    >> I would like to display what fonts a particular application has loaded.
    >> Is this possible ? And if so how ?
    >> 
    >> I realise I can use xset(1) to view my FontPath ... but I need to know what
    >> fonts a particular application has actually used.
    >
    >If you are just hacking about then running xlsatoms before and during
    >the program could be educational.  For something more solid you'll
    >need to write code to walk the list of X atoms yourself.

For the benefit of the archives, a crude solution:

1. Check all currently loaded fonts:

	#xlsatoms | awk '{print $2}' | grep \^-

2. Start an X client and compare the output from the aforementioned.

Thanks Glen for the HEADSUP on the xlsatoms(1) command.

 -aW


More information about the linuxsa mailing list