-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On February 3, 2003 08:02 am, Mike FABIAN wrote:
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.
I think you are correct.
I have now Idea where the strange mixed case in "vIsCiI" and "UrW" could come from.
These came for kwdfont. I tested most of the fonts, but I missed out on a few that I have never used. Thanks for catching them.
Does the new script work OK for you now?
The new script is working beautifully, so far it has only missed out a couple of fonts. For example I have a font call Allegro which according to QT is AllegroBt, but some how the alia got generated as: /Allegro /AllegroBT-Regular ; I think we might have a winner here. Thanks for all your help. Charles -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+QQA83epPyyKbwPYRAukwAJ9c98NNT5U1DyYmjK22MLMjJj/NhACgylXN f2xNOvqU3/3q0neM566Ty+Q= =/+3P -----END PGP SIGNATURE-----