get QFont from _font

Richard Kimberly Heck rikiheck at lyx.org
Wed Aug 12 15:04:55 UTC 2020


On 8/12/20 7:43 AM, Daniel wrote:
> Does anyone know how to get the QFont from a "Font const & font"? I tried
>
> fi = font.fontInfo();
>
> with
>
> 1. getFont(fi)
>
> and also
>
> 2. getFont(fi.realize(sane_font))
>
> But always get a SIGSEGV within LyX.

What exactly is the error with the latter?

Riki





More information about the lyx-devel mailing list