[GRASS-dev] [GRASS GIS] #3382: d.text align does not work in wx0 and Map Display

#3382: d.text align does not work in wx0 and Map Display
-------------------------------------------------+-------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.4.0
Component: wxGUI | Version: svn-trunk
Keywords: display, GUI, rendering, d.mon, | CPU: Unspecified
  d.text |
Platform: Linux |
-------------------------------------------------+-------------------------
The `align` from G7:d.text is ignored by `d.mon wx*` and in ''Map
Display'' when used in ''Console'' in GUI.

cairo monitor: Red text aligned around the center - 20% of the screen:

{{{
d.mon cairo width=400 height=400 output=test.png
d.text abcxxxcba at=20,50 color=green
d.text abcxxxcba at=20,60 color=red align=cc
}}}

wx0 monitor: Red text in the same horizontal position as the green one:

{{{
d.mon wx0 width=400 height=400
d.text abcxxxcba at=20,50 color=green
d.text abcxxxcba at=20,60 color=red align=cc
}}}

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