xpdf to gtk?



Hello. I slightly updated xpdf program with some friendly feature.
Now, for further features, I would need help in understanding
how I may access the document pixmap, or make xpdf to render to
any specified pixmap. It could also be worth of rewriting the
GUI with GTK because I'm more familiar with GTK than LTK, a toolkit
written by xpdf author.

If you check out the xpdf source (I took the RedHat 7.3 source),
then it is worth knowing that xpdf.ltk generates the GUI code
to xpdf-ltk.h, which then is used by the xpdf.cc. All other files
in xpdf directory relates to document rendering and could be(?) used
"as is" in GTK xpdf. Rendering is done via X pixmaps.

The rendering path is confusing to me; for example, xpdf shows
color documents, but pdftopbm gives only 1-bit rendering. Also,
I'm not sure if 24-bit color images are shown as 24-bit images
on the screen. All these rendering relations should be made clearer.

If we don't find people who has time for writing GTK xpdf with me,
then it would be enough if anyone has time to check and understand
the rendering paths of xpdf.

Best regards,

Juhana Sadeharju



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