[go: up one dir, main page]

Menu

#134 Support of PDF annotations

open
nobody
None
5
2011-11-09
2011-11-09
No

Hi!
Thanks for xournal, it's a great soft.

Now that poppler can manage PDF annotations (I think), is there a chance that xournal recognize PDF annotations as xournal objects? Or that xournal annotations may be saved in PDF according to specifications?

That would be great!

Thanks,

Olivier

Discussion

  • Denis Auroux

    Denis Auroux - 2011-11-14

    It's unlikely that I'll implement this in xournal itself -- now that xournal++ is almost ready for mass consumption I'm not planning to do much more than minor updates, bug-fixes, and incorporating existing patches.

    Poppler does a good job of letting us *read* PDF annotations, but doesn't help much (if at all?) when it comes to creating and storing annotations into a PDF document. (I haven't checked the latest version, but 0.16 basically wasn't helpful, unless a bunch of functions were missing from the API docs I read).

    PDF annotations are not really the same type of objects that xournal deals with, and I don't quite see how to make the two interact better without serious code rewriting -- with the possible exception of text annotations. Still, it sounds like a worthwhile goal for xournal++ if someone feels motivated to do it -- at least for those types of PDF annotations that can easily be turned into xournal objects (i.e. text and polylines). On the other hand, as far as exporting to PDF is concerned, I'm not convinced that PDF annotations are the right thing for freehand pen input on top of a PDF document, but perhaps the choice should be left up to the user.

    Denis

     
  • Olivier Keshavjee

    Thx.

    According to a Poppler's developer, it does allow to write annotations (https://bugs.freedesktop.org/show_bug.cgi?id=20193#c2). Poppler 0.17 got some annotations support improvement.
    In terms of types of annotations types, it seems that poppler can manage quite a lot of different objects, including freehand (cf. http://people.freedesktop.org/~aacid/docs/qt4/classPoppler_1_1Annotation.html [that's the Qt doc, I haven't found the glib online, it's in the archive]). What types of objects does xournal deals with that pdf annotations cannot?

    I understand you don't want to work on that now.
    Yet, I think that would be a *major* improvement, since right now, no FLOSS pdf viewer can deal with annotations properly. Hope the wind will change soon :)

    Anyway, looking forward to xournal++ !

     

Log in to post a comment.