[Therion] Showing qestion mark texts broken?

Benedikt Hallinger beni at hallinger.org
Fri Jan 4 12:19:01 CET 2019


Hi again,
it was indeed the Underscore.

This works (therion 5.4.1):
--------
        if ( known ATTR__text ):
           % set labeling color to red
           push_label_fill_color(1.0, 0.0, 0.0);

           % draw filled label with text below station
           p_label.bot(ATTR__text, pos shifted (0,-0.5u), 0.0, 8);

           % restore original labeling color
           pop_label_fill_color;
         fi;
-------

Thank you everybody!



Am 2018-12-26 23:20, schrieb Benedikt Hallinger via Therion:
> Forwarding an off list mail to me that explains
> 
> Am 2018-12-24 11:27, schrieb Marco Corvi:
>> benedikt,
>> 
>> from my tests,
>> options, eg "-text", are referred as ATTR__text (double underscore),
>> custom attributes, eg "-attr code", as
>> ATTR_code (single underscore)
>> 
>> feel free to forward to the list.
>> 
>> thx for pointing out the error in my page,
>> 
>> marco
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list