# Using kepler fonts with XeLaTeX?

I was happily using the kpfonts package for my thesis, then I wanted to switch to xelatex for some reasons and I realized I didn't know how to use Kepler fonts with xelatex. The kpfonts package, when used with xelatex, silently fails, apart from the usual missing fonts substitution warnings.

%!TeX program = xelatex
\documentclass{book}

\usepackage{kpfonts}

\begin{document}

Hello World

\end{document}


Note that I use the kpfonts package specifically for its light variant, so using another Palatino-like font won't work for me unless there is a way to get a similar light version.

Any way to get it work with xelatex?

• Possible related here? tex.stackexchange.com/questions/191981/xelatex-kpfonts-greek – Sebastiano Aug 9 '18 at 7:43
• You're missing the most important piece of information: why do you need XeLaTeX? And no, KPfonts are by no means a variant of Palatino. – egreg Aug 9 '18 at 9:27
• It's to be able to use Helvetica Neue as a sans serif font for titles. But I don't think that's really relevant to the question. – gigabytes Aug 9 '18 at 9:30

\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage{kpfonts}

\begin{document}

Hello World

\end{document}


uses Kepler-fonts

• when compiled with xelatex as well? – gigabytes Aug 9 '18 at 9:25
• Your question was "Using kepler fonts with XeLaTeX?" ... ;-) – user2478 Aug 9 '18 at 9:30
• Yes, thank you. It seems to work, but the link posted on a comment seems to imply that kpfonts is incompatible with xelatex, so am I going to face some problem? – gigabytes Aug 9 '18 at 9:32
• It is not an unicode font, some special characters are not available. – user2478 Aug 9 '18 at 9:35