Anti-aliasing for Xft fonts broken in emacs-snapshot in Intrepid

Bug #291399 reported by Anna Glasgall
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Emacs
New
Undecided
Unassigned
emacs-snapshot (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: emacs-snapshot

Anti-aliasing for Xft fonts does not work in emacs-snapshot (version 1:20081013-1) in Ubuntu 8.10 ("Intrepid Ibex") When I launched Emacs with -fn "DejaVu Sans Mono-8" in Hardy, the font would be nicely antialiased and hinted and subpixel-smoothed and such; in Intrepid, it is not. If I downgrade emacs-snapshot to the Hardy snapshot (1:20080228-1ubuntu1), fonts look good again, but I'd much rather use a newer snapshot for obvious reasons.

Revision history for this message
Paul Collins (pjdc) wrote :

I have a similar problem with the 20081018 snapshot from emacs.orebokech.com for Debian sid. I think I read a discussion about this on emacs-devel, which I cannot locate right now, but the problem seems to stem from the font-backend frame parameter. If I do

M-: (set-frame-parameter nil 'font-backend '(xft x)) RET

and then select a font, e.g. with M-x set-frame-font, I get anti-aliasing.

Revision history for this message
Anna Glasgall (aglasgall) wrote :

Paul's workaround also works in the 20081018 snapshot from the PPA at https://launchpad.net/~ubuntu-elisp/+archive

Revision history for this message
Paul Collins (pjdc) wrote :

I found the emacs-devel discussion I was thinking of. The value of font-backend was deliberately selected.

http://article.gmane.org/gmane.emacs.devel/99324

Revision history for this message
Anna Glasgall (aglasgall) wrote :

This is still a regression from hardy. People (like me, and, I dare suggest, most emacs users) using Xft fonts in Emacs will find them broken when they upgrade.

Revision history for this message
Reinhard Tartler (siretart) wrote :

confirming bug, but the bugfix needs to be done upstream first.

Changed in emacs-snapshot:
status: New → Confirmed
Revision history for this message
DaveAbrahams (boostpro) wrote :

Now I have to put (font-backend . "xft") into my default-frame-alist with a recent build from emacs CVS. That is, it complains about non-string values for this parameter

Revision history for this message
DaveAbrahams (boostpro) wrote :

Apparently it also swallows "xft x"

Revision history for this message
deeflex (hajderr) wrote :

I tried this

xrdb -remove .Xresource / .Xdefaults

and got something that looked quite AA.

I remember I modified those files to get AA in Hardy.

(Not sure if it helps everyone)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.