[Qgis-developer] Re: Symbol pattern scaling issues: raster versus vector pdf

John C. Tull jctull at gmail.com
Thu Apr 1 15:23:01 EDT 2010


Hi Marco,

Thanks for the clarification. I have not had a chance to return to that, but will try today.

John

On Apr 1, 2010, at 1:44 AM, Marco Hugentobler wrote:

> Hi John
> 
> I also tried it today and applied the modification of ticket 5114 to Qt 4.6.2 
> And it works for me now with vector pdf.
> 
> But I forgot to mention that it only works with svg fill in new symbology. So 
> if you are using the normal hardcoded polygon fills, it will not work (because 
> they are rasters and will appear pixelated in the print). However, you could 
> generate svg files with similar patterns.
> 
> Regards,
> Marco
> 
> Am Mittwoch, 31. März 2010 23.03:05 schrieb John C. Tull:
>> Hi Marco,
>> 
>> I tested with qt-4.7 preview code. The patch had not been applied, so I
>> patched it, compiled, etc. Unfortunately, the symbol scaling problem was
>> not resolved. Additionally, svg symbols in the legend were being misplaced
>> when I printed a vector pdf file.
>> 
>> Using the untouched 4.7 preview code, the offset problem with the legend
>> icons was fixed. The oversized dot pattern fill was still present.
>> 
>> So this does not appear to be the solution to the problem with polygon
>> pattern fill issues.
>> 
>> Regards,
>> John
>> 
>> On Mar 30, 2010, at 12:01 PM, Marco Hugentobler wrote:
>>> Hi John
>>> 
>>> The vector scaling issue in (vector) pdf is a bug in Qts pdf paint
>>> engine:
>>> 
>>> http://bugreports.qt.nokia.com/browse/QTBUG-5114
>>> 
>>> But now there is a patch for it in the qt bugtracker. So hopefully it is
>>> fixed in the newer versions (or you could apply the small modification in
>>> the ticket if you have a 4.5).
>>> 
>>> Regards,
>>> Marco
>>> 
>>> Am Dienstag, 30. März 2010 17.59:59 schrieb John C. Tull:
>>>> Hi Marco,
>>>> 
>>>> I assume you saw the bug I filed the other day on this:
>>>> https://trac.osgeo.org/qgis/ticket/2598
>>>> 
>>>> I wanted to follow up with you because exporting to vectorized pdf seems
>>>> to be a possible workaround for the strange polygon fill/shading bug
>>>> that occasionally crops up for me (recall our communication and the
>>>> screenshots from the hackfest). For projects that have the fill problem,
>>>> exporting to pdf as a vectorized pdf file avoids the fill problem.
>>>> Unfortunately, the issue with symbol fill pattern differences arises, as
>>>> described in the bug report.
>>>> 
>>>> I'm hoping there is a simple solution to this problem. Otherwise, I am
>>>> at a loss for creating printable, high-quality maps in qgis for many of
>>>> my projects.
>>>> 
>>>> Regards,
>>>> John
>> 
> 
> -- 
> Dr. Marco Hugentobler
> HUGIS GmbH
> Webereistrasse 66
> CH-8134 Adliswil
> marco at hugis.net
> http://homepage.hispeed.ch/hugis
> Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list