>>>> "Mike" == Mike Fabian
<mfabian(a)suse.de> writes:
Mike> The attached patch tries to enable printing using bdf-fonts.
Mike> With this patch I can print most languages from the
Mike> hello-file. Can you please check whether this patch makes
Mike> sense and if yes include it into the XEmacs packages?
Steve, this stuff is such a mess that I don't think this makes it
worse. ;-) You know the status of ps-print-mule better than I do,
though.
Mike> One reason is that ps-mule.el uses a few coding-systems
Mike> which have different names in XEmacs, I could solve that by
Mike> defining aliases like:
I hate this gratuitous bogosity. All of this should be invisible to
users, there's no point in changing the names.
Go ahead, define the aliases.
Mike> Another problem is that 'coding-system-p' works differently
Mike> on XEmacs, which I could fix with:
I hate this .... Yes, do this too. There's some debate about
changing the definition of coding-system-p in the future, but we need
to do this for backward compatibility anyway.
- (cond ((coding-system-p encoding)
+ (cond ((if (string-match "XEmacs" emacs-version)
+ (find-coding-system encoding)
+ (coding-system-p encoding))
Mike> The third problem I found was that the variable
Mike> 'enable-multibyte-characters' happened to be nil
It doesn't happen to be nil. I hate boneheaded design.
Mike> If setting this to nil doesn't do anything, then I can just
Mike> as well assume that this is always t in ps-mule for XEmacs:
Fine.
Mike> - '("/usr/local/share/emacs/fonts/bdf"))
Mike> + '("/usr/share/fonts/bdf"))
Mike> (korean-ksc5601
Mike> - (normal bdf "hanglm24.bdf" ps-mule-encode-7bit 2))
Mike> + (normal bdf "gulim24.bdf" ps-mule-encode-7bit 2))
Go ahead and make such changes. Please mark them as "#### make me
customizable!" if they aren't already.
Mike> I was able to print all languages from the hello-file except
Mike> Amharic, Thai, and Tigrigna. When testing the bdf printing
Mike> with the hello-file you have to remove the lines with these
Mike> languages, otherwise you will get an error.
What is the error?
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py