<div dir="ltr">Hi Nyall (and all the others).<div>I don't think SVG is the right way to go. Even if it is a great standard, </div><div>It's implementations vary too mich from sw to sw and it doesn't meant for print productions. It's ok to exchange graphics but not to exhange document models.</div><div><br></div><div>You raised the foundamental problem: the Qt PDF support lacks important features, first of all CMYK. I don't know what Scribus uses for the output (it will be interesting do have a look), OpenOrienteering has temporary circumvented the problems forking and improving the QT PDF Printer [1] to support CMYK exports.</div><div><br></div><div>@Even, I know that GDAL has a better backend for PDF export but I fear that translating the QGIS rendering outputs (vectorials, texts, images) to a different library would be a huge effort, don't you think?</div><div>And yes, obviously we can slice compositions in multiple objects and export single PDF layers but it's very far from a production workflow! :)</div><div><br></div><div>I hope to see this topic grow, because I feel it's critical to QGIS adoption and quality.</div><div><br></div><div>Giovanni</div><div><br></div><div>[1] <a href="https://github.com/OpenOrienteering/mapper/commit/df73eb75499261dc6978556f960b228bf809e728">https://github.com/OpenOrienteering/mapper/commit/df73eb75499261dc6978556f960b228bf809e728</a></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-17 9:32 GMT+01:00 Vincent Schut <span dir="ltr"><<a href="mailto:schut@satelligence.com" target="_blank">schut@satelligence.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Just chiming in as a qgis-user: the best (imho) open source DTP software is build with QT: scribus (<a href="https://www.scribus.net/" target="_blank">https://www.scribus.net/</a>). Afaik it does support most things professional publishers need, such as CMYK workflows, high quality PDF exports, etc. Might be worth taking a look at, or contacting the devs about this, as they seem to have solved most of these problems?<br><br></div>Vincent.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 17, 2017 at 8:50 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><u></u>
<div style="font-family:'Sans Serif';font-size:9pt;font-weight:400;font-style:normal"><span>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> Unfortunately this is quite involved. At the moment QGIS is highly</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> tied into Qt's painter and printer framework. It's going to be very</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> difficult to change this and make a change like using another library</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> for exports. I think the most feasible approach would be to get the</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> changes we require implemented upstream in Qt itself. It's likely less</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> work, and also benefits other Qt projects too.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">The GDAL PDF writer creates PDF "at hand" and is able to create layered PDFs :</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://gdal.org/frmt_pdf.html" target="_blank">http://gdal.org/frmt_pdf.html</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Currently one raster layer, one "annotation" layer for legend, and several vector layers, mostly due to the API constraints of the GDAL API.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I'm not sure how feasible it would be (would require at least renumbering PDF objects and merging drawing instructions), but potentially you could render several layers into separate PDFs and then merge the PDFs into a single layered one </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Even</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Spatialys - Geospatial professional services</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a></p></div><br></div></div>______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div>