Hello Dan,

Recently Tim pointed me a solution that utilized the "parameter as an
expression" feature. This is quite powerful feature and very flexible.

If found that if the expression contained a symbol code, the string
returned by the Tcl_Eval function may contain UTF-8 encoded characters.
The UDrawSting0 function in text.c is not aware of this and will draw funny
characters.

I like bug reports that come with solutions (I don't get too many of
those)!

I have applied the patch to the git source (the code looked good to me)
Let me know if you find any other issues.

                                        Regards,
                                        Tim

+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim)       | email: t...@opencircuitdesign.com    |
| Open Circuit Design            | web:   http://opencircuitdesign.com |
| 19601 Jerusalem Road           | phone: (240) 489-3255               |
| Poolesville, MD 20837          | cell:  (408) 828-8212               |
+--------------------------------+-------------------------------------+

_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to