[Therion] Remove little text in global export & offseted map

Tarquin Wilton-Jones tarquin.wilton-jones at ntlworld.com
Mon Mar 13 11:37:06 CET 2023


Hi David,

> My survey is quite huge and I need to export different scales
> In the biggest I would like to remove all little object and particularly
> text from the export to make it more understandable.

Yes, but also no:
https://therion.speleo.sk/wiki/templates#setup_a_default_standard_layout

layoutstandards.txt has some metapost code that can hide small text
labels. *BUT* the way it works is to physically measure the size of the
text label. So if - for example - you have something like this:

point 740.0 918.5 label -scale xl -text [foo<br>bar] -align left

The linebreak in there makes the rendered text block taller than one
line of text would be. The metapost code does not understand that, so it
assumes it must be a large text size, and it allows it to render.

(Yes, it would be possible to make the code check only the first text
character, but that is not as easy as you might think, since the first
character can be a linebreak, or formatting.)

You can also use this layout option:
min-symbol-scale M
but that affects all symbols at once, and you need to remember that all
lines have a default size, even if you did not explicitly set one!

Therion really, really needs to have a setting like this:
min-symbol-scale point label M
* wishes *

> *2- Offseted map:*
> 
> this topic is known but I would like to know if there were some progress?
> 
> Some under-level of offsetted map refers directly to the initial shadow
> when using connection map point.

Sorry, I do not understand this question, could you perhaps explain in
more detail?

Cheers,

Tarquin


More information about the Therion mailing list