Created attachment 402054 [details] Screenshot of the distorted emacs main window Hi, I recently installed Fedora 13 Alpha on my laptop for testing. My primary editor is Emacs which is why I discovered this bug right after installing F13 alpha. The problem is, that emacs starts with a irregularly shaped main window. Furthermore, the fonts appear distorted as well. Please see the screenshot attached which should tell more than 1000 words. Thanks, Adrian
Created attachment 402057 [details] Screenshot of emacs23 on Debian Squeeze
I've attached a screenshot of emacs23 on Debian Squeeze for comparison. This reflects the window geometry and fonts of emacs23 on Ubuntu as well. Adrian
Is this not just a case of different fonts being used on both systems?
Looks like a font selection issue. It seems to be gone with 23.1.9x packages.
Oh, reproduced today with emacs-23.1.94 from updates-testing.
Emacs selects "VL Gothic" as its base font on Fedora 13. When changed to "DejaVu Sans", it looks as expected. 1. M-x customize-face RET default RET 2. Change Font Family to "DejaVu Sans"
I meant "DejaVu Sans Mono". Maybe this bug can be solved by adding Requires: dejavu-sans-mono-fonts to the spec file (if this font is not installed by default and will be preferred over VL Gothic by Emacs font selection mechanism). Or we can change face-font-family-alternatives in lisp/faces.el. I will be able to test it tomorrow.
This is caused by bug rhbz#578048, and the problem disappears after updating to vlgothic-fonts-20100416-1. Also similar to rhbz#546490 (fontconfig selection issue). On Fedora 12: $ fc-match "monospace:lang=en" DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" On Fedora 13 before updating vlgothic-fonts: $ fc-match "monospace:lang=en" VL-Gothic-Regular.ttf: "VL Gothic" "regular" On Fedora 13 after updating vlgothic-fonts: $ fc-match "monospace:lang=en" DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" *** This bug has been marked as a duplicate of bug 578048 ***