]> git.lyx.org Git - features.git/commit
Fix clipping for vector formats and when exporting from command line
authorEnrico Forestieri <forenr@lyx.org>
Fri, 25 Sep 2020 19:25:40 +0000 (21:25 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 25 Sep 2020 19:25:40 +0000 (21:25 +0200)
commitb561dfaf2ef73dff89f2c47c78ca68a533b49a4a
treedbafa67f273b3003e46cae5a6f65bf941897273e
parent155c779432787a56711881493e67d962d21b66f3
Fix clipping for vector formats and when exporting from command line

This amends ea81faa9 that only took into account the postscript format
and did not consider that without GUI an image is not available even if
if it is actually cached. In this case we load the image for obtaining
its dimensions in order to correct the clipping bounding box.
src/insets/InsetGraphics.cpp
status.23x