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: Werner LEMBERG
Subject: Re: [Groff] How to add chinese font for groff?
Date: Wed, 14 Mar 2007 07:36:48 +0100 (CET)

> > Try this:
> >
> >   .ds SUNEXT SUNEXT00 \
> >              SUNEXT01 \
> >              ...      \
> >              SUNEXTff
> >
> >   .special \*[SUNEXT]
> >
> >
> >     Werner
>
> It works, though it takes longer time to finish than the assigned
> one.

Of course it is slower due to the sequential searching operations.
Can you estimate how much slower it is?

> Some addition works, like preprocessing or fast indexing, should
> make things better.

Contrary to TeX, groff PS fonts can contain more than 256 glyphs.  To
get fast indexing, use fontforge to convert your CFF or CID font into
a PFA font with more than 256 glyphs -- fontforge will issue a warning
whether this is what you really want to do; just say yes.


    Werner




reply via email to

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