Hi,

Wow, impressive work already!

Am Freitag, 2. Januar 2009 schrieb Pierre Marchand:
> Vous (Dominik Seichter) avez écrit :
> > Well, it works when using the statically linked version of PoDoFo.
> >
> > Very nice, especially if you use a simple page like the LineTest page
> > created by CreationTest! :-)
> >
> > Of course it will be a real big amount of work to make this anywhere
> > complete, though it is helpful that QPainter now almost supports
> > everything PDF needs.
> >
> > Regarding your implemantion, it looks fine for basic needs. Leonard
> > pointed once out that one needs the concept of Display Lists for more
> > complicated operations or fast rendering, but as you just delegate to
> > QPainter and do not have fast rendering as a major goal it seems fine.
>
> + my idea, by now, is rather to have a preview with native Qt objects which
> are pretty easy to manipulate(with in mind the project to commit in the
> content stream changes which would be made in the scene). the main
> difficulty will be text handling I think, because there’s nothing in Qt
> that can compare to PDF for text. Although once I get some trick to build a
> QFont based on a font descriptor, things should happen.
Well, you have to decide if you will work with PoDoFo's font system or work 
with the PdfObjects by hand. 
I would prefer the first way of course, because this would mean you have to 
fix PoDoFo's font system which is currently creation only and only a few 
parts (those needed for podofopdf2txt) have been implemented for creating 
fonts from existing PDFs.

>
> > For PoDoFoBrowser, I think it would be fine if you would have the preview
> > side by side with the pages content stream.
>
> Since PodofoViewer is a descendant of QGraphicsView, it won’t be a pain to
> move it around until we get it in the right place, it’s simply done in
> Designer. Might even be in a separate window, so one could see more than
> one stream in the same time…
Great

>
> > And if you type some PDF code
> > into the content stream, like "0 0 1 rg 100 100 m 200 200 l" it should
> > immediately draw a blue line. But this is dreaming :)
>
> Oh, I don’t think so, even it seems trivial compared to what i face now
> when implementing more features :)
>
> PS: I join the diff of my current work as I don’t trust my HD!
Maybe you should create a branch inside SVN so you won't loose your changes 
(mind your harddisk ;) ) and don't have to mess with large patches and diffs.



-- 
**********************************************************************
Dominik Seichter - [email protected]
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to