Came up with the following:

    \newif\iffontexists
    \def\fontexists#1{
       \fontexistsfalse
       \batchmode
       \font\tstfnt="#1"
       \errorstopmode
       \ifnum\strcmp{\fontname\tstfnt}{"#1"}=0
          \fontexiststrue
       \fi
    }




It works, but is there an easier way?

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to