On Sun, 2005-05-22 at 10:49 +0000, Christian Floeter wrote: > Since I updated GTK from 2.4.x to 2.6.x, I've noticed that the > font selector wouldn't let me select some of my TTF fonts; it > would only let me select the 'Bold' ones of a family. > Although all available fonts of a chosen family are listed, > clicking on 'Medium' weighted fonts will only preview and > select the corresponding 'Bold' one, if present. > > I found out that fonts with 'Book' weight behaved correctly, > so no wonder that M$ fonts (Arial, Verdana, Comic Sans, etc) > worked normally: the 'Regular' (and related) ones all have > 'Book' weight. Using fontforge, I changed the weight of one > of my TTF fonts from 'Medium' to 'Book', and the font > selector let me select it again! > > So it seems that GTK messes around with font weights. The > problem is not apparent unless users have 'Medium' weighted > fonts installed (probably other weigths are affected too, I > haven't tested this). > > For testing, I have uploaded a font family at > http://lightning.prohosting.com/cfloeter/Corpus.zip Are you using the current Pango-1.8.1? You might conceivably be describing: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143832 Which was present in 1.8.0 but fixed in 1.8.1 Regards, Owen
Attachment:
signature.asc
Description: This is a digitally signed message part