[QGIS-trac] Re: [Quantum GIS] #1447: gaps in lines for outline width < 0.26

Quantum GIS qgis at qgis.org
Sun Dec 7 22:25:29 EST 2008


#1447: gaps in lines for outline width < 0.26
-----------------------------------------------------+----------------------
        Reporter:  msieczka                          |         Owner:  nobody       
            Type:  bug                               |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.0
       Component:  Graphics                          |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by smizuno):

 I have found that the width setting to use depends on the operating
 system/Qt as the reported screen resolution typically is 96dpi, but might
 not be on some platforms. The value 0.26 is approximately the result of
 25.4mm/96dpi (the size of one pixel). Also, as the width is increased the
 line will become solid, but with an increasing number of double pixels.
 This is normal Qt behavior.

 I filed ticket #1238 to have more control because of this behavior.

 There is a Qt special value of 0.0 which draws one pixel width regardless
 of the device. This is fine for use on screen, but is probably too thin
 for print.

 I believe that any given fixed setting will not be satisfactory to many
 users. This is an argument for making the default width user settable.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1447#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list