groff
[Top][All Lists]
Advanced

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

Re: [Groff] Huge fonts & colours


From: Werner LEMBERG
Subject: Re: [Groff] Huge fonts & colours
Date: Wed, 28 Feb 2001 22:32:37 +0100 (CET)

> > What about implementing color support into troff's output language
> > directly?  I don't know whether groff drivers like grolj4 or grolbp
> > could be easily extended to support colors (I don't know enough about
> > those printer languages)...
> 
> [...]
> 
> However, one might have to be careful about things like text and
> line-drawings possibly having different colours, though perhaps the
> user could take responsibility for keeping track of this.

Since groff doesn't have the concept of `groups' (contrary to TeX),
the user *must* take care of this.

> The main issue which the programmer would have to face is that, if
> it is to be on the same footing as font, etc., then the "current
> colour" has to be part of the current environment, and preserved in
> diversions etc. This means that implementing colour in groff would
> require code changes all over the place, including in macros.

I fully agree.

> The main exception is filling of drawn closed regions.
>
> [... good analysis omitted ...]

I must admit this is (currently) beyond my scope, and I lack
experience how to handle such situations.


    Werner

reply via email to

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