[Qgis-user] printing scale of fill patterns to great

Wolf-E. Altmann mailinglists at envitelligence.de
Tue May 24 03:13:36 PDT 2011


Am 24.05.2011 12:06, schrieb Andreas Neumann:
> Hi again,
>
> You can also print SVG patterns to PDF, but you have to rasterize the 
> map. In the print composer in the general options use the checkbox 
> "Print as Raster" and select an appropriate DPI. You will get a PDF 
> with an embedded raster then. Not ideal I know.
>
> The bug fixing is in the works, but quite complicated, since the bug 
> is in the underlying qt pdf/svg libraries.
>
> Andreas
>
> On Tue, 24 May 2011 11:47:51 +0200, Wolf-E. Altmann wrote:
>> Am 24.05.2011 11:20, schrieb Andreas Neumann:
>>> Hi Wolf,
>>>
>>> We need to know a bit more details to help you.
>>>
>>> In QGIS there are two types of patterns: SVG patterns or predefined 
>>> patterns. They behave different. Which patterns are you using?
>>>
>>> Patterns are unfortunately still problematic. The predefined 
>>> patterns don't print well, in fact the predefined patterns should be 
>>> removed from QGIS in a future version. The SVG patterns print fine 
>>> if you print to raster or to postscript. They don't print well if 
>>> you export to PDF. This is a known bug in QT.
>>>
>>> As to scaling of SVG patterns: you can define the patterns in map 
>>> units (in which case they scale with zooming) or in mm in which they 
>>> stay in constant size, regardless of the zoom factor.
>>>
>>> Hope this helps?
>>>
>>> Andreas
>>>
>>> On Tue, 24 May 2011 11:02:28 +0200, Wolf-E. Altmann wrote:
>>>> Hello,
>>>>
>>>> i am using Qgis 1.6. I want to print a map using fill patterns. On
>>>> the screen it looks ok, when i change the map scale, the scale of the
>>>> fill patterns looks all the time the same. But when i print it, the
>>>> fill pattern is very big. When i change the map scale, also the
>>>> printed pattern changes. But nevertheless using the scales 1 : 5000 or
>>>> 1 : 10000 the pattern is very big.
>>>> I tried it with various fill patterns, and the effect is the same.
>>>>
>>>> Can someone help me?
>>>>
>>>> Wolf
>>>>
>>>> (Sorry for my English)
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>> Hi Andreas,
>>
>> first I thank for the quick answer and your help.
>>
>> Really I used the predefined patterns. But then also I tried the
>> SVG-pattern and the result was not very sharp. But I controlled it
>> only by PDF. So I will print it.
>>
>> Wolf
>
Hi Andreas,

I thank you for your help.

I tried to play a little with defining the SVG-patterns i map units and 
in mm. I have the feeling, that "mm" also scales with zooming. Can it be 
or I am wrong?

Wolf



More information about the Qgis-user mailing list