Created attachment 1032417 [details] Fedora 21 screenshot. Note the following: Description of problem: Since the update to Fedora22 the line spacing in xterm is wrong (it's too large). This causes a larger window and/or less lines displayed, and line drawing characters not to line up any more. I'll attach example screenshots from Fedora 21 and Fedora 22. In both screenshots xterm was configured to use /usr/share/fonts/ucs-miscfixed/7x14.bdf as the font. Version-Release number of selected component (if applicable): xterm-314-1.fc22.x86_64
Note the following in the Fedora 21 screenshot: - A line is 14 pixels high (the blue status line forms the bottom of the screen). - Square brackets and the vertical bar symbol in the status line are 13 pixels high, and are flush with the bottom of the line, with one pixel space on top - The vertical line drawing characters (next to the cursor, on the line above the status bar) are 14 pixels high, and the same height as the cursor This is how things should look using this font.
Created attachment 1032418 [details] Fedora 22 screenshot
Note the following in the Fedora 22 screenshot: - A line is 19 pixels high (the blue status line forms the bottom of the screen). - Square brackets and the vertical bar symbol in the status line are still 13 pixels high, but are no longer flush with the bottom of the line (there is one pixel below them). There are 5 pixels of space above them. - The vertical line drawing characters (next to the cursor, on the line above the status bar) are still 14 pixels high, but not as large as the cursor. The cursor also has one additional pixel at the bottom, and 4 on top, compared with the line drawing character. This is how things are not supposed to look. Note that only the line height has changed, the font itself looks exactly the same in F21 and F22.
This seems fixable by getting rid of 10-scale-bitmap-fonts.conf in /etc/fonts/conf.d. I'm unsure if the observed behaviour (increased line spacing without actual scaling of the fonts) was the desired behaviour, though, and if and how this might be fixed for xterm if one would like to keep 10-scale-bitmap-fonts.conf for whatever reason.
It seem the 10-scale-bitmap-fonts.conf file has changed between f21 and f22. Maybe the fontconfig maintainer will have some suggestions.
What a font do you use and the version of fontconfig? Any kinda information to reproduce it here would be appreciated.
This is fixed by now (via bz1226522). Sorry for not closing this.
*** This bug has been marked as a duplicate of bug 1226522 ***