Description of problem: If xterm is configured to use TrueType fonts (both through "-fa" command line options and via ".Xresources" file), when it is started it shows a window with a black screen (neither background or foreground is visible). For restoring the screen you have to issue a command which produces some output, like "ls". After issuing this command you can see the "normal" xterm window with the chosen font. The problem does not occur if TrueType fonts are not used. Moreover, when xterm is start (both when using TrueType fonts and when not), the command produces a warning: Warning: Cannot convert string "nil2" to type FontStruct Looking for this message with Google, it seems this might be solved by installing the package xorg-x11-fonts-misc (containing bitmap fonts). I haven't tried yet. Version-Release number of selected component (if applicable): 237-1.fc10 How reproducible: Steps to Reproduce: 1. Open a terminal 2. From the terminal prompt, run the command: xterm 3. From the terminal prompt, run the command: xterm -fa "monospace" (you can try with other fonts like "times", "Courier New". You can also include the option -cjk_width -- found on the xterm man page) Actual results: From step 2, you get an xterm window without any problem From step 3, you get an xterm window completely black (but window decorations) Expected results: From step 3, you should immediately get an xterm window without the black screen and with the chosen font. Additional info:
Installing the xorg-x11-fonts-misc fixes the problem for me. CCing upstream maintainer.
Just tried to install this package. The problem is fixed for me too (both the black screen and the warning message). This package should be included in the dependencies list of the xterm rpms. In fact, its installation not only solves the black screen problem (caused by the use of TrueType fonts) but makes further disappear the warning message (issued even if TrueType fonts are not used).
It looks like this bug was fixed in upstream patch #241. I'll prepare an update.
xterm-242-2.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/xterm-242-2.fc10
xterm-242-2.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/xterm-242-2.fc9
xterm-242-2.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update xterm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2239
xterm-242-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
xterm-242-2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.