<div dir="ltr"><div>If you can reproduce random colours with a new or old therion build you can send me some testing data. Otherwise you can send me some old PDF files with good and wrong colours.</div><div><br></div><div>M.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 11, 2021 at 9:16 PM Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ" style="overflow-wrap: break-word;"><div class="gmail-m_-3463136183810842807WordSection1"><p class="MsoNormal">Thanks Martin<u></u><u></u></p><p class="MsoNormal">Highlights the dangers of absorbing a language by osmosis.  A false sense of understanding!<u></u><u></u></p><p class="MsoNormal">I’ll try that out and see how it works.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Out of interest I went back over old maps to check the colour of my gridlines.  Until a few weeks ago I only ever used the default rgb colour model, and even now I only specify rgb, but occasionally force Therion to convert by specifying a cmyk colour model.  I found that I actually got a random section of the two gridline output colours over previous years.  My excuse for not picking it as a Therion behaviour is that I routinely use a number of pdf viewers and printers.  They all present line thicknesses and colours slightly differently. Especially Sumatra pdf compared to most others.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Therion <<a href="mailto:therion-bounces@speleo.sk" target="_blank">therion-bounces@speleo.sk</a>> <b>On Behalf Of </b>Martin Budaj<br><b>Sent:</b> Wednesday, 11 August 2021 07:23<br><b>To:</b> List for Therion users <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>><br><b>Subject:</b> Re: [Therion] Plan gridline colour changes unpredictably<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">0.5white doesn't work in CMYK properly (it's equivalent to 0.5*(0,0,0,0) = (0,0,0,0) = white)<u></u><u></u></p><div><p class="MsoNormal">0.1black doesn't work in RGB (it's 0.1*(0,0,0) = (0,0,0) = black)<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">So your formula produces 50% gray in RGB and 10% gray in CMYK. No idea why you got 10% gray in some RGB setups, some test data would be needed.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">To get 10% grey colour you need to use 0.1<span class="gmail-m_-3463136183810842807gmail-x">[w</span>hite,black<span class="gmail-m_-3463136183810842807gmail-x">] which works in all RGB, CMYK and Grayscale.</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Cheers<u></u><u></u></p></div><div><p class="MsoNormal">Martin <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Tue, Aug 10, 2021 at 11:29 AM Bruce Mutton <<a href="mailto:bruce@tomo.co.nz" target="_blank">bruce@tomo.co.nz</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Curious<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I have in my layout some metapost code to redefine the plan gridlines, used without apparent problem for perhaps 10 years.  It includes a colour specification…<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">withcolor 0.1black+0.5white;<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Mostly they come out like this, very light grey.  This example is exported using colour-model cmyk, but most of the time using colour-model rgb it looks exactly the same, in my current project (only variables are colour map-fg, some map previews on or off and the colour model).<u></u><u></u></p><p class="MsoNormal"><img border="0" width="185" height="186" style="width: 1.9236in; height: 1.9375in;" id="gmail-m_-3463136183810842807gmail-m_-7186397347626896250Picture_x0020_1" src="cid:17b3b7b2e7c5b006a1"><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">For some reason, in my current project, if I use colour-model rgb for a particular output variant, I get a much darker gridline, as below.  Other variants with rgb, the colour of the gridline matches the first example.<u></u><u></u></p><p class="MsoNormal"><img border="0" width="174" height="180" style="width: 1.8125in; height: 1.875in;" id="gmail-m_-3463136183810842807gmail-m_-7186397347626896250Picture_x0020_2" src="cid:17b3b7b2e7c7745b42"><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Any hints as to why the difference?<u></u><u></u></p><p class="MsoNormal">I might have expected this to occur with the new cmyk colour model, but it does not.<u></u><u></u></p><p class="MsoNormal">So far it has only happened with in a single specific case when using the rgb colour model.  I’ll watch for more cases…<u></u><u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>Therion mailing list<br><a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br><a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><u></u><u></u></p></blockquote></div></div></div>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div></div>