mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Do not correct clipping bounding box for vector formats
This amends 380f34a1
that only took into account the postscript format.
This commit is contained in:
parent
70725040db
commit
9b1763cd42
@ -326,7 +326,7 @@ void InsetGraphics::outBoundingBox(graphics::BoundingBox & bbox) const
|
|||||||
string const format = theFormats().getFormatFromFile(unzipped_file);
|
string const format = theFormats().getFormatFromFile(unzipped_file);
|
||||||
if (zipped)
|
if (zipped)
|
||||||
unzipped_file.removeFile();
|
unzipped_file.removeFile();
|
||||||
if (Formats::isPostScriptFileFormat(format))
|
if (theFormats().getFormat(format)->vectorFormat())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Get the actual image dimensions in pixels
|
// Get the actual image dimensions in pixels
|
||||||
|
Loading…
Reference in New Issue
Block a user