LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-20-2011, 12:03 PM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,219

Rep: Reputation: Disabled
Post How do I see all bitmap fonts?


Hi everybody!
I installed artwiz fonts, terminus, maybe something else which are bitmap fonts, but I can't find a way to see all them to select which of them I wanna use in Fluxbox (since Fluxbox is configurable in text files, I can't choose the font I like in a viewer). I need someting like xfontsel. xfontsel sees fonts but not all and its output is a mess. fontforge also doesn't seem to be a viewer. I need to see only bimaps fonts and their sizes and styles like bold, italic, etc... Is there any application/method to do it?
 
Old 02-21-2011, 05:15 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,051

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
But... xfontsel should show them all. It won't show truetype fonts though, and it won't show any size you want. Only the available ones. Remember that bitmap fonts are not that flexible.
 
Old 02-23-2011, 05:46 AM   #3
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,219

Original Poster
Rep: Reputation: Disabled
I have Terminus installed and well-working. But it's not in xfontsel. Why?
 
Old 02-23-2011, 07:34 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,051

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Well, old applications can rely on your FontPath (xorg.conf) to find fonts. Most distros nowadays have a tendency not to use xorg.conf. Try adding the path to the font file in /etc/X11/xorg.conf, you can use mine as an example.

Code:
Section "Files"
  FontPath "/usr/share/fonts/100dpi"
  FontPath "/usr/share/fonts/75dpi"
  FontPath "/usr/share/fonts/corefonts"
  FontPath "/usr/share/fonts/dejavu"
  FontPath "/usr/share/fonts/hunkyfonts"
  FontPath "/usr/share/fonts/intlfonts"
  FontPath "/usr/share/fonts/liberation-fonts"
  FontPath "/usr/share/fonts/misc"
  FontPath "/usr/share/fonts/terminus"
EndSection
Paths might vary depending on the distro. You will need to restart X and you can check if the settings are taking effects looking at /var/log/Xorg.0.log
 
Old 02-23-2011, 10:14 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,219

Original Poster
Rep: Reputation: Disabled
I added the paths, fonts seem to be all in xfontsel now, but Fluxbox looks like this.

Fluxbox overlay file:

Code:
! The following line will prevent styles from setting the background.
! background: none

menu.title.font: aqui-12:bold
toolbar.clock.font: dina-10:bold
toolbar.workspace.font: dina-10:bold
*font: dina-10
"artwiz-fonts" & "terminus-font" packages are installed.

What is wrong with Fluxbox? How can I configure the fonts?
 
Old 02-23-2011, 10:34 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,051

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
I don't know so much about fluxbox theming so I can't speak from my own experience here.

But, to me, your systax doesn't seem ok if what you want to use is a bitmap font (that's what you were after, weren't you?).

Fluxbox, like some other wm's, can handle fonts in many ways. For bitmap fonts the fontname should be something like what xfontsel says shows. You can copy/paste from it (that's what the "select" button in xfontsel is for). For example, go to "fmly", choose "terminus", click "select", then middle click in your text editor and it should paste the font name there for you:

Code:
-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
You can select many more fields, for example, if you choose fmly terminus and pxlsz 12 you get this when pasting:

Code:
-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
This is what you should be using, probably.

The other syntax is for xft, and you'd then be using scalable fonts which would make me think why did you want to fix the bitmap fonts issue to start with.
 
Old 02-23-2011, 10:35 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,051

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
The flux wiki seems to agree with me:

http://fluxbox-wiki.org/index.php?title=Change_font
 
Old 02-24-2011, 03:27 AM   #8
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,219

Original Poster
Rep: Reputation: Disabled
Thanks, I'll try now.

P. S. For syntax I read this: http://fluxbox-wiki.org/index.php?title=Style_overlay . As wiki says it is for Fluxbox 0.9.15 and newer.
 
Old 02-24-2011, 03:43 AM   #9
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,219

Original Poster
Rep: Reputation: Disabled
How do you copy fontname like "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*" from xfontsel? "Select" button doesn't seem to do anything...
 
Old 02-24-2011, 04:54 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,051

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Select button puts the text into the X cut buffer, to paste it anywhere just use middle click right after clicking "select".
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convertion of 24 bit bitmap image to 8 bit bitmap image vipulc Linux - General 2 03-10-2006 08:22 AM
Bitmap fonts, but not Helvetica mschutte Debian 2 09-18-2005 10:41 AM
Installing bitmap fonts on wine 20050725 ekolis Linux - Software 0 08-22-2005 10:39 AM
Displaying Bitmap hylke Programming 14 09-02-2004 01:59 PM
Problems installing bitmap (Artwiz) fonts in 9.1 for use with Fluxbox melquiades Slackware 3 03-14-2004 08:25 AM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration