List all the available Xfonts?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

List all the available Xfonts?

#1 Post by Argolance »

Bonjour,
I would like to list all the X11 fonts currently available on my system.
Xfontsel says there are about 853 "matching" fonts...
Examples:

Code: Select all

-*-fixed-medium-r-*-*-*-*-*-*-*-*-*
-*-fixed-bold-r-*-*-*-*-*-*-*-*-*
-misc-fixed-medium-r-semicondensed--13-*-iso8859-1
-*-lucida-medium-r-*-*-14-*-*-*-*-*-iso8859-1
[...]
How could this be done?
Thank you for your attention.

Cordialement.
Attachments
170410_110034_586x219_easyshot.jpg
(19.21 KiB) Downloaded 222 times
Last edited by Argolance on Sat 22 Apr 2017, 08:51, edited 3 times in total.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#2 Post by Argolance »

Hello,
I found under the search terms:
:arrow: "Which fonts dows xterm support?"
xlsfonts.

Code: Select all

# xlsfonts
-bitstream-bitstream vera sans mono-bold-o-normal--0-0-0-0-m-0-iso10646-1
-bitstream-bitstream vera sans mono-bold-o-normal--0-0-0-0-m-0-iso8859-1
-bitstream-bitstream vera sans mono-bold-o-normal--0-0-0-0-m-0-iso8859-15
-bitstream-bitstream vera sans mono-bold-o-normal--0-0-0-0-m-0-iso8859-9
-bitstream-bitstream vera sans mono-bold-r-normal--0-0-0-0-m-0-iso10646-1
-bitstream-bitstream vera sans mono-bold-r-normal--0-0-0-0-m-0-iso8859-1
-bitstream-bitstream vera sans mono-bold-r-normal--0-0-0-0-m-0-iso8859-15
-bitstream-bitstream vera sans mono-bold-r-normal--0-0-0-0-m-0-iso8859-9
[...]
... But these are not of the form:

Code: Select all

-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1
May be using sed command to replace 0 with *?
Cordialement.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#3 Post by Argolance »

Bonjour,
Argolance wrote:May be using sed command to replace 0 with *?
I made a little :arrow: program to select/preview/copy to clipboard all available Xfonts installed on the system...

Cordialement.

Post Reply