<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Folks,<div class=""><br class=""></div><div class="">In the message title for several earlier messages today, I confused XeTeX with TeTeX. Gulp.</div><div class=""><br class=""></div><div class="">After the final message, I got a message from Khaled Hosny saying that he had</div><div class="">fixed the problem. Just now, I compiled all the sources again, and tested</div><div class="">my two documents. Sure enough, most problems are fixed. THANKS, KHALED.</div><div class=""><br class=""></div><div class="">However …</div><div class=""><br class=""></div><div class="">There is a final problem. Here again is the source:</div><div class=""><br class=""></div><div class="">————————————</div><div class=""><div class="">%!TEX TS-program = xelatex</div><div class="">%!TEX encoding = UTF-8 Unicode</div><div class=""><br class=""></div><div class="">\documentclass[12pt]{article}</div><div class="">\usepackage{geometry} </div><div class="">\geometry{letterpaper}</div><div class="">\usepackage{graphicx}</div><div class="">\usepackage{amssymb}</div><div class=""><br class=""></div><div class="">\usepackage{fontspec,xltxtra,xunicode}</div><div class="">\defaultfontfeatures{Mapping=tex-text}</div><div class="">\setromanfont[Mapping=tex-text]{Hoefler Text}</div><div class="">\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans}</div><div class="">\setmonofont[Scale=MatchLowercase]{Andale Mono}</div><div class=""><br class=""></div><div class="">\title{Brief Article}</div><div class="">\author{The Author}</div><div class=""><br class=""></div><div class="">\begin{document}</div><div class="">\maketitle</div><div class=""><br class=""></div><div class="">This is a standard TeX document using Hoefler Text. It uses \LaTeX\ and</div><div class="">the standard \TeX\ graphic packages.</div><div class=""><br class=""></div><div class="">\newfontfamily{\A}{Geeza Pro}</div><div class="">\newfontfamily{\H}[Scale=0.9]{Lucida Grande}</div><div class="">\newfontfamily{\J}[Scale=0.85]{Osaka}</div><div class=""><br class=""></div><div class="">Here are some multilingual Unicode fonts: this is Arabic text: {\A السلام عليكم}, </div><div class="">this is Hebrew: {\H שלום}, and here's some Japanese: {\J 今日は}.</div><div class=""><br class=""></div><div class="">\end{document} </div></div><div class=""><br class=""></div><div class="">——————————————</div><div class=""><br class=""></div><div class="">If the line near the bottom defining font “J” to be Osaka is commented out,</div><div class="">and the corresponding Japanese text at the end is commented out, this typesets</div><div class="">fine. If we add back the line defining the “J” font, but not the Japanese text,</div><div class="">typesetting is still fine. Adding the final line with Japanese text leads to the</div><div class="">message</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-family: Menlo;" class="">xdvipdfmx:fatal: Invalid font: -1 (6)</div><div style="margin: 0px; font-family: Menlo; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-family: Menlo;" class="">Output file removed.</div><div style="margin: 0px; font-family: Menlo;" class=""> )</div><div style="margin: 0px; font-family: Menlo;" class="">Error 256 (driver return code) generating output;</div><div style="margin: 0px; font-family: Menlo;" class="">file XeTeX-1.pdf may not be valid.</div><div style="margin: 0px; font-family: Menlo;" class="">SyncTeX written on XeTeX-1.synctex.gz.</div><div style="margin: 0px; font-family: Menlo;" class="">Transcript written on XeTeX-1.log.</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Dick Koch</div><div class=""><br class=""></div></body></html>