
Charles Philip Chan <cpchan@sympatico.ca> さんは書きました:
On February 7, 2003 12:11 pm, Mike FABIAN wrote:
Charles Philip Chan <cpchan@sympatico.ca> さんは書きました:
Qt really uses the PostScript name in that case?
Yes and no. The capitalisation is still done in the QT way, ie:
/AllegroBt
I could generate aliases form the part of the PostScript name before the '-' as well of course. But that would probably increase the number of duplicate aliases quite a lot.
There will be some dups but can't we have the script filter them out?
The script does filter them out already. As I wrote in my last mail, I just put comment signs '%' in front of all lines with duplicates besides the first one and insert the string "% warning: duplicate!". Actually, filtering them out isn't absolutely necessary. If I didn't add the comment signs in front of the duplicates, the last duplicate would win. By commenting out all but the first one, the first one wins. If there are duplicates, only one can work anyway, it doesn't really matter whether it's the first one or the last one. The only reason why I comment out out the duplicates and add the "%warning: duplicate" string is to make it easier to find the duplicates, because you can search for "duplicate" in your favorite editor and see whether you have duplicates or not. But if producing aliases which Qt needs produces duplicates, it means that not all these fonts can work with Qt, Qt won't be able to distinguish between these fonts either. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。