LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Changing fonts (https://www.linuxquestions.org/questions/slackware-14/changing-fonts-4175486489/)

waddles 12-01-2013 06:37 PM

Changing fonts
 
I have a fonts phobia so need some information.
I found the following location for fiddling with fonts with the XFCE window manager:
Menu>Settings>"System Settings">"System Administration">"Font Installer"
What I want to know:
1) how do I assign a font to Personal group when none exists in that category?
2) as a user if I use Group Personal will the font selected apply to my "System Terminal", System, Terminal, Konsole, or Xwindowj or all of these?
Where else, if at any, will the selected font be used?
3) am I allowed only 1 font at a time to use?
If not how to I select the font I want to use?
4) can I change fonts while creating text then switch fonts and expect that the text written to that point will remain and not switch to the newly selected font?
5) When I enter Personal it appears I can select more than one font. Is that correct?
6) How do I change back to the font I set up after using another ont?

malekmustaq 12-03-2013 05:59 AM

Quote:

I found the following location for fiddling with fonts with the XFCE window manager:
Menu>Settings>"System Settings">"System Administration">"Font Installer"
What I want to know:
1) how do I assign a font to Personal group when none exists in that category?

I don't fully get what is meant with "Personal group" but you can always create
a fonts directory of your own at /home/you/.fonts. Go to that directory and
create a scale and dir record:

Code:

mkfonscale .
mkdfondir .

If you want X system to use certain font just place it in a
directory, use xorg.conf to define the path of that font:

Code:

Section "Files"

    RgbPath        "/usr/share/X11/rgb"

    FontPath  "/usr/share/fonts/misc/"
    FontPath  "/usr/share/fonts/OTF/"
    FontPath  "/usr/share/fonts/TTF/"
    FontPath  "/usr/share/fonts/Type1/"
    FontPath  "/home/you/.font/yourfont

EndSection

Then cache it in:

Code:

/usr/X11R6/bin/fc-cache -f
At next load of X and login you should be able to have the fonts
available; or you may force reload X :

Code:

Ctl+Alt+Backspace
if your xorg setting allows that then the X is zapped to reload.
You can login.

Quote:

2) as a user if I use Group Personal will the font selected apply to my "System Terminal", System, Terminal, Konsole, or Xwindowj or all of these?
Where else, if at any, will the selected font be used?

Most terminal can change fonts in use. But if you are using xterm you have two ways
to control the font.

Use the /home/you/.Xresources file. If you have not you can
create your own and fix font by:

xterm*font: Font\ 10 (size of font)

or use

/etc/X11/xorg.conf.d/xterm

Hope that helps.

Good luck.

waddles 12-04-2013 12:11 AM

Had U have followed my query and the directions to the XFCE font installer, U would not have wondered what was meant by "Personal Font" group. Hence, I presume U are probably not using XFCE window manager.
I none the less appreciate the effort U went 2 2 create your explanation to manually set up X-fonts.
I am under the impression that the Font Installer obviates much of the process U gave and keeps the details at bay since I expect to be using multiple fonts for a document I need to be able to quickly move between them.
Still thanks, hopefully someone familiar with it can address my 6 points directly.

narz 12-04-2013 02:06 AM

FYI, XFCE doesn't have a font installer, maybe it's KDE settings overflowing into your menus.

Spect73 12-04-2013 08:23 AM

Narz is possibly correct. On my Slackware machine using XFCE the path you gave exists not at all. The closest is "Applications Menu->Settings->KDE System Settings->System Administration->Font Management" which still isn't what you posted.

Coordially,


All times are GMT -5. The time now is 08:24 PM.