[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: James Michael DuPont
Subject: [DotGNU]PDF DOT GNU
Date: Fri, 3 Jan 2003 09:35:14 -0800 (PST)

Dear Fellow hackers

I have been looking the code generated from a C# example using Visual
Studio .net

   ldc.i4     136
   ldc.i4.s   120
   newobj     instance void
['System.Drawing']'System.Drawing'.'Point'::'.ctor'(int32, int32)

It re-occured to me my idea of encoding a pdf file as an IL.
A Postscript file is just a set of commands, a pdf file as well.
XPDF decodes them, and builds a tree structure, and then interprets
that to the display.

My idea is to recode the pdf into a set of IL commands like in the
windows form, and then to use DotGNU to display them. We could have a
base class that knows how to use reflection to access the list of pages
and select them from an PDF assembly. 

Docuement --> assembly
page --> class
item --> method

the idea would be to be able to display a page by invoking a method in
a class that can display onto a lower level graphic system.
this would use the pnetvm to display and be much faster than the slow
switching statement in the xpdf.

By using of interfaces we can separate the GUI logic out into base

What do you think?

James Michael DuPont

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]