I am using TeXLive 2011 on Linux with a font called sasmono. When I compile my LaTeX source with xelatex, it reports
(./myoutput.lst
Missing character: There is no ^^83 in font [/u/tiarno/tests/sasmono/sasmono.tt
f]/ICU:!
My LaTeX source:
\documentclass{book}
\usepackage{fontspec}
\begin{document}
some text
{
\fontspec[
Path = "/u/tiarno/tests/sasmono/",
Extension = .ttf]{sasmono}
\input{myoutput.lst}
}
\end{document}
The sasmono.ttf file is in the specified directory. When I open that file in FontBook on my Mac or in the font viewer on Windows, it shows a horizontal box-drawing character in slot 0x83 (131 decimal). The resulting PDF shows little boxes where the glyph would normally be.
The external file myoutput.lst is generated from another program.
Am I missing something in my xelatex set up or maybe there's a problem with the font?
\XeTeXinputencodingif the file is not UTF-8;texdoc xetexor look forXeTeX-reference.pdf– egreg Jan 31 '12 at 17:41myoutput.lst. Try if the document works if you use e.g. \fontspec{Arial}: if yes get if possible an open type version of your font. If it fails with Arial too, use as egreg suggested \XeTeXinputencoding to declare the encoding of the file (or reencode the file). – Ulrike Fischer Jan 31 '12 at 20:06\fontspec{DejaVu Sans}I getWarning Invalid CMap mapping entry. (ignored)and the pdf still shows the boxes instead of the glyph. I've tried\XeTeXinputencodingusingbytes, andcp1252with the same results. I thoughtbyteshad to work, so I am at a loss. I know the glyph is in the font at position x83; I can see it in FontBook. This is an old, specially commissioned font from BitStream in order to have the box characters available in certain slot positions. – Tim A Feb 01 '12 at 15:12