Have you tried this in CMYK rather than RGB?
symbol-color line water-flow [100 0 0 0]
or
color-model cmyk
def a_water (expr p) =
T:=identity;
thfill p withcmykcolor (1,0,0,0);
enddef;
Pavel
Dňa 2024-11-15 22:00 Bill Gee napísal(a):
Well, this is interesting1 I changed the line in thconfig to green as
Bruce suggested. The water areas come out as a rather light green, not
a fully saturated color. Changing it back to red {0 0 100] gives a
sort of light black color.
Looking in the thbook, I see that color in this syntax is an RGB
triplet. I think the range for each triplet is 0 to 100. Is that
right? I tried setting it to [0 0 200] but Therion tossed an error
message about that.
Just for testing, I commented out another line in the layout section:
color map-fg [100 86 66]
With that change I now get very light blue water and a white
background.
It seems there is an interaction between the map-fg color and the area
color. I tried adjusting the the map-fg colors, assuming that lower
numbers would be paler colors. Nope! Using [50 43 33] gave a dark
brown background, and using [25 20 16] gave an almost black background.
I set the map-fg colors back to original, then changed the water area
color to [0 0 10]. The result is almost black.
===============
Bill Gee
On 11/15/24 14:06, Bruce Mutton wrote:
In the thconfig file I have this line in the layout section:
symbol-color area water [0 0 100]
Bill, have you tried
symbol-color area water [0 100 0] #green
and similar for the metapost?
Sounds like all your pdf viewers are telling you something. That the
lines are not used in your thconfig, or they are being superseded by a
subsequent contradictory entry :)
Bruce
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion