Installing additional fonts: Difference between revisions
No edit summary |
No edit summary |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''Other languages:''' [[Instalacja dodatkowych fontów|Polski (pl)]][[Category:Installation]] [[Category:Fonts]] [[Category:EN]] | |||
{{TIP Index}} | {{TIP Index}} | ||
==Installing fonts== | ==Installing fonts== | ||
*Launch scribus, go straight without opening a document to the menu '''Settings>Fonts...''' and click on the tab '''Additional paths'''. | *Launch scribus, go straight without opening a document to the menu '''Settings>Fonts...''' and click on the tab '''Additional paths'''. | ||
*Click on the '''Add...''' button and choose the directories, where your fonts are located. Done! | *Click on the '''Add...''' button and choose the directories, where your fonts are located. Done! | ||
*For more, see the [http://docs.scribus.net/index.php?lang=en&sm=setup&page=fonts1 | *For more, see the [http://docs.scribus.net/index.php?lang=en&sm=setup&page=fonts1 Scribus Online Documentation] | ||
== Using Fontconfig to install fonts in 1.3 == | |||
Scribus 1.3 still supports, and will continue to support, the ability to add extra font paths in the Scribus preferences. However, many people will want to install fonts for their entire system, not just Scribus. | |||
An easy way to do this is with fontconfig. In most cases, just copy the fonts into a folder called <code>.fonts</code> in your home directory. If <code>.fonts</code> doesn't exist, create it. Once you've copied the fonts into the <code>.fonts</code> folder, just run <code>fc-cache</code>. You do not need to run it as root. | |||
When you next launch Scribus, it should find the new fonts. Most other applications on an even remotely modern Linux desktop will also use fontconfig to find fonts, though some major apps still may not (especially vanilla, rather than distro-customised, builds): | |||
* Mozilla / Firefox / Thunderbird | |||
* OpenOffice.org | |||
* Adobe Acrobat Reader 5 | |||
=== Multiple font directories with Fontconfig === | |||
Fontconfig doesn't restrict you to just one fonts folder. You can have multiple fonts folders if you want, and this can be an immensely useful way to organize a growing collection of fonts from numerous sources. Fonts will still appear the same in Scribus. | |||
To add some extra font directories, first create the directories and put the fonts in them. For now, I suggest using names like <code>.fonts-collectionname</code>. I have, for example, <code>.fonts-unfonts</code>, <code>.fonts-mac-converted</code>, etc. Copy fonts into the directories as appropriate. | |||
To tell fontconfig how to find the directories, all you need to do is add them to the fontconfig config file, usually <code>.fonts.conf</code> in your home directory. This file probably does not yet exist. If it does not exixt, create it with the following contents: | |||
<pre> | |||
<?xml version="1.0"?> | |||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |||
<fontconfig> | |||
<dir>/home/craig/.fonts-mac-converted</dir> | |||
</fontconfig> | |||
</pre> | |||
Change the <code><dir>blah</dir></code> entry to match where your font folder(s) are. You do not need to list /home/$USERNAME/.fonts, it will be found automatically. If you need more fonts folders, just add more <code><dir>blah</dir></code> entries, eg: | |||
<pre> | |||
<?xml version="1.0"?> | |||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |||
<fontconfig> | |||
<dir>/home/craig/.fonts-mac-converted</dir> | |||
<dir>/home/craig/.fonts-unfonts</dir> | |||
<dir>/home/craig/.fonts-adobe-japanese</dir> | |||
</fontconfig> | |||
</pre> | |||
The biggest advantage of sorting your fonts this way is that you can keep fonts from different sources clearly separated, and easily enable/disable large blocks of them. | |||
Once you've saved the fontconfig config file, run <code>fc-cache</code> and you're done. |
Latest revision as of 05:57, 14 January 2011
Other languages: Polski (pl)
Installation • Usage • PDF issues • Other |
Installing fonts
- Launch scribus, go straight without opening a document to the menu Settings>Fonts... and click on the tab Additional paths.
- Click on the Add... button and choose the directories, where your fonts are located. Done!
- For more, see the Scribus Online Documentation
Using Fontconfig to install fonts in 1.3
Scribus 1.3 still supports, and will continue to support, the ability to add extra font paths in the Scribus preferences. However, many people will want to install fonts for their entire system, not just Scribus.
An easy way to do this is with fontconfig. In most cases, just copy the fonts into a folder called .fonts
in your home directory. If .fonts
doesn't exist, create it. Once you've copied the fonts into the .fonts
folder, just run fc-cache
. You do not need to run it as root.
When you next launch Scribus, it should find the new fonts. Most other applications on an even remotely modern Linux desktop will also use fontconfig to find fonts, though some major apps still may not (especially vanilla, rather than distro-customised, builds):
- Mozilla / Firefox / Thunderbird
- OpenOffice.org
- Adobe Acrobat Reader 5
Multiple font directories with Fontconfig
Fontconfig doesn't restrict you to just one fonts folder. You can have multiple fonts folders if you want, and this can be an immensely useful way to organize a growing collection of fonts from numerous sources. Fonts will still appear the same in Scribus.
To add some extra font directories, first create the directories and put the fonts in them. For now, I suggest using names like .fonts-collectionname
. I have, for example, .fonts-unfonts
, .fonts-mac-converted
, etc. Copy fonts into the directories as appropriate.
To tell fontconfig how to find the directories, all you need to do is add them to the fontconfig config file, usually .fonts.conf
in your home directory. This file probably does not yet exist. If it does not exixt, create it with the following contents:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/home/craig/.fonts-mac-converted</dir> </fontconfig>
Change the <dir>blah</dir>
entry to match where your font folder(s) are. You do not need to list /home/$USERNAME/.fonts, it will be found automatically. If you need more fonts folders, just add more <dir>blah</dir>
entries, eg:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/home/craig/.fonts-mac-converted</dir> <dir>/home/craig/.fonts-unfonts</dir> <dir>/home/craig/.fonts-adobe-japanese</dir> </fontconfig>
The biggest advantage of sorting your fonts this way is that you can keep fonts from different sources clearly separated, and easily enable/disable large blocks of them.
Once you've saved the fontconfig config file, run fc-cache
and you're done.