Comment 63 for bug 689349

Revision history for this message
In , Martin Weis (martin-weis-newsadress) wrote :

With following process to post-process the crappy 1-pixel stuff generated by LO, I was able to get a relatively clean PDF (Fonts are not exported as fonts, but that is another topic):

Save the file/export to EPS format.
The EPS is pretty readable, so I remove the lines with the dots with the following awk script:

---8<---fixodg2pdf.awk--------
#!/usr/bin/awk -f

# points (pc?) with the lr/ul corner being teh same
{if (($1==$4) && ($2==$5))
        {next;}
}
{print}
---8<-------------------------

(save and chmod a+x fixodg2pdf)
use it like

./fixodg2pdf.awk exported.eps > fixed.eps

Then use gv to open it and save as PDF.
There were issues with the bounding box for me with other tools, so the last step may be up to your preferred tool.

Please, can somebody fix the exports of LO? This makes the whole drawing part of LO pretty unusable.