Toggled text inside a bold inset is output differently on master than 2.3.x

Kornel Benko kornel at lyx.org
Wed Jul 27 11:47:55 UTC 2022


Am Wed, 27 Jul 2022 07:16:02 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:

> On Tue, Jul 26, 2022 at 09:38:21PM +0200, Jean-Marc Lasgouttes wrote:
> > 
> > Le 26/07/2022 à 16:25, Scott Kostyshak a écrit :  
> > > See the attached example. The text "text part 2" is output as bold in 2.3.x, but is
> > > not output as bold in master (although it is displayed as bold in the LyX display).
> > > 
> > > I can bisect if it would be worth the time.  
> > 
> > Note that it works if a character is inserted before the branch (it will be
> > bold obviously)
> > 
> > A bisect may be useful. It might be that it ends up pointing to 0789f2f2,
> > but I am not sure why (yet).  
> 
> Bisect of this example leads here:
> 
>   commit 28dd7b7de3527638ea8772815ec27439f87fddda
>   Author: Juergen Spitzmueller <spitz at lyx.org>
>   Date:   Fri Feb 4 17:24:16 2022 +0100
>   
>       Do not set open_font true if none was open
> 
> I have no idea if that commit just triggered an underlying root issue though.
> 
> Scott

The produced pdf with lyx2.4 is (as it should be) OK, the display in lyx is wrong.

The sequence in mwe.23.lyx reads

\series bold
\lang american
Text part 1...

\series default
text part 2
\end_layout

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220727/97da303f/attachment.asc>


More information about the lyx-devel mailing list