khaledhosny / luaotfload

Moved to https://github.com/latex3/luaotfload
23 stars 15 forks source link

+hist feature perhaps broken #12

Closed wspr closed 14 years ago

wspr commented 14 years ago

This works in XeTeX:

\documentclass{article}
\usepackage{luaotfload}
\begin{document}
   \font\1={name:Adobe Jenson Pro} at 20pt\1
    M Q Z
   \font\1={name:Adobe Jenson Pro:+hist} at 20pt\1
    M Q Z
\end{document}

I've got version 1.013 of the font, which might explain the problem?

khaledhosny commented 14 years ago

I don't have that font, is the issue font specific?

wspr commented 14 years ago

No idea, I don't have many fonts. I just wanted to note this down for later.

khaledhosny commented 14 years ago

The default luaotfload script is dflt but not all fonts have it set properly (or set at all), so make sure to try latn first.

wspr commented 14 years ago

Sorry, yes, this was a side-effect of the bug that was present in fontspec. It wasn't applying the latn script when it should have been. Thanks, and sorry for the trouble.