On Saturday 18 June 2011 08:09, Rick Jones wrote: > I have an SVG file created by "rrdtool graph", which when inserted into > a document being created in OpenOffice gets what appears to be a > not-very transparent red layer over top of it. Through the red I can see > what appears to be the grid of the graph, but I do not see text. > > This is with rrdtool 1.4.3 as available to Ubuntu Maverick, as well as > with the 1.4.5.002185 snapshot. OpenOffice is OpenOffice.org 3.2.1 > OOO320m19 (Build:9505) ooo-build 3.2.1.4, Ubuntu package > 1:3.2.1-7ubuntu1.1 .
My first question is does it need to be an SVG. I use SVG frequently myself but i find for sharing the file you cannot beat the consistency achieved by converting to a bitmapped graphic. Yes SVG has the benefits of seemless scaling/zooming, but unless this is required then i export to PNG generally. Even Inkscape, which essentially uses SVG internally, has bugs in it's display routines that can pop up unnexpectedly. Worst case scenario use a screen capture to convert. > The rrdtool folks tell me that their SVG file creation is handled > entirely by pango+cairo, and those are at the versions shipped with > Maverick as well. > > The SVG file displays in Firefox (again, Maverick version) just fine. > The file loads into inkscape just fine. If I then save it as "plain > SVG" it will insert without the red overlay into OpenOffice but still > without any of the text. Your text issue sounds like a font issue. Does "rrdtool graph" use a custom font? I have never used it. Try selecting a font that you know works in other programs. > I can provide the initial .svg file but wanted to check the list's > attachment policy first. IIRC a draw document containing the file would get through, though with SVG you could include it as plain text within your email. Load the file up in a text editor then copy and paste. > rick jones -- Michael -- ----------------------------------------------------------------- To unsubscribe send email to users-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help