LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-07-2009, 10:57 AM   #1
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Rep: Reputation: 15
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.
 
Old 09-07-2009, 11:00 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-07-2009, 11:06 AM   #3
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
is this fonts folder in my home directory or in what?
 
Old 09-07-2009, 11:11 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-07-2009, 05:24 PM   #5
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
after i did that exactly when i choose some of my new fonts in the editor is a pear like strange letter.
 
Old 09-07-2009, 05:25 PM   #6
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Well, that's weird.

What font are you using? Where did you get it from?
 
Old 09-07-2009, 05:50 PM   #7
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
thanks alot
i fixed it by changing Encoding autodetection
every thing is good now.
 
  


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
how to add a column in vi editor ? dina3e Programming 6 11-08-2008 09:40 PM
how to add a charachter on every line in vi editor shahz Red Hat 5 05-19-2008 01:28 AM
add kylix application using kde menu editor leosgb Programming 1 04-21-2005 04:02 AM
How do I add icons to menu editor,MDK9.2 akihandyman Mandriva 3 02-29-2004 04:59 PM
how to add some fonts? Vincent Slackware 4 12-02-2003 01:03 PM


All times are GMT -5. The time now is 09:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration