Bug 548390 - Bad default font in Emacs
Summary: Bad default font in Emacs
Keywords:
Status: CLOSED DUPLICATE of bug 546490
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 12
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Underwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-17 10:08 UTC by Mattias Ellert
Modified: 2009-12-18 08:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-18 08:05:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of an emacs window (63.65 KB, image/png)
2009-12-17 10:08 UTC, Mattias Ellert
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.