[GRASS-dev] [GRASS GIS] #855: d.text: rotate needs to rotate the background box too

#855: d.text: rotate needs to rotate the background box too
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Display | Version: svn-releasebranch64
Keywords: d.text | Platform: All
      Cpu: All |
---------------------+------------------------------------------------------
Hi,

as pointed out by Rich Shepard on the users mailing list, d.vect fails to
also rotate the background color-box along with the text.

there is already rendering code in d.labels to do this, it just needs to
be incorporated into the d.text code.

Also, if you had set the background color to "none" it was still getting
drawn but using the same color as the text. I've just fixed that in 6.5svn
(r40214). Previously the test for drawing background was just if the
bgcolor= option was used at all.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/855&gt;
GRASS GIS <http://grass.osgeo.org>

#855: d.text: rotate needs to rotate the background box too
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Resolution: | Keywords: d.text
  Platform: All | Cpu: All
----------------------+-----------------------------------------------------
Changes (by hamish):

  * version: svn-releasebranch64 => svn-develbranch6
  * milestone: 6.4.0 => 6.5.0

Comment:

bgcolor= does not exist for 6.4, it's new for 6.5+

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/855#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#855: d.text: rotate needs to rotate the background box too
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Keywords: d.text | Platform: All
      Cpu: All |
---------------------+------------------------------------------------------

Comment(by nikos):

Will this eventually end up in the 64th release?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/855#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#855: d.text: rotate needs to rotate the background box too
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Keywords: d.text | Platform: All
      Cpu: All |
---------------------+------------------------------------------------------

Comment(by hamish):

Replying to [comment:2 nikos]:
> Will this eventually end up in the 64th release?

before considering backporting options from the development branches to
the stable branches, first it has to be working properly in the
development version. so far it isn't.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/855#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#855: d.text: rotate needs to rotate the background box too
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Display | Version: svn-develbranch6
Keywords: d.text | Platform: All
      Cpu: All |
---------------------+------------------------------------------------------
Changes (by hamish):

  * milestone: 6.5.0 => 6.4.4

Old description:

Hi,

as pointed out by Rich Shepard on the users mailing list, d.vect fails to
also rotate the background color-box along with the text.

there is already rendering code in d.labels to do this, it just needs to
be incorporated into the d.text code.

Also, if you had set the background color to "none" it was still getting
drawn but using the same color as the text. I've just fixed that in
6.5svn (r40214). Previously the test for drawing background was just if
the bgcolor= option was used at all.

Hamish

New description:

Hi,

as pointed out by Rich Shepard on the users mailing list, d.text fails to
also rotate the background color-box along with the text.

there is already rendering code in d.labels to do this, it just needs to
be incorporated into the d.text code.

Also, if you had set the background color to "none" it was still getting
drawn but using the same color as the text. I've just fixed that in 6.5svn
(r40214). Previously the test for drawing background was just if the
bgcolor= option was used at all.

Hamish

--

Comment:

background box of d.text still not rotating..

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/855#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>