Hi Does anyone have a solution to set the text color? (Point label) Maybe by code metapost ? Thanks Yann
Yann The options below give broad control of labels by scrap, map or entire export built into Therion. Many years since I experimented with colour text, in the end I decided black is better, so these are based on memory with a refresher skim through the Therion Book. Existing layout options include: Colour <item> <colour> where <colour> = map-fg (which can be scrap or map, and maybe altitude if smooth-shading is off) and <colour> = labels. So specify the colour of the map-fg then on another line specify the colour of the labels. Or maybe the second line should be – colour labels on Or, when selecting a map in your th-config use: select <map> -colour [100 100 3] # yellow The above options should give you refined control where your export has multiple maps. Also to blanket change all text: symbol-colour <point/line or group > text <colour> Good luck Bruce From: Therion <therion-bounces@speleo.sk> On Behalf Of Yann Gardère Sent: Sunday, 22 September 2024 21:29 To: List for Therion users <therion@speleo.sk> Subject: [Therion] Text color Hi Does anyone have a solution to set the text color? (Point label) Maybe by code metapost ? Thanks Yann
Hi Yann, You can't override the colour of a specific label, but I had one project where I wanted a subset of labels in a different colour. I created a copy of the original label metapost to make a new user defined symbol (e.g. u:label_warning) which could then be styled with a specific colour with the symbol-colour command. Regards, Paul On Sun, 22 Sept 2024 at 21:29, Yann Gardère <gardere.yann@gmail.com> wrote:
Hi
Does anyone have a solution to set the text color?
(Point label)
Maybe by code metapost ?
Thanks
Yann _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Thanks Bruce and Paul, the différent solution work fine 👍 Le dim. 22 sept. 2024 à 23:13, Paul Rowe <armchair.caver.nz@gmail.com> a écrit :
Hi Yann, You can't override the colour of a specific label, but I had one project where I wanted a subset of labels in a different colour. I created a copy of the original label metapost to make a new user defined symbol (e.g. u:label_warning) which could then be styled with a specific colour with the symbol-colour command.
Regards, Paul
On Sun, 22 Sept 2024 at 21:29, Yann Gardère <gardere.yann@gmail.com> wrote:
Hi
Does anyone have a solution to set the text color?
(Point label)
Maybe by code metapost ?
Thanks
Yann _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (3)
-
Bruce Mutton -
Paul Rowe -
Yann Gardère