How to use downloaded fonts with XeTeX on Ubuntu
-
I am wanting to use the http://www.exljbris.com/fontin.html font in my XeTeX document. What steps should I do for dowloading the font (should I choose TTF or OpenType) and where should it be stored (on Ubuntu)? How can XeTeX find this font? I am using TexLive 2011 installed in a custom location (/somepath/texlive/2011)
-
Answer:
Install the fonts in /usr/local/share/fonts if you want them system-wide or in ~/.fonts if you want them only for the current user: $ sudo cp Fontin*.otf /usr/local/share/fonts You can then check for the font in fc-list: $ fc-list : family file | grep -i fontin /usr/local/share/fonts/Fontin-SmallCaps.otf: Fontin SmallCaps,Fontin /usr/local/share/fonts/Fontin-Italic.otf: Fontin /usr/local/share/fonts/Fontin-Bold.otf: Fontin /usr/local/share/fonts/Fontin-Regular.otf: Fontin which gives you the name to use in XeTeX (using fontspec). For example: \setmainfont{Fontin}
Peter Smit at TeX - LaTeX Visit the source
Related Q & A:
- How can I copy file from Windows to Ubuntu?Best solution by Super User
- How to put downloaded PSP games on PSP?Best solution by Yahoo! Answers
- How do i downloaded it?Best solution by Yahoo! Answers
- How do you use downloaded Sims in Sims 3?Best solution by Yahoo! Answers
- How to use dial up in ubuntu 10.4?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.