Raster fonts appear in Edgy

Bug #56682 reported by Chris Lord
6
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When using gecko-based browsers (so Firefox, Epiphany, devhelp, etc.), raster fonts very commonly appear. As well as looking terribly ugly, this also triggers the xorg ABI-breakage bug in the nvidia driver, so is doubly annoying.

I'm afraid I don't know much about X/fonts to fix this myself, will this be fixed soon, or is there anything I can quickly do to fix it?

Revision history for this message
Chris Lord (cwiiis) wrote :

After installing msttcorefonts, a lot less raster fonts appear, but they still do - For example, the comment entry here (on launchpad), and on this site: http://davesource.com/Bugs/Motorola-RAZR-V3i.html

Revision history for this message
Chris Lord (cwiiis) wrote :

This can be fixed by linking /etc/fonts/conf.d/no-bitmaps.conf to /etc/fonts/conf.d/30-debconf-no-bitmaps.conf (or something similar) - this link existed on my dapper system, but for some reason not on edgy - It seems this bug affects not only me too, judging by the screenshots on this page, http://www.ubuntu.com/testing/knot2 , it seems I'm not the only one affected... This doesn't seem to affect dapper->edgy upgrades, but only fresh edgy installs.

Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

in debian/fontconfig-config.config we have :
if [ ! -f "/etc/fonts/fonts.conf" ]; then
  # This is a first install
  enable_bitmaps="false"
else
  # We are upgrading. No file for bitmaps means:
  enable_bitmaps="true"
fi

I suspect that we have to remove the else loop like this :
if [ ! -f "/etc/fonts/fonts.conf" ]; then
  # This is a first install
  enable_bitmaps="false"
fi

Changed in fontconfig:
importance: Untriaged → Medium
Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

Ian Jackson have done works on this bug. It will be available after knot3.

Changed in fontconfig:
status: Confirmed → In Progress
Revision history for this message
Chris Lord (cwiiis) wrote :

A recent update removed my no-bitmaps symlink and added a yes-bitmaps symlink in its place... Just adding comment in case this wasn't meant to happen.

Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

From iwj:
I have done a lot of experiments and I have concluded:
1. purging fontconfig-config and reinstalling it restores everything to normality as expected (dpkg --purge --force-depends; dpkg -i);
2. It is possible to fix it with echo PURGE | debconf-communicate fontconfig-config and then dpkg-reconfigure --default-priority fontconfig-config

So i will do a fresh install tomorrow and close the bug if 30-debconf-no... is well created.

Revision history for this message
Sebastian Breier (tomcat42) wrote :

I just installed edgy knot-3. I had the problem with the bad fonts in Firefox, so I stumbled upon this bug.

I just tried Patrice/iwj's first fix, and it works. Fonts in Firefox now look just the same as in dapper. However, it only worked with the fix, NOT with the original fresh install.

Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

Doing fresh installation with iso that have fontconfig >= 2.3.2-7ubuntu2 works now.
30-debconf-no-bitmaps.conf is created.
Thanks to Ian Jackson :)

Changed in fontconfig:
status: In Progress → Fix Released
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.