[MiKTeX] TTF problem with xeLaTeX - MikTeX
MiKTeX source code moved to GitHub
Brought to you by:
csc
From: Francisco C. <pac...@gm...> - 2009-03-03 19:34:55
|
Hi all I am using a ttf with the command \font\ocrb="OCR-B-10 BT" at 12pt But when I compile the file with xelatex I have the following warnings: ** WARNING ** Unable to read OpenType/TrueType Unicode cmap table. ** WARNING ** Failed to load ToUnicode CMap for font "OCRB10PitchBT-Regular" and then in the output file I have not text but empty boxes. I compile the same file with XeLaTeX in a Mac OS X Leopard and it doesn't have this problem. Any idea? Thanks in advance -- Francisco Jose CHAVES PD. Example TeX code: -------------------------------------------- \documentclass{exam} \XeTeXinputencoding "latin1" \usepackage{polyglossia} \usepackage{graphicx} \usepackage{calc} \usepackage{geometry} \usepackage{fontspec}% font selecting commands \geometry{paper=letterpaper} \geometry{tmargin=9mm+77mm+2.25mm} \geometry{lmargin=18mm} \geometry{height=176mm} \geometry{width=115mm} \usepackage{array} \usepackage{multirow} \usepackage[usenames]{color} \font\ocrb="OCR-B-10 BT" at 12pt \newcommand{\lineaocr}[1]{{\ocrb{#1}}} \renewcommand{\familydefault}{\sfdefault} \newcommand{\anchopsp}{115mm} \newcommand{\anchofoto}{35mm} \newcommand{\anchohuella}{22mm} \newcommand{\anchospfoto}{2mm} \newcommand{\anchoinfo}{\anchopsp-\anchofoto-\anchospfoto} \newcommand{\lineahor}{\hline}%} \newcommand{\esconder}[1]{\textcolor{white}{#1}} \setmainfont[Mapping=tex-text]{Nimbus Sans L Regular Condensed} \setsansfont[Mapping=tex-text]{Nimbus Sans L Regular Condensed} \pagestyle{empty} \setlength\parindent{0mm} \begin{document} \ocrb{P<COLISABELLA<<<RUSSI<<<<<<<<<<<<<<<<<<<<<<<} \end{document} -------------------------------------------------- |