]> git.lyx.org Git - features.git/commit
Fix PDF output of clipped graphics with recent graphics package
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 12 Oct 2017 13:38:59 +0000 (15:38 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Oct 2017 06:28:26 +0000 (08:28 +0200)
commit88c285219b4c2a4a3fc88b08ba7d2bbc2c814353
tree499e9ec310ed51502cef596bee76313648e1f795
parent80983a35535753992ab1499e2230592063f6ddcb
Fix PDF output of clipped graphics with recent graphics package

The previous redirection of the senseless option "bb" to "viewport" in
PDFLaTeX output has been removed in a recent graphics package update.

This breaks documents, since clipped graphics silently stop displaying.

This change restores the previous output by using "viewport" instaed of
"bb" for non-PS/DVI output, while leaving PS/DVI untouched (where "bb"
and "viewport" behave differently.

Fixes: #7910
src/insets/InsetGraphics.cpp
src/insets/InsetGraphics.h