[XeTeX] strange font name

Ross Moore ross at maths.mq.edu.au
Thu Sep 9 06:13:10 CEST 2004


On 09/09/2004, at 2:03 PM, Dalyoung wrote:

> Dear all,
>
> Recently, I installed XeTeX and it is working well for many Korean 
> fonts(true type and otf).
> By the way, there are several Korean fonts whose name started #, for 
> example, #HeadlineA.dfont. It is Darafork True type font and its real 
> name is "#HeadLineA Regular". When I tested it in AAT-info.tex, I got 
> error messages. Is there a way to use those font in XeTeX?
>
> %AAT-info.tex
>

Use the following:

{\catcode`\# = 12
  \gdef\fontname{#HeadLineA Regular}
}
> % Some other examples....
> %\def\fontname{Apple Chancery}
> %\def\fontname{Zapfino}
> %\def\fontname{Hoefler Text Italic}
> %\def\fontname{Minion MM Roman} % Note that \XeTeXcountglyphs fails 
> with this!
>
> \font\testfont="\fontname" at 10pt
> \nopagenumbers
> ...


Hope this helps,

	Ross


> ! Illegal parameter number in definition of \fontname.
> <to be read again>
>                    H
> l.1 \def\fontname{#H
>                     eadLineA Regular}
> ?
>
>
>
> Thank you. _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------



More information about the XeTeX mailing list