[poppler] About CairoOutputDev

Albert Astals Cid aacid at kde.org
Wed Oct 3 11:14:28 PDT 2012


El Dimecres, 3 d'octubre de 2012, a les 19:45:52, 王璐 va escriure:
> Hello guys,

Hi
 
>   I'm working on a project called pdf2htmlEX (
> http://github.com/coolwanglu/pdf2htmlEX).
>   Comparing with pdftohtml in poppler, there's lots of work on font
> extraction/conversion/reencoding with Fontforge.
> 
>   Currently all non-text objects are rendered as png images throught
> SplashOutputDev, but I found that svg might be better.
>   I'm considering using CairoOutputDev, but it's hidden, even with
> --enable-xpdf-headers, I wonder why.

Yes, you already created a bug about that.

> 
>   I need to derived a class, that renders everything except for text. I'll
> need to hack more in the furture.
> 
>   Do you suggest me to create a patch for exposing CairoOutputDev, or just
> grab out the necessary files I need.
>   I'd prefer the former, what do you think?

You'll have to wait until someone from cairo/glib-land appears and decides 
what to do.

Cheers,
  Albert

> 
> 
>   Thanks!
> 
> 
>   regards,
>   - Lu
>   2012.10.03


More information about the poppler mailing list