Le mar, f�v 20, 2001, � 02:47:31 -0600, Lars Clausen a �crit:
> That's a challenge:) I took the patch to the source, and here's the result:
>
> In the patch, new files end up in the top-level directory. That's probably
> a CVS diff problem. I'm still trying to get the render_dps_wraps.h
Which files ? (hmmm... I see. Basically, all new files. Must redo the
patch. Damn, "cvs diff" doesn't want to do things properly.
pswrap.mak, render_dps* are supposed to be in app/
charconv*, ps-utf8* are supposed to be in lib/
> generated... that took some twiddling of the pswrap.mak file. Ok, there is
> goes.
What kind of twiddling ?
> Loud shout: First thing I tried was importing a Fig file with various text
> in it. It turned out to use a font I don't have, which in turn crashed the
> DPS system, freezing Dia with it. This is the output:
>
> Unrecoverable error: invalidfont in findfont
> Operand stack:
> NimbusMonL-Regu Courier --nostringval-- Times-Roman 319469 Times-Roman
>Font Times-Roman --nostringval--
>
> After that, I had to manually kill the DPS server to get Dia to start
> again.
Hmmm... What DPS server do you use ? DGS ? gtkDPS ? Which version ? (same for
pswraps) (I'm using dgs_0.5.10-4 and dpsclient_0.5.10-4 as in Debian
unstable, gtkDPS 0.3.4-1 build against the former)
Normally, it should not try to load fonts Ghostscript doesn't have with the
usual packages (gsfonts etc.). What distro are you using ? If you're using
dgs, can dgs use the standard fonts ? (do gtkDPS' samples, and texteroids
run correctly ?)
I guess I'll have to put checks for fonts somewhere.
> Now I'm trying with a blank canvas. It has the rightmost about 1/5 of the
> canvas black, and when I tried to scroll, DPS crashed again. And it's
> getting worse -- I'm guessing just killing the DPS servers isn't the
> happiest thing in the world:) But I can't find any docs on how to kill it
> properly.
What's your screen's resolution ? (as seen by X, and as seen by your DGS
agent). It shouldn't crash, though. Do you have an idea of where does it ?
Did you have a look at the new .eps files (this is still pretty orthogonal
to the DPS renderer).
-- Cyrille
--
Grumpf.