I love using libertine font in my document. It looks nice and clear when compiled using pdflatex. But I got different result when compiled using xelatex. It seems to be a slightly bold in my screen. Is there any chances to get it nice and clear result in xelatex? thanks. // ps: I'm using TeX 3.14159265 (TeX Live 2014), texmaker 4.1 under ubuntu linux 14.04 lts.
\documentclass[12pt,a5paper]{memoir}
\usepackage{libertine}
\usepackage{lipsum}
\begin{document}
This is normal text, \emph{emphasized text}, and \textbf{bold text}.
\lipsum[1-4]
\end{document}


Update #1: here's screenshot from the properties menu of the PDF viewer (Evince). Both pdflatex and xelatex use \usepackage{libertine}.

Update #2: ...and this is when using \usepackage{fontspec}\setmainfont{Linux Libertine O} with xelatex (as @jason-zentz's answer).

pdffontsor the properties menu of the PDF viewer for this.) – musarithmia Feb 18 '15 at 17:47\usepackage{libertine}with pdfLaTeX but\usepackage{fontspec}\setmainfont{Linux Libertine O}with XeLaTeX? You would need to have the.otffiles installed in your system fonts directory for thefontspecapproach to work, but it gives you a lot more flexibility (e.g., you can specify that the true bold rather than the default semibold should be used for bold text). – Jason Zentz Feb 18 '15 at 19:49LinLibertineTwith pdflatex andLinLibertineOwith xelatex, as expected). I only get some minor differences with kerning and hyphenations. My guess is that they only seem different because of your pdf viewer. As Juri says, print them and then compare. – Sverre Feb 18 '15 at 21:16\usepackage{fontspec}\setmainfont{Linux Libertine O}inxelatex. It show different fonts name in the properties menu (see update #2 above). I think this one works well for me for now. Thanks, mate :) – guest_5758 Feb 19 '15 at 04:06\usepackage{fontspec}\setmainfont{Linux Libertine O}makes bold text looks slightly thinner in my opinion. Thanks :) – guest_5758 Feb 19 '15 at 04:34\setmainfont{Linux Libertine O}[BoldFont={Linux Libertine O Bold}]. See http://tex.stackexchange.com/q/126029/42880. – Jason Zentz Feb 19 '15 at 04:38fontspecsolution, and the bold/semibold issue is a side effect of that. I'm not sure whyfontspecfixes the original viewer issue, since it calls the same OpenType font thatlibertinein XeLaTeX does. – Jason Zentz Feb 19 '15 at 16:55