Opened 11 years ago

Closed 7 years ago

#443 closed defect (fixed)

cairo driver: labels are not rendered

Reported by: martinl Owned by: grass-dev@…
Priority: critical Milestone: 7.0.0
Component: Display Version: 6.4.0 RCs
Keywords: cairo Cc:
CPU: All Platform: All

Description

Cairo driver does not display any labels (PNG driver seems to work). E.g.

d.vect map=geodetic_swwake_pts@PERMANENT display=shape,cat

Change History (6)

comment:1 in reply to:  description Changed 11 years ago by glynn

Replying to martinl:

Cairo driver does not display any labels (PNG driver seems to work).

FWIW, it works for me in 7.0; e.g. (spearfish):

d.vect fields display=shape,cat

comment:2 Changed 11 years ago by mmetz

Version: svn-trunk6.4.0 RCs

In the North Carolina dataset,

d.vect boundary_county attrcol=NAME

doesn't work for me nowhere, from 6.4.0RC5 through to 7, any display driver. In 7, I can't even give an attrcol, that option in the wxGUI behaves as if it's disabled.

d.vect boundary_county display=shape,cat

works.

Applies to wxGUI only, not to tcltk.

???

Markus M

comment:3 in reply to:  2 ; Changed 11 years ago by hamish

Replying to mmetz:

In the North Carolina dataset,

d.vect boundary_county attrcol=NAME

doesn't work for me nowhere, from 6.4.0RC5 through to 7, any display driver. In 7, I can't even give an attrcol, that option in the wxGUI behaves as if it's disabled.

d.vect boundary_county display=shape,cat

works.

Applies to wxGUI only, not to tcltk.

???

the above example is missing disp=attr

e.g., works in 6.5 xmon:

 #spearfish
 d.vect archsites disp=attr attrcol=str1

perhaps (attrcol->answer != NULL) should switch on disp=attr if it was not already given??

Hamish

comment:4 in reply to:  3 Changed 11 years ago by mmetz

Replying to hamish:

Replying to mmetz:

In the North Carolina dataset,

d.vect boundary_county attrcol=NAME

doesn't work for me nowhere, from 6.4.0RC5 through to 7, any display driver. In 7, I can't even give an attrcol, that option in the wxGUI behaves as if it's disabled.

the above example is missing disp=attr

Hmph. Sorry for the noise, everything is fine. Except grass7, still can't set option attrcol, also when setting disp=attr first.

perhaps (attrcol->answer != NULL) should switch on disp=attr if it was not already given??

Maybe you want the column to be remembered but temporarily switch off label display?

Markus M

comment:5 in reply to:  description Changed 7 years ago by neteler

Replying to martinl:

Cairo driver does not display any labels (PNG driver seems to work). E.g.

d.vect map=geodetic_swwake_pts@PERMANENT display=shape,cat

Probably solved with r56886?

comment:6 Changed 7 years ago by hamish

Resolution: fixed
Status: newclosed

if there ever was a bug here, it's fixed now.

Hamish wrote:

perhaps (attrcol->answer != NULL) should switch on disp=attr if it was not already given??

Hamish

Note: See TracTickets for help on using tickets.