REBOL Technologies

Bad face in screen pane - what a pain!

Carl Sassenrath, CTO
REBOL Technologies
29-Nov-2014 1:04 GMT

Article #0545
Main page || Index || Prior Article [0544] || Next Article [0546] || 63 Comments || Send feedback

When you run Rebol/view 2.7 on some versions of Linux, you might hit this error message:

User error: Bad face in screen pane

That's got to be one of the most annoying error messages ever created. It happens when the graphics init sequence fails for any reason. Most of the time, what it really should be reporting is:

System error: Cannot open default X11 screen font (courier 11)

If your system doesn't have that font size installed, you'll run into the error, and there's not much you can do about it.

I like to use Rebol as a tool on a variety of Linux systems, so I made a small fix today to check for a range of courier font sizes from 10-15. I suppose if all those fail, it should just try to get the font info from any font that is installed on your system.

Now, I just need to figure out a way to publish the fix, sooner not later, and maybe there are a few other critical Rebol 2 bugs that need to be merged in there? Please let me know.


Updated 11-Mar-2024   -   Copyright Carl Sassenrath   -   WWW.REBOL.COM   -   Edit   -   Blogger Source Code