Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 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 10 years ago.
TheresaKnott_handbag_works_with_JOSM.svg (13.4 KB ) - added by Klumbumbus 10 years ago.

Download all attachments as: .zip

Change History (9)

in reply to:  description comment:1 by skyper, 10 years ago

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 by Don-vip, 10 years ago

Keywords: svg added

comment:3 by bastiK, 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.

in reply to:  3 comment:4 by Klumbumbus, 10 years ago

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 works for me.

Version 1, edited 10 years ago by Klumbumbus (previous) (next) (diff)

comment:5 by Don-vip, 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 Klumbumbus, 10 years ago

Attachment: TheresaKnott_handbag.svg added

comment:6 by Klumbumbus, 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 Klumbumbus, 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.

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.