Bug report #20329

embed of svg symbols does not work for svg symboles > 25 kB

Added by Sebastian Brocks over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Project Loading/Saving
Affected QGIS version:3.4.0 Regression?:No
Operating System:windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28150

Description

Embedding SVG symbols larger than 25 kB accoroding to https://github.com/qgis/QGIS-Enhancement-Proposals/issues/126 does not work.

Associated revisions

Revision 32dc1020
Added by Nyall Dawson over 5 years ago

Fix embedding larger files then can fit in a QLineEdit's contents

Fixes #20329

Revision 4d5b195c
Added by Nyall Dawson over 5 years ago

Fix embedding larger files then can fit in a QLineEdit's contents

Fixes #20329

(cherry picked from commit 32dc1020261a2a28491b680e7b8291b70fe6deb2)

History

#1 Updated by Saber Razmjooei over 5 years ago

  • Category changed from Symbology to Project Loading/Saving

#2 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Feedback

Can you provide more info? E.g. what happens in this circumstance. Is the embedded symbol truncated?

#3 Updated by Sebastian Brocks over 5 years ago

Hmm, it's not truncated. The problem might be that test-SVG files that I have that are not working are already including Base64 encoded bitmap images.

#4 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Feedback to Open

#5 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to In Progress

#6 Updated by Nyall Dawson over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF