lout-users
[Top][All Lists]
Advanced

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

Re: How to paint my own color


From: Radek Hnilica
Subject: Re: How to paint my own color
Date: Wed, 5 Sep 2001 20:11:52 +0200
User-agent: Mutt/1.3.20i

On Wed, Sep 05, 2001 at 07:33:40PM +0400, Valeriy E. Ushakov wrote:

> You ask about colors, I point out the primitive symbol that does
> colors.  You need to understand it to build something on your own and
> to understand and adapt existing code.

Thanks for explantation.  I stil doesnt underestand anything.  It is
because I have not time to learn lout.  Only when I need something
too much I found a time to look at lout.

What I am trying now is wrote noweb backend for typeseting in lout.
It partially works but the output is very hideous.  But I got something
what can be printed.

> Mmm, the core lout is happily unaware about the way color is specified
> (the only exception is the 'setrgbcolor' in /outline), so a generic
> colorspace-friendly solution could be developed (so that e.g. if you
> only use "named" colors you can get switch generated postscript to use
> CMYK color space without changing anything).

What I need for the first is a gray scale.  I do not use color printer
too much.  It is color independent and I wote to implement it first
before RGB and CMYK color models.

> This will use a database to map color names to color coordinates in
> the selected color space plus symbols that encapsulate the necessary
> low level commands like setcmykcolor for PS or k/K for PDF, etc.  The
> latter could also be used to directly specify some unnamed color by
> its coordinates.

This needs to write really big database of colors.
No, I will say no word to this.  I know that colors are a big science
which I do not underestand.  I am working in printing works company and
know very little about the color systems.  But I know it is a big science.
( I am a computer network administrator and have nothing to do with
the printing, except the laser printers of course :)

To the patches:
   I am not very happy while modifying lout "system" files.  I am afraid
that while upgrading in future to newer version of lout I lost accidentally
my changes to these files.  Also if I give my source to others they are
uncompilable without saying which patches to lout I was using a giving
that patches with source too.


-- 
Radek Hnilica <Radek at Balga dot CZ>
  will be <Radek at Hnilica dot CZ> in near future
http://www.balga.cz/hnilica
  will be http://www.hnilica.cz/ in near future
===========================

No matter how far down the wrong road you've gone, turn back.
                                                Turkish proverb




reply via email to

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