Hi Alex,

PoDoFo makes it relatively straightforward to get the sequence of tokens that 
form the rendering instructions of PDF, but it does not interpret them for you. 
You would still need to keep track of the various overlayed coordinate systems 
of pdf, interpret commands like m, l, Tj, etc. to place items at the correct 
places, and render glyphs from fonts. (PoDoFo does help with translating from 
PDF encoding to finding the correct glyphs, of course, but it does not know 
anything about the shape of the glyphs itself, just their widths and heights, 
and not even always those.)

I would recommend learning what pdf looks like, making a high level plan for 
the architecture of your renderer, and then see which layers PoDoFo has for you 
or, if it doesn’t, makes easier than writing yourself. A pdf viewer has many 
such layers.


Cheers and good luck,
Christopher

The MathWorks GmbH | Friedlandstr.18 | 52064 Aachen | District Court Aachen | 
HRB 8082 | Managing Directors: Bertrand Dissler, Steven D. Barbo, Jeanne O’Keefe


From: 工作邮箱 <iwifi...@163.com>
Sent: Tuesday, March 8, 2022 12:01
To: podofo-users@lists.sourceforge.net
Subject: [Podofo-users] Does someone know how to develop a pdf viewer using 
podofo

Hi,
    Does someone know  how to develop a pdf viewer using podofo,I know 
podofobrowser,but I want to know how to develop a pdf viewer.

                                          Kingly regards,
                                                  Alex




_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to