#10250 closed defect (worksforme)
problem with displaying .svg
Reported by: | Klumbumbus | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | svg | Cc: |
Description
JOSM is not able to display this .svg icon if used as icon in mappaint style or for a preset. Is this a JOSM bug or a problem with the .svg file?
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-07-09 01:37:29 Last Changed Author: bastiK Revision: 7296 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-07-08 18:49:07 +0200 (Tue, 08 Jul 2014) Last Changed Rev: 7296 Identification: JOSM/1.5 (7296 en) Windows 7 32-Bit Memory Usage: 247 MB / 742 MB (119 MB allocated, but free) Java version: 1.7.0_60, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.policy=file:C:\Program Files\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\plugin.jar, -Djava.util.Arrays.useLegacyMergeSort=true, -Xms256m, -Xmx768m, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=56512, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=-Djava.util.Arrays.useLegacyMergeSort=true] Dataset consistency test: No problems found Plugin: DirectUpload (30416) Plugin: HouseNumberTaggingTool (30416) Plugin: OpeningHoursEditor (30416) Plugin: PicLayer (30436) Plugin: Tracer2 (30416) Plugin: buildings_tools (30485) Plugin: editgpx (30416) Plugin: imagery_offset_db (30416) Plugin: measurement (30416) Plugin: notes (v0.9.2) Plugin: public_transport (30416) Plugin: reltoolbox (30416) Plugin: reverter (30436) Plugin: terracer (30416) Plugin: turnrestrictions (30454) Plugin: undelete (30416) Plugin: utilsplugin2 (30460)
Attachments (2)
Change History (9)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Keywords: | svg added |
---|
follow-up: 4 comment:3 by , 10 years ago
Yes, svg support is somewhat limited. You can try to convert the image back and forth or identify the missing feature and work around it... Or simply use png in this case.
comment:4 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Replying to bastiK:
Yes, svg support is somewhat limited. You can try to convert the image back and forth
Thanks. Simply copy the data in inkscape into a fresh new document and safe it did work for me.
comment:5 by , 10 years ago
Can you attach the new (working) document? We should look at the differences and report the bug to SVG Salamander bugtracker.
by , 10 years ago
Attachment: | TheresaKnott_handbag.svg added |
---|
by , 10 years ago
Attachment: | TheresaKnott_handbag_works_with_JOSM.svg added |
---|
comment:6 by , 10 years ago
original file (not displayed in JOSM): TheresaKnott_handbag.svg
(downloaded from here)
in JOSM working file: TheresaKnott_handbag_works_with_JOSM.svg
(copied data in a new inkscsape document, resized page dimension to data and saved)
comment:7 by , 10 years ago
I just noticed that Firefox shows both files by default in different sizes, although both files have the same page size and are also shown at the same size in inkview. I don't know whats wrong there again ;) I don't know much about svgs.
Replying to Klumbumbus:
Sorry, forgot about the problems with libsalamander. Its development is not that active atm.
Maybe #8889 or a different problem.