qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.02k stars 2.92k forks source link

The difference between the display line style and the printed line style #57516

Open ireneuszwojcik opened 1 month ago

ireneuszwojcik commented 1 month ago

What is the bug or the crash?

I have the following problem: I need to set the styling of a layer on the printout to a dashed line with a segment length of 6 mm and a gap length of 2 mm. I set the line style parameters, but when printing at a scale of 1:1000, these values are different: the segment is about 7 mm and the gap is 0.5 mm. Below is an example of the printout, on the left how it should look, and on the map, you can see how it actually looks. Can anyone help with this issue? Could it be a bug in QGIS?

Steps to reproduce the issue

et a custom line style with a 6 mm segment and a 2 mm gap for the line. Print at a scale of 1:1000 and measure the lengths. qgis1

Versions

3.16, 3.22, 3.30

Supported QGIS version

New profile

Additional context

afasdfsfd

Coastal0 commented 4 weeks ago

Try setting your Cap style to 'flat'

image