# MiKTeX Update: Error \textfont is undefined with Package url

The following MWE does not compile with XeLaTeX anymore after a MiKTeX update today:

\documentclass{article}
\usepackage{fontspec}
\setromanfont[Path=./]{LinLibertine_R.otf}
\usepackage{url}
\urlstyle{rm}

\begin{document}
Test: \url{http://test-website.com}
\end{document}


You will need the Linux Libertine OTF fonts in order to reproduce the error, but they don't need to be installed. Just place LinLibertine_R.otf in the same folder as your MWE TeX file.

The problem seems to be the hyphen (-) into the URL. The same MWE compiled without problems before the update. So far I could reproduce this issue only with this font.

Any help is appreciated. Thanks!

-
Imho this is the same bug I'm try to track down for weeks (tex.stackexchange.com/questions/122923/…). Your example is very valuable as it shows the problem without unicode math, I will add a link to your example in my question. –  Ulrike Fischer Aug 18 '13 at 16:42
@UlrikeFischer Thanks for the notification and the pointer to your StackExchange thread; I will follow it. Hope that there is a solution soon, since this issue breaks nearly all my documents. So thanks again for your efforts. –  DigNative Aug 19 '13 at 18:44