- Fedora 12 claims PulseAudio improvements. Here’s hoping sound will actually work after suspend+resume again. #
- Also: iPod train wreck of the morning was the Cardcaptor Sakura theme followed by Garbage’s Supervixen. #
- What’s with all the “Be a social worker!” spam lately? It’s a change from the usual porn, pills, watches & software, but out of left field. #
- Future reference: Though there’s no lever to pop the hatch on the Prius, unlocking the doors allows someone else to open it from outside #
With the release of Firefox 3.5, I decided it was finally time to get serious about setting up a custom headline font on Speed Force. Cross-platform @font-face embedding in CSS is now possible on Firefox, Safari, the beta version of Opera, and (I think) Chrome. So I pulled out some bookmarks, looked for some fonts with licenses that allowed embedding, messed around with a test page and finally settled on two custom fonts: one for the post headlines, and one for the title and the sidebar section headers.
I tested it in a couple of browsers, both on my Linux desktop and on the Mac laptop, and planned to test it on the Windows desktop when Katie was done with it. But then something weird started happening.
Firefox started crashing. Repeatedly. Not quite predictably, but only when that test page was open.
I figured maybe it was a corrupted font, so I removed one, then the other, then both. If the page tried to download an embedded font, Firefox would eventually crash. If not, it was rock solid.
This seemed kind of bizarre for such a high-profile new feature to cause consistent crashing.
I did some searches online but didn’t come up with anything until I tried running Firefox from the command-line, so that I could read the error message. It complained,
"firefox: cairo-ft-font.c:554: _cairo_ft_unscaled_font_lock_face: Assertion `!unscaled->from_face' failed." Searching for that led me to Fedora bug 509501 and bug 502274, and this blog entry.
To make a long story short:
- On Linux, Firefox uses a library called cairo to handle graphics, including fonts.
- An old version of cairo had a bug that would cause crashes with fonts under certain circumstances.
- Cairo fixed the bug in December.
- Fedora 11 is still using the old version of cairo.
So until Fedora ships a newer (or at least patched) version of cairo, my primary browser on my primary desktop will crash on any web page with an embedded font.
I guess I could patch my own system for now and put the fonts up for the benefit of the rest of the Firefox+Safari+Opera-using audience on Windows and Macs (and probably other Linux distributions). But that means causing a crash for anyone else running Fedora 11 when they visit my site. I’m not too thrilled about that idea. I have no problem with adding enhancements that only appear under certain browser+os combinations, but actively crashing a browser? Not something I want to do.
Update (July 21): Aha! Fedora submitted an updated cairo for inclusion in the stable release last night!
The code name for Fedora 9 Linux has been chosen, and it’s going to be Sulphur. Because a foul-smelling rock associated with rotten eggs and depictions of Hell is just what we want to identify an operating system. (Actually, it might not be too far off for Windows Vista.)
Bathysphere was only 8 votes behind. Weird, but considerably cooler.
Oh, well. At least it’s not Mayonnaise or Chupacabra. And some of the other names on that list are considerably worse.
In the decade I’ve been using Linux, it’s gone from something that required lots of technical know-how just to set up, to something that (in its major flavors) can auto-detect most hardware and provides friendly GUIs for most configuration tasks. But every once in a while, I have the kind of experience that would turn a new user off of Linux. Usually because Fedora has decided to change something during an update.
In this case, it was a digital camera problem. Since we bought our Canon PowerShot SD600 last December, I’ve used KDE’s digiKam to transfer and manage the photos. DigiKam detected the camera and accessed the photos right out of the box, no configuration needed beyond telling it to remember the model. But something changed in the last two weeks, and last night I started getting an error message: Failed to connect to the camera. Oddly enough, it could still detect the camera when it was connected. But it couldn’t display or download the images.
I searched all over, hitting dead end after dead end, until I got a hint that it was a permissions problem. Continue reading