khaledhosny / luaotfload

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

Auto-bold font detection fails with error #14

Closed wspr closed 14 years ago

wspr commented 14 years ago

When I install just the "XB Zar" font in my system and then run

\documentclass{article}
\usepackage{luaotfload}
\begin{document}
\font\1={name:XB Zar/B}\1 hello
\end{document}

I get the error

luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF fonts...
luaotfload | Scanning OS fonts...
./small.tex:6: Font \1=name:XB Zar/B not loadable: metric data not found or bad
.
 
                   \1
l.6 \font\1={name:XB Zar/B}\1

It should silently fall back on using the "XB Zar" font. (Otherwise fontspec breaks.)

khaledhosny commented 14 years ago

No errors here (with up to date texlive-2010).

khaledhosny commented 14 years ago

I'm going to upload a new luaotfload soon, I'd like to make sure this issues is solved before doing so.

wspr commented 14 years ago

Just updated my TL2010 and checked with luaotfload master, and the problem seems to be fixed. Hmmm, I wonder where it came from. Sorry about the noise.