How to use custom fonts in fluxbox
Hi all..
I have just started learning theming of fluxbox. I have some ttf-font files. I want to use them in fluxbox theme. Tutorials I found on net use inbuilt fonts. Where do I need to put my .ttf file to use in fluxbox ? Where is the global location for fonts that is used by all the fluxbox themes ? I am running Stretch. Here is my fluxbox info :: Code:
Fluxbox version: 1.3.5 |
You can likely place them somewhere under /usr/share/fonts/, but placing "outside" files into global filesystem locations might not be a good idea in the long run. Maybe placing them in your home directory might be smarter.
I used to drop my downloaded fonts into ~/.fonts/ but that seems to be deprecated in favor of ~/.local/share/fonts now. I would still try the first one, first. Afterwards, run fc-cache to reset the font database, and you should be ready to add your new fonts into your fluxbox config. |
Quote:
I copied font ttf file to ~./font directory. Ran Code:
fc-cache ; fc-list Now, the problem is with the font name having spaces. Those are not working for me. I have tried with enclosing them in quotes and using backslash. How can I use those fonts ? Can fluxbox theme load all sort of ttf fonts, as many large size(~500kB) font files are not working for me ? |
All times are GMT -5. The time now is 06:41 AM. |