[LyX/2.3.x] Fix bug #11180

Enrico Forestieri forenr at lyx.org
Fri Sep 25 19:11:23 UTC 2020


On Fri, Sep 25, 2020 at 07:29:15PM +0200, Enrico Forestieri wrote:
> On Fri, Sep 25, 2020 at 10:26:22AM -0400, Scott Kostyshak wrote:
> > 
> > There is still a mystery (to me) of why I got different PDF output if I
> > opened the .lyx file in the GUI and clicked on the View button, as
> > opposed to exporting on the command line. On the command line export, it
> > seems that it did not clip the bounding box? (I did not check this, but
> > I can't think of another explanation). This makes me wonder if we now
> > tried to include a graphic that does need clipping whether or not it
> > would clip the bounding box when the .lyx file is exported on the
> > command line.
> 
> I think you are right. Without GUI no bitmap is generated and hence the
> bounding box is not corrected. I am not sure how to fix this.

Actually, without GUI the image is not loaded even if it is cached.
The only solution I could come up is loading the image for querying
its dimensions. Should be fixed at f0807a60.

-- 
Enrico


More information about the lyx-devel mailing list