Charles Philip Chan <cpchan@sympatico.ca> さんは書きました:
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 ;
How does the XLFD of this font look like? My new script also inserts the XLFDs as a comment into the generated Fontmap.X11-auto, for example like this: %---------------------------------------------------------------------- % postscript="TrebuchetMS-Italic" family="Trebuchet MS" style="Italic" % xlfd="-microsoft-Trebuchet MS-medium-o-normal--0-0-0-0-p-0-koi8-e" /TrebuchetMS-Italic (/usr/X11R6/lib/X11/fonts/truetype/trebucit.ttf) ; /TrebuchetMs-Italic /TrebuchetMS-Italic ; Here you can see what information was available in the XLFD where I generate the alias from: The family name was "Trebuchet MS" making each word lower case except the first letter gives "Trebuchet Ms", removing the space gives "TrebuchetMs" Then there is "-o-" in the XLFD which means "Oblique", therefore "-Italic" is added to the alias. This doesn't work with the /AllegroBT-Regular font? Why not? Why does Qt think it is /AllegroBt if the XLFD doesn't have "Allegro BT" in the family name? -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。