[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing hebrew from netscape.
What are /appl/lib/wehm.pfa and /appl/lib/wehad.pfa ?
Are they some kind of fonts ?
I am using Debian 2.0 if that is making any difference.
> Eli Marmor wrote:
> >
> > > Eli, if you're reading this, I've been to Elco (Elmar.co.il ;-) and didn't see
> > > any reference to it, though I'm pretty sure I've seen it there before. If it
> > > exist, please point it out to me, if not, well, here's the next item on your
> > > everlasting TODO list.
> >
> > You probably meant:
> > http://elmar.co.il/wwh/wwh/xfiles/hnetscape/README/#Printing
> > Although this is out of date, and it refers to an old version of
> > Netscape (3.01) and an old version of my Hebrew support, the
> > instructions there are true. There is no Linux port (sorry, legal
> > issues), but soon, when my 4.5 will be ready, a Linux port will be
> > available as well. Although the software is commercial, the stuff
> > which is required to print Hebrew files is free.
> >
> > Meanwhile, if Dov Grobgeld (I hope I don't mispell his name) reads
> > these lines, he may help you. I think he has a Perl script which
> > trying to do a similar thing.
> >
> > Note: Since Netscape makes many calculations based on font width
> > etc. when it layouts a page, some problems may happen on printing,
> > especially when the used font is proportinal (i.e. not fixed).
> >
> > --
> > Eli Marmor
>
> following is a filter script for printing hebrew from Netscape, just put
> it in an executable
> file called hebprint and at Netscape at the print dialog enter
> "hebprint|lpr" as the printing comand.
> I don't remember where the script is from. I think it appeared an my has
> been Hebrew Unix archive.
> It has no internal doucumentation or idewntification.
>
> cat>/tmp/$$.tmp0.ps
> cat /appl/lib/wehm.pfa /tmp/$$.tmp0.ps > /tmp/$$.tmp1.ps
> cat /appl/lib/wehad.pfa /tmp/$$.tmp1.ps |
> sed '1,$s/\(Times\)\(.*\)\( findfont\)/WebHebrewAD\3/'|
> sed '1,$s/\(Courier\)\(.*\)\( findfont\)/WebHebrewMonospace\3/'
> rm /tmp/$$.tmp0.ps /tmp/$$.tmp1.ps
>