[LyX/2.3.x] Fix bug #11180

Scott Kostyshak skostysh at lyx.org
Fri Sep 25 19:43:45 UTC 2020


On Fri, Sep 25, 2020 at 09:11:23PM +0200, Enrico Forestieri wrote:
> 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.

Thanks, that makes sense and sounds like the only possible solution.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200925/9054804d/attachment.asc>


More information about the lyx-devel mailing list