LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to add fonts to kwrite editor (http://www.linuxquestions.org/questions/linux-software-2/how-to-add-fonts-to-kwrite-editor-753323/)

FinalRebel 09-07-2009 09:57 AM

how to add fonts to kwrite editor
 
hi
i want to add some new language fonts for my editors specialy kwrite.
and i already have the fonts but how to add them.

pwc101 09-07-2009 10:00 AM

Move them into ~/.fonts (a hidden directory). If that directory doesn't exist, you can just make it.

When you restart kwrite, they should show up in the list of available fonts. This should be the case for any application which uses fonts.

FinalRebel 09-07-2009 10:06 AM

is this fonts folder in my home directory or in what?

pwc101 09-07-2009 10:11 AM

Yes, that's what ~ means; it's shorthand for your home directory. You can use it thus:
Code:

mkdir ~/.fonts
This will create a directory in your home directory called .fonts. In this directory you can place the fonts and they will show up in whichever program you want to use which uses fonts. You may need to run fc-cache (from the command line) afterwards to update the font cache.

FinalRebel 09-07-2009 04:24 PM

after i did that exactly when i choose some of my new fonts in the editor is a pear like strange letter.

pwc101 09-07-2009 04:25 PM

Well, that's weird.

What font are you using? Where did you get it from?

FinalRebel 09-07-2009 04:50 PM

thanks alot
i fixed it by changing Encoding autodetection
every thing is good now.


All times are GMT -5. The time now is 02:48 AM.