latex3 / fontspec

Font selection in LaTeX for XeTeX and LuaTeX
http://latex3.github.io/fontspec/
LaTeX Project Public License v1.3c
277 stars 34 forks source link

Package fontspec Warning: Ignored XeTeX-only feature: 'HyphenChar'. #382

Closed u-fischer closed 2 years ago

u-fischer commented 5 years ago

Description

Using the HyphenChar option in a current texlive fontspec 2019/03/15 v2.7c triggers a lot of warnings.

Check/indicate

Minimal example demonstrating the issue

\documentclass{book}
\usepackage{fontspec}
\setmainfont{TeX Gyre Heros}[HyphenChar=A]
\textwidth=2mm
\begin{document}
xxx hyphenation
\end{document}

Further details

Compiling the above adds 9 warnings in the log that the feature is ignored. The option in itself works as expected.

Package fontspec Warning: Ignored XeTeX-only feature: 'HyphenChar'.

image

u-fischer commented 2 years ago

Closing as there is no error. With xelatex everything is fine and lualatex one gets the correct warnings (as hyphenchar doesn't work yet, which one could implement but the request should be done in a new issue.