[XeTeX] issue with HyphenChar and fontspec

Pablo Rodríguez oinos at web.de
Sat Apr 14 02:49:31 CEST 2007


For some strange reason, the following document gives an extra blank
space before those texts where the HyphenChar is defined:

\documentclass[a4paper,12pt,draft]{article}
\usepackage{fontspec}
\newcommand{\supertext}{\addfontfeature{HyphenChar="2013}}
\setromanfont{Old Standard}
\begin{document}
metafísica: \supertext{idea} y la \supertext{energía}. Se trata de un
texto en el que, como declara con propósito admonitorio el mismo
\end{document}

I guess this might be a bug.


Pablo


More information about the XeTeX mailing list