Hello!
I am using a developer version of Lyx.

I found the following:
If I specify a non-existent font for screen_font_popup
and screen_font_menu value in lyxrc, lyx will crash when
trying to open a menu.

Here is what I have in lyxrc:
\screen_font_encoding ascii-0
\screen_font_roman "-monotype-web*hebrew*ad"
\screen_font_sans "-monotype-web*hebrew*monospace"
\screen_font_typewriter "-monotype-web*hebrew*monospace"
\screen_font_popup "-*-fixed"
\screen_font_menu "-*-fixed"

No font exists for pattern -*-fixed-*-*-*-?-*-*-*-*-ascii-0.

The messages produced are:

Could not set menu font to -*-fixed-*-*-*-?-*-*-*-*-ascii-0
Could not set popup font to -*-fixed-*-*-*-?-*-*-*-*-ascii-0
Unable to open character set file
BadFont (invalid Font parameter)
[3]    Abort                         /usr/devel/bin/lyx

The correct behaviour would be to use fixed font 
(and possibly open a popup to warn the user about it).

Generally, if a font is not found, a popup window should be open.
Currently, only a message is printed to standard error.

Hope this helps,
    MST

-- 
This message content is not part of Intel's views or affairs
Michael S. Tsirkin
    >   Four things are to be strengthened: Torah,and good deeds,
    >   prayer and one's good manners (Berachoth)

Reply via email to