Charles Philip Chan
On January 31, 2003 04:23 am, Mike FABIAN wrote:
The only difference I can see is that I put the alias in a section in the Fontmap.GS file before the actually fonts, but changing the order in Fontmap.X11-auto does help either. I am stumped.
Silly me, I was so focused on the -Roman's that I didn't see that the alias are wrong. The problem turns out the be the case of the bt's. In the Fontmap file generated by your script all bt's are in uppercase, ie. BT, where as QT uses Bt with the exception of font names with Win95 in it (which uses bt).
If you whould like I can send you my Fontmap.GS and Fontmap.X11-auto privately. You might be able to figure out what is going on.
I have sent you my Fontmap.GS and Fontmap.X11-auto so you can compare.
Thank you.
I updated the fonts-config script again and hope that it works
now for your fonts as well:
http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/SuSEconfig.fonts
http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config
http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config.1.gz
The new version tries to construct aliases from the XLFDs.
Apparently Qt3 tries to guess the PostScript name from the XLFD
when fontembedding is not enabled in qtconfig.
After looking at your Fontmap.GS and the source code of Qt3
(qt-x11-free-3.1.1/src/kernel/qpsprinter.cpp), I think that Qt3 does
construct the PostScript name by using the family field from the
XLFD. And it uppercases the first letter of each word from that field
and lowercases the rest of that word, then removes all spaces. I.e. if
the family field of the XLFD contains "Bank Gothic MD BT" this is
converted to "BankgothicMdBt". Then "-Bold", "-Italic", or
"-BoldItalic" is appended according to the weight and slant fields of
the XLFD.
There are a few entries in your Fontmap.GS which look very strange to
me though, for example:
/OmegaserifvIsCiI /OmegaSerifVISCII ;
/UrWwoodtypd /URWWoodTypD ;
I have now Idea where the strange mixed case in "vIsCiI" and "UrW"
could come from.
Does the new script work OK for you now?
--
Mike Fabian