On 9-Feb-2011, Michael D Godfrey wrote:
| On 02/09/2011 02:00 PM, bpabbott wrote:
|
| It just occurred to me that all we need to do is ..
|
| set (0, "defaulttextclipping", "off")
|
| Can that be done before ~/.octaverc is run?
|
| Ben
|
|
|
| VERY good. That works when I put it in my .octaverc file. There should be
| someplace
| where that can be compiled in.
How about the following change:
diff --git a/src/graphics.h.in b/src/graphics.h.in
--- a/src/graphics.h.in
+++ b/src/graphics.h.in
@@ -3737,6 +3737,7 @@
text (const graphics_handle& mh, const graphics_handle& p)
: base_graphics_object (), xproperties (mh, p)
{
+ xproperties.set_clipping ("off");
xproperties.override_defaults (*this);
}
This will make the default value of the clipping property for text
objects "off", will still allow
set (0, 'defaulttextclipping', 'on')
to set the default to 'on', but will not add anything to the structure
displayed by
get (0, 'default')
as would happen if we found a place to insert
set (0, 'defaulttextclipping', 'off')
prior to executing the startup files.
jwe