If I export a map fragment from OpenStreetMaps, say from this URL: https://www.openstreetmap.org/#map=14/32.3367/34.9163 using the SVG output format, the result displays correctly in an SVG viewer such as Geeqie, but when opened in LO Writer - I see black areas instead the pink area and others, in the image as rendered in the LO window. I'm not sure what the exact issue is, so this may well be a dupe, but - OSM map fragment export is quite a common use-case as SVGs go. Also, I'm not sure I've chosen the right component; I saw this in LO Writer. Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: fb9270b238cba4f36e595c5d7f4d85f6f3f18e1c CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US
REPRODUCIBLE with Installation of Version: 7.3.0.3 (x64) Build ID 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3 CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win | Locale: de-DE (de_DE); UI: de-DE | Calc: threaded | ElementaryTheme | My normal User Profile This problem affects areas with particular map "landuse" tags like orchard, military, prison, cemetery, probably others.
a) No obvious DUPs found with query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs147780&sharer_id=19321>. b) I checked "orchard"and "cemetery" also on other maps, same result.
Created attachment 178663 [details] Sample document Cemetery from https://osm.org/go/0G46SQfC2-- shown black in .svg export in LibO
Please retest, don't repro in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ad387d5b984c6666906505d25685065f710ed55d CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Not reproducible in Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f44becfdb8bc0dad2d3ec7abd3aaa889d9e0bfea CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded @Eyal, Could you please recheck with a recent master build ?
(In reply to Xisco Faulí from comment #5) > @Eyal, Could you please recheck with a recent master build ? Rechecking with a recent nightly, if I open in Writer - the image doesn't render at all, I get a blank rectangle with a small icon for an image, generally, in the corner. If I open in Draw (which is not how I saw the bug manifest originally), there are no black areas and the cemetary looks fine; so does the military base in the SVG saved from the link in comment 0. Is there something I can do to get the SVG to render in Writer? Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2f5e75ed134cfd0224e03411ca9d7d81f319c91b CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US
@Eyal, could you please attach the svg file here ?
Created attachment 198233 [details] SVG saved from the OpenStreetMap link This file is what you get if you follow the link at the opening comment ( https://www.openstreetmap.org/#map=14/32.3367/34.9163 ), press the export button, choose the SVG format and save.
Created attachment 198235 [details] Linux vs Windows How it looks for me on Linux and on Windows. Why they are displayed different is because of cairo. See bug 164434
(In reply to Xisco Faulí from comment #9) > How it looks for me on Linux and on Windows. Why they are displayed > different is because of cairo. See bug 164434 That's a different bug though, and IIANM, in Draw. This bug is about seeing black background for some "land use" areas, only.