octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, l


From: Rik
Subject: [Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, linestyle, edgecolor
Date: Sat, 21 Oct 2017 15:15:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #9, bug #39692 (project octave):

I was not aware of this report.  The polygon offset is very finicky and the
correct value has to be determined experimentally.  I used the code from
Pantxo in comment #7 as my test vehicle.  On my system, pushing the polygon to
offset 4 and the axes background to offset 9 seems to work.  I also modified
the help text for background color slightly.  I've attached txtback3.cset as
the next version of a patch for testing.

Currently, there seems to be a problem with text rotation and printing of 2-D
plots.  The following code shows the problem.


clf
ht = text (0.5, 0.5, "Hello World", "backgroundcolor", 'r', "rotation", 45)
print tst.svg


In the output, the text is correctly rotated, but the background patch is
rotated in the opposite direction, i.e., -45 degrees.  That should be simple
to fix.


(file #42215)
    _______________________________________________________

Additional Item Attachment:

File name: txtback3.cset                  Size:7 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39692>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]