From: Andrew Ross <andrewross@us...> - 2004-12-09 23:47:41
I fixed a couple of PLINT warnings earlier. There are still some
remaining in the fortran bindings and also in the java bindings. The
java ones are tricky. Java doesn't have an equivalent of the C typedef
so this will require some thinking about the best solution. I don't
really want to change all int's to long. Currently the examples all use
int. We will probably have to break the examples and the java API to fix
this, or risk having an inconsistent API between languages.
I'll ponder this some more, although probably not for a week or so.
From: Arjen Markus <arjen.markus@wl...> - 2004-12-17 14:53:49
while trying to understand how the GD driver and freetype fonts can be
used on Windows, I noticed that the GIF subdriver in gd.c requires
a specific version of the initialisation routine(s). This is however
not called, because the table of functions refers to the png version,
not the gif version:
void plD_dispatch_init_gif( PLDispatchTable *pdt )
pdt->pl_MenuStr = "GIF File";
pdt->pl_DevName = "gif";
pdt->pl_type = plDevType_FileOriented;
pdt->pl_seq = 47;
pdt->pl_init = (plD_init_fp) plD_init_png; <===
pdt->pl_line = (plD_line_fp) plD_line_png;
>From a comparison of the two versions I see the only difference
is that the GIF driver does not support all options. With a
small bit of editing we can merge the versions into a single
one (reducing the size of the source code) or we can simply
ignore the differences and do away with the extra functions.
Anyway it is confusing to see the two versions, knowing
one is not used ...