Opened 16 years ago

Closed 11 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)

in reply to:  description comment:1 by glynn, 16 years ago

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 by mmetz, 15 years ago

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

in reply to:  2 ; comment:3 by hamish, 15 years ago

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

in reply to:  3 comment:4 by mmetz, 15 years ago

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

in reply to:  description comment:5 by neteler, 11 years ago

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 by hamish, 11 years ago

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.