]> 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:31:37 +0000 (08:31 +0200)
commitcd626c24118b30ec8c2297222e39358047731369
treeb13c383263d705d8f27a2d4e0c09cccf19121f3e
parent10002fe4369c71ad487d51052277af966b20660c
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
status.22x