> > http://sourceforge.net/projects/psv
> to view PS. I'll dowload that ASAP ... 

O.K. - did that. A few comments:

1. ggi_visual_t *visual  is wrong. It should be ggi_visual_t visual .
   I am getting type-conversion warnings. ggi_visual_t is already a 
   pointer - no need to double it. This is non-fatal, though, except if
   there was a sick architecture, where a pointer to a pointer to a ggi
   visual is stored in another way than just a pointer to a ggi visual.

2. What about color ?
   Not that it is necessary, but I get really strange atrifacts in colored
   areas. Kind of like when you got wrong colors in a palettized mode ...
   Might be a problem of ghostscript, though.

3. Zooming ? It would be interesting, if you could request to re-render at
   a different resolution. Some documents use small fonts, which will be 
   unreadable without zooming and panning.

4. Additional keybindings to the cursor and paging keys. Should be easy to
   add (you will need to use ggiEventRead instead of Getc, but it is pretty
   straightforward and demonstrated in e.g. the cube3d demo. Don't bother
   about the EventPoll and the Mouse and escaping stuff - just look at
   Row 871-873 (ggiEventRead(vis,&event,emAll);) and rows 881-965. 
   Should be easy to add. "hjkl" is not quite intuitive.

5. Requiring document structure comments is a pretty strong prerequisite.
   Even all the PS demos will fail. Would it be possible to just do the
   thing gv does and disallow out-of-sequence-viewing in that case ?


CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>        =

Reply via email to