I don't use Ubuntu but Ubuntu should provide a package for Linux Libertine (if it is not installed by default) and that supports all of the languages:

\documentclass[12pt,a4paper]{report}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\begin{document}
Днепр kůň dominī Ngữ
\end{document}
To figure out which fonts were installed, I looked in /usr/share/fonts
and paid particular attention to the opentype fonts there. I discovered a directory /usr/share/fonts/otf-linux-libertine-ibx/
which contained, for example, /usr/share/fonts/otf-linux-libertine-ibx/LinLibertine_R.otf
. Yours will more likely be something like /usr/share/fonts/opentype/LinLibertine-R.otf
.
To get basic information about the font, including the name to feed to fontspec
:
otfinfo -i /usr/share/fonts/otf-linux-libertine-ibx/LinLibertine_R.otf
which produced:
Family: Linux Libertine O
Subfamily: Regular
Full name: Linux Libertine O
PostScript name: LinLibertineO
Version: Version 5.3.0
Unique ID: FontForge 2.0 : Linux Libertine O : 2-7-2012
Designer: Philipp H. Poll
Designer URL: http://www.linuxlibertine.org
Manufacturer: Philipp H. Poll
Vendor URL: http://www.linuxlibertine.org
Copyright: Linux Libertine by Philipp H. Poll,
Open Font under Terms of following Free Software Licenses:
GPL (General Public License) with font-exception and OFL (Open Font License).
Created with FontForge (http://fontforge.sf.net)
Sept 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,2012
License URL: http://www.fsf.org/licenses/gpl.html AND http://scripts.sil.org/OFL
License Description: GPL- General Public License AND OFL-Open Font License
Vendor ID: PfEd
To check which scripts (alphabets) the font supports:
otfinfo -s /usr/share/fonts/otf-linux-libertine-ibx/LinLibertine_R.otf
which gave me:
DFLT Default
cyrl Cyrillic
cyrl.SRB Cyrillic/Serbian
grek Greek
hebr Hebrew
latn Latin
latn.AZE Latin/Azeri
latn.CRT Latin/Crimean Tatar
latn.DEU Latin/German
latn.MOL Latin/Moldavian
latn.ROM Latin/Romanian
latn.TRK Latin/Turkish
math Mathematical Alphanumeric Symbols
To typeset the languages correctly, you will want to use either polyglossia
or babel
. It is probably better to try the former first but not all languages are supported. Read the documentation to figure out how to specify and call the languages you need. This will ensure that things like hyphenation are correctly tuned for each of the languages you use in the document.
EDIT
For Linux Libertine specifically, you may be best off loading libertine
as explained in egreg's answer. But if you would prefer to use a font you've got which doesn't have a TeX package, you can use the above method to figure out if it is likely to work and how to specify it to fontspec
.
xelatex
you don't loadinputenc
; but you must loadfontspec
and use a font that has the required glyphs. – egreg Apr 19 '14 at 22:30\usepackage[utf8]{inputenc}
, say\usepackage{fontspec}\setmainfont{Arial Unicode}
, for example. – Sean Allred Apr 19 '14 at 22:35fontspec
package provides macros such as\setmainfont
, with which you can select the font that should be used in the document. Do familiarize yourself with the user guide of thefontspec
package. Just which font family, or families, you should use is hard to tell without more detailed knowledge of your typesetting needs. – Mico Apr 19 '14 at 22:36