groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] How to add chinese font for groff?


From: Jeff Zhang
Subject: Re: [Groff] How to add chinese font for groff?
Date: Wed, 14 Mar 2007 22:05:37 +0800

On 3/14/07, Gunnar Ritter <address@hidden> wrote:

"Jeff Zhang" <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]