[Qgis-user] How to export online content in QGIS print composer into static formats for offline use (eg: PNG, PDF)

Carlos Cámara carlos.camara at gmail.com
Mon Jul 31 05:28:40 PDT 2017


Hello,

This is my first message to this mailing list, so let me introduce myself:
I'm Carlos Cámara and I have been a casual QGIS user from some time now,
but I'd like to learn more about it.

I'm writing because I have a question related to a map in which I use
online content (most specifically font awesome icons) which does not get
exported to PDF, PNG or so.

Currently, I have a print composer layout which, amongst other things, has
a HTML frame with the following code:

<script src="https://use.fontawesome.com/27c6690f63.js"></script>
<ul class="fa-ul">
  <li><i class="fa-li fa fa-rss"></i><class="hidden">URL</class></li>
  <li><i class="fa-li fa fa-twitter"></i><class="hidden">URL</class></li>
  <li><i class="fa-li fa fa-facebook"></i><class="hidden">URL</class></li></ul>

This frame shows up fine on the screen after a short loading time (at
least, most of the time, as from time to time it doesn't load and, hence,
becomes empty), but my problem arises when I want to export all the atlas
features using that frame into PNGs (or PDF, doesn't matter): everything is
exported but that particular frame. I am assuming it may be due to a
timeout or that it takes more time to load font awesome than the time QGIS
takes in exporting, so my question is: Is there a way to prevent this from
happening?

Regards,

Carlos Cámara
http://carloscamara.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170731/bf43031a/attachment.html>


More information about the Qgis-user mailing list