filename.erase();
lyxscale = 100; // lyx scaling in percentage
display = graphics::DefaultDisplay; // display mode; see preferences
- scale = string(); // output scaling in percentage
+ scale = string("100"); // output scaling in percentage
width = LyXLength();
height = LyXLength();
keepAspectRatio = false; // for LaTeX output
graphics::Params InsetGraphicsParams::as_grfxParams() const
{
graphics::Params pars;
- pars.filename = filename.absFilename();
+ pars.filename = filename;
pars.scale = lyxscale;
pars.angle = convert<double>(rotateAngle);
pars.bb = bb;
// Get the original Bounding Box from the file
- string const tmp = readBB_from_PSFile(filename.absFilename());
+ string const tmp = readBB_from_PSFile(filename);
lyxerr[Debug::GRAPHICS] << "BB_from_File: " << tmp << std::endl;
if (!tmp.empty()) {
#ifdef WITH_WARNINGS