Hello,
I found a strange behaviour in canvas object. I don't know if it it operational system related, but anyway It's happening here and could happen with others.
The situation is:
When I send a symbol # to a canvas label (with the intention of use this as a "panel") it's converted for the symbol $ ...
someting like:
C# | ; cnv_test label $1 /
it results in canvas printing:
C$
there's a patch attached with an example.
my system is Linux (Ubuntu Feisty - Gnome Desktop) kernel 2.6.20-26-generic locale pt_BR
thanks
glerm
On Fri, 17 Aug 2007, glerm soares wrote:
I found a strange behaviour in canvas object. I don't know if it it operational system related, but anyway It's happening here and could happen with others. The situation is: When I send a symbol # to a canvas label (with the intention of use this as a "panel") it's converted for the symbol $ ...
I wrote about this today already. This is because $ is rewritten as # instead of being rewritten as $ as it should. The # way involves extra code that is both causing your problem and is unnecessary because $ already gets converted to $ automatically.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
2007/8/17, Mathieu Bouchard matju@artengine.ca:
On Fri, 17 Aug 2007, glerm soares wrote:
I found a strange behaviour in canvas object. I don't know if it it operational system related, but anyway It's happening here and could happen with others. The situation is: When I send a symbol # to a canvas label (with the intention of use this as a "panel") it's converted for the symbol $ ...
I wrote about this today already. This is because $ is rewritten as # instead of being rewritten as $ as it should. The # way involves extra code that is both causing your problem and is unnecessary because $ already gets converted to $ automatically.
It should be reported as a bug?
thanks
glerm
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
On Fri, 17 Aug 2007, glerm soares wrote:
2007/8/17, Mathieu Bouchard matju@artengine.ca:
I wrote about this today already. This is because $ is rewritten as # instead of being rewritten as $ as it should. The # way involves extra code that is both causing your problem and is unnecessary because $ already gets converted to $ automatically.
It should be reported as a bug?
a bug according to whom? it was deliberately designed and written like that.
and... reported by whom?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
2007/8/17, Mathieu Bouchard matju@artengine.ca:
On Fri, 17 Aug 2007, glerm soares wrote:
2007/8/17, Mathieu Bouchard matju@artengine.ca:
I wrote about this today already. This is because $ is rewritten as # instead of being rewritten as $ as it should. The # way involves extra code that is both causing your problem and is unnecessary because $ already gets converted to $ automatically.
It should be reported as a bug?
a bug according to whom? it was deliberately designed and written like that.
and... reported by whom?
well,
IMHO,
If I want to print a F# in the cnv object is not possible "by design"? Is that what you mean?
So maybe It's a cnv object limitation, maybe It's a PD symbol treatment limitation. Will this happen with other GUI objects, like printing this A# in a GEM window for example?
Maybe we couldn't call this a "bug", but it's a big limitation since I have to use # to represent sharp notes in "ocidental notation". As far as I know music is an important issue for PD...
Wish I could help more if I could touch those codes, but I'm a newbie programmer... So all I can do is to report this... "limitation"(?)
hope this report can help something,
thanx mathieu,
salut,
glerm