On 3/14/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote:

"Jeff Zhang" <[EMAIL PROTECTED]> wrote:

> I've also tested with ttf file (I'm an newbie to troff)like:
>
> .do xflag 3
> .lc_ctype zh_CN.utf8
> .fp 1 R STXingKai ttf
> .fp 0 T STXingkai ttf
> .ft T
> 中文
>
> It also gives error:
> troff:  Can't load font...
>
> maybe it duce to the ttf file, I'm not very sure.

If there is no more specific error message, troff just
failed to locate the font in the directories given with
the TROFFONTS environment variable.

        Gunnar

Same as before. I think it's due to some other reasons, like the ttf font,
as I put it into ~/ucblib/doctools/font/devps along with
GaramondPremrPro.otf and budmo.ttf. The other two fonts work well with or
without TROFFONTS environment variable.

Reply via email to