On Thu, Nov 26, 2020 at 10:54:38AM +0100, Jean-Marc Lasgouttes wrote:
> Le 25/11/2020 à 15:40, Scott Kostyshak a écrit :
> > While experimenting with undo/redo after a "replace all" with Advanced
> > find, I received an assertion. I think the cursor was in the "Find" work
> > area. Unfortunately, I cannot reproduce. The assertion and terminal (not
> > GDB) backtrace is attached.
> > 
> > Scott
> > 
> > 
> 
> The only assertion I see related to GuiFontLOader::metrics is this:
> 
> // Get font info (font + metrics) for the given LyX font.
> // if not cached, create it.
> GuiFontInfo & fontinfo(FontInfo const & f)
> {
>     bool const fontIsRealized =
>             (f.family() < NUM_FAMILIES) &&
>             (f.series() < NUM_SERIES) &&
>             (f.realShape() < NUM_SHAPE) &&
>             (f.size() < NUM_SIZE);
>     if (!fontIsRealized) {
>         // We can reset the font to something sensible in release mode.
>         LATTEST(false);
>         LYXERR0("Unrealized font!");
> 
> It seems that an unrealized font is used somewhere

Yes, the line mentioned in the assertion points to that assertion.

Thanks for fixing the order.

> (we would be sure if the
> LYXERR0 was before the assertion).

I can't actually say with confidence I would have been smart enough to
copy that info from the terminal. Hopefully I would have been :)

I've tried a few more times to reproduce but cannot.

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to