[Therion] Colour legend labels poorly aligned if more than single line

Bruce Mutton bruce at tomo.co.nz
Sat Aug 21 22:42:53 CEST 2021


Thanks again Martin

 

I transcribed the af88db0 <https://github.com/therion/therion/commit/75c7d3f9e2de37c5e85ecc0513087bc68b78a2b8>  changes to my custom header, also off my customisations just to make sure.  I can confirm that af88db0 <https://github.com/therion/therion/commit/75c7d3f9e2de37c5e85ecc0513087bc68b78a2b8>  does indeed solve the problem.

If the user takes control and adds a break, this perhaps gives the best result so long as the user makes a wise choice.  If the user just enters a long unbroken string, then the north arrow width is blocked out for all lines required to display the entire title.

So my conclusion – If there are no breaks in the cavename string, the map title will avoid the north arrow.  If there are breaks, the cavename string is allowed to clash as it is assumed the user is making a deliberate choice.

Nice.

 

With break after ‘Series’



With break after ‘Greenlink’



Without break



 

 

I didn’t check the minor map-comment formatting change to the header and the atlastitlepages.  Seems like minor detail :)

 

Bruce

 

 

From: Therion <therion-bounces at speleo.sk> On Behalf Of Martin Budaj
Sent: Sunday, 22 August 2021 04:24
To: List for Therion users <therion at speleo.sk>
Subject: Re: [Therion] Colour legend labels poorly aligned if more than single line

 

 

 

On Sat, Aug 21, 2021 at 12:50 AM Bruce Mutton <bruce at tomo.co.nz <mailto:bruce at tomo.co.nz> > wrote:

map header title

The text over writes the north arrow, although that is consistent with what happened before (possible that this is an artifact of my customisation however).

 

Thanks Bruce for testing the modifications.  Collision with the north arrow was present all the time; it's fixed in the latest commit.

 

Something that is happening with map header title that does not happen with automatic line breaks elsewhere is a heavy black | character.  I recall something like this was an issue long ago.  Is it a newline character rendering inappropriately?

 

This is a TeX way to mark overfull lines. It can be switched off, but it's good to have it activated to point you to problematic line breaks. But now it should show up much more rarely, as the recent commit uses left instead of block justification for the map title, which allows for more flexible line breaks.

 

M.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210822/9162a732/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 54705 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210822/9162a732/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 52450 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210822/9162a732/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 21654 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210822/9162a732/attachment-0001.jpg>


More information about the Therion mailing list