Bug in OpenOffice PDF export with Type1 fonts

PDF export in OpenOffice 2.4.1 has a problem when exporting special characters (e.g. german Umlauts) of Type1 fonts. They appear as outlined squares in the PDF document. Everything is fine with TrueType fonts, and the export also works when using the Ubuntu default virtual PDF printer (note that it puts the generated file into the ~/PDF directory by default!).

This is on Kubuntu 8.04 Hardy Heron with OpenOffice 2.4.1.

Solution for strange Xorg font rendering problems

On two occasions on different machines, I had problems with strange artefacts in font rendering in X Window / KDE. Most notably, in some font sizes an “ö” (Umlaut o) would suddenly appear with only one of the two dots above it.

As it turned out, the problem was fixed by simply deleting the directory ~/.fontconfig of the respective user, which consists of one or several fonts cache files. A restart of X is necessary for the change to take effect.

Obviously these caches can get out of sync sometimes, especially when experimenting with font settings heavily.