Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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)

TheresaKnott_handbag.svg (13.0 KB) - added by Klumbumbus 5 years ago.
TheresaKnott_handbag_works_with_JOSM.svg (13.4 KB) - added by Klumbumbus 5 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 in reply to:  description Changed 5 years ago by skyper

Replying to Klumbumbus:

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?

Sorry, forgot about the problems with libsalamander. Its development is not that active atm.

Maybe #8889 or a different problem.

comment:2 Changed 5 years ago by Don-vip

Keywords: svg added

comment:3 Changed 5 years ago by bastiK

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 in reply to:  3 Changed 5 years ago by Klumbumbus

Resolution: worksforme
Status: newclosed

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.

Last edited 5 years ago by Klumbumbus (previous) (diff)

comment:5 Changed 5 years ago by Don-vip

Can you attach the new (working) document? We should look at the differences and report the bug to SVG Salamander bugtracker.

Changed 5 years ago by Klumbumbus

Attachment: TheresaKnott_handbag.svg added

Changed 5 years ago by Klumbumbus

comment:6 Changed 5 years ago by Klumbumbus

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 Changed 5 years ago by Klumbumbus

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.