Bug 548390

Summary: Bad default font in Emacs
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: emacsAssignee: Jonathan Underwood <jonathan.underwood>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: jonathan.underwood, kklic
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-18 08:05:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of an emacs window none

Description Mattias Ellert 2009-12-17 10:08:01 UTC
Created attachment 378955 [details]
Screenshot of an emacs window

Description of problem:
Emacs has suddenly started using a very strange font as the default font. See the attached screenshot.

Version-Release number of selected component (if applicable):
emacs-23.1-13.fc12.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start emacs
2. See the wrong font being used.
  
Actual results:
A weird font is used.

Expected results:
A suitable font should be used. Like the one used before this bug appeared.

Additional info:
I have tried removing and reinstalling emacs, but that doesn't help.
I have tried deleting my ~/.emacs file, but that doesn't help either.
I have tried removing and recreating the fontconfig cache files in /var/cache/fontconfig, also doesn't help.

Comment 1 Karel Klíč 2009-12-17 12:08:56 UTC
Mattias, the situation you described cannot be reproduced without knowing what triggered the change of the font. Was it caused by an update? Did you install a new package, added fonts manually, or changed some configuration?

Comment 2 Mattias Ellert 2009-12-17 12:49:16 UTC
(In reply to comment #1)
> Mattias, the situation you described cannot be reproduced without knowing what
> triggered the change of the font. Was it caused by an update? Did you install a
> new package, added fonts manually, or changed some configuration?  

I have not changed any defaults in the emacs configuration except for checking the "Do not show this start-up screen" check-box to get rid of the extremely annoying start-up screen.

I have not installed any fonts on the computer that is not packaged by Fedora.

I did install the emacs-23.1-13 update on 2009-12-07, and the freetype-2.3.11-3 and fontconfig-2.8.0-1 updates 2009-12-11. The problems started around that time.

Comment 3 Mattias Ellert 2009-12-17 19:13:36 UTC
I made a little investigation:

Running "yum downgrade fontconfig fontconfig-devel" so that I get the previous fontconfig-2.7.3-1 version restores the correct default font in emacs.

If I run "yum update" again after this and get the current fontconfig-2.8.0-1 again the problem with the wrong default font in emacs comes back again.

So the problem is triggered by the fontconfig update.

Comment 4 Karel Klíč 2009-12-18 08:05:34 UTC
Thank you for the investigation.

It seems fontconfig people are already looking into the problem, so I am closing this as a duplicate of their bug.

*** This bug has been marked as a duplicate of bug 546490 ***