Mojca Miklavec wrote:
On 3/9/07, Akira Kakuto wrote:
Hi Mojca,
Well, OK, that's understandable. That's just an accidental mix-up with otf files in ConTeXt. Line 73 of font-ini.mkii should read \def\fontfilesome#1{"#1"} instead of \def\fontfilesome#1{"[#1]"}
Please check my previous mail with care \def\fontfilesome#1{"#1"} should be \def\fontfilesome#1{#1} (note that there is no quotation).
If you use \def\fontfilesome#1{"#1"}, XeTeX tries to find OpenType or TrueType font #1 by using fontconfig, and fails.
I was blindly looking to the right point, but didn't notice the most obvious thing. I'm sorry for the noise and thanks for pointing this out again.
Hans, can you please replace the following block of code in font-ini.mkii? (Please also include lm-ec.map into the ConTeXt zip if possible - you may throw it out again as soon as the typescripts for OpenType LM are ready.)
\def\fontfilename#1{"#1"} \def\fontfilefile#1{"#1"} \def\fontfilesome#1{#1} % I don't know about the two above, but " doesn't work
\beginXETEX
\def\fontfilename#1{"#1"} \def\fontfilefile#1{"[#1]"} \def\fontfilesome#1{#1}
\endXETEX
Or perhaps:
\def\fontfilename#1{"#1"} \def\fontfilefile#1{"#1"} \def\fontfilesome#1{#1}
\beginXETEX \def\fontfilefile#1{"[#1]"} \endXETEX
sure, as long as you do the testing Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------