Hello Dalyoung, I hopw you don't mind if I forward this to the mailing list, but I won't be home for some days, and for some problems you mention here I have no idea what could go wrong. On 11/3/07, Dalyoung Jeong wrote:
Dear Mojca,
Thank you for your concern.
Yesterday, I removed TeX and reinstalled gwTeX via i-installer. Since there are no lm*.map files in the folder gwTeX/texmf.texlive/ fonts/map/dvipdfm, I run "ctxtools --dpx --force /usr/local/gwTeX/texmf.texlive" and it produced the files in the context folder. After that I made format file using sudo texmfstart texexec --make --all --pdftex sudo texmfstart texexec --make --all --xetex
It create format files in the folder ~/Library/texmf/web2c/{pdftex, xetex}
I run a file which was good before the upgrade to Leopard. Then it runs OK without error but the message "** NOTICE: This document contains a `Preview & Print only' licensed font ** " was shown. No lm error either.
That notice is normal/usual for XeTeX.
However, I can see series of small squares instead of text. Only math equations are shown correctly.
In Latin Modern? Which ConTeXt version? Did you only install TeXLive or also ConTeXt updater (with the latest version of ConTeXt)? Small squares could be a consequence of the old Type1 fonts instead of OpenType (in case you have an old version).
I didn't change any setting after upgrade.
So I checked fonts one by one. Here are results:
1. Almost all fonts are working OK in plain xetex. But some comercial fonts are not. "CFF:invalid character" and no output.
Hmmm ... you need to ask about that on the XeTeX mailing list. Mention which fonts exactly are causing problems and where you got them.
2. Default fonts in the system(AppleMyungjo, AppleGothic, #PilGi ,...) are working OK in XeTeX+ ConTeXt. I defined fonts using the command \font. And greek capital, like "\Pi, \Phi, \Gamma,...) are appeared correctly.
3. If I tried to use some commercial fonts, then I got either "CFF:invalid character" message and no pdf output for some fonts or no error message but a series of blank squares. 4. If I use typescript file instead of \font command, the greek capitals like "\Pi, \Phi, \Gamma,...) are not appeared correctly while \Alpha, \Beta are appeared well.
Can you send exact typescripts you're using? Failure with uppercase greek is usually a typescript problem (I have experienced it very often).
I don't know well about the running process of ConTeXt, but I assume that xdvipdfmx is not compatible with Leopard. If I know the way to make pdf file using the path ".tex-> .xdv -> .pdf", I'll test it. But I don't know how to do it. There is no command option of texexec.
See also recent messages on the XeTeX mailing list. And see @@runoptions['xetex'] = ['--8bit','-output-driver="xdvipdfmx -E -d 4 -V 5"'] in scripts/context/ruby/base/tex.rb But if you change sdvipdfmx to xdv2pdf, you'll have problems with Latin Modern (they're hardcoded in the ConTeXt format and file names don't work with xdv2pdf, so you would need to change definitions in type-oft.tex I guess).
Hence, my current problem is that I can not use some otf fonts which was good before the upgrade. Is there a way to cancel "CFF:invalid character" message and series of blank squares? Why is it appeared after the uipgrade? And is there a way to dispaly greek capitals correctly?
I have no idea. But please post a complete example. You can also try to upgrade to a newer version of XeTeX and xdvipdfmx (backup the old version before doing so) from http://minimals.contextgarden.net/bin/xetex/osx-intel/bin/, although this won't solve your exact problems. Make sure that you're using the latest stable version of ConTeXt (2007.09.28). The problems with \font command need to be reported to the XeTeX mailig list (name the fonts and where you got them from), for the ConTeXt-related problems, attach a miniminal example together with your typescripts. Mojca
Thank for listening.
Best regards, Dalyoung
On 2007. 11. 02, at 오전 5:41, Mojca Miklavec wrote:
Can you please send me a complete example (a simple document + log files)?
Thanks, Mojca
On 11/1/07, Jeong Dalyoung wrote:
Dear Mojca,
Thank you for the reply.
I'd like to tell you what happened in my computer.
Two days ago, I upgraded OSX to Leopard and tested the TeX. I tried XeConTeXt for a file which worked fine before the upgrade. It's body font was set to some korean otf fonts.
It run smoothly(with some blanks between many lines of log in the terminal. This appeared sometime ago after the new updates of ConTeXt and XeTeX). There is no error at all in the terminal. However, I got many squares in the pdf file instead of Korean characters. Math and English appeared well. The only change is the Leopard upgrade.
Hence I reinstalled gwTeX TeXlive and ConTeXt. And I got lm font error. There is lm otf fonts in gwTeX.texlive/fonts/opentype/pub/lm/
There is another message in the terminal:"CFF:invaid character"
As you suggest, I downloaded xetex and xdvipdfmx from ConTeXt site but It doesn't cure the problem.
I should upgrade to new OSX later. Do you have any idea for this?
Thank you.
Best regards,
Dalyoung