[poppler] PopplerPage should not cache image_dev

Carlos Garcia Campos carlosgc at gnome.org
Thu Mar 20 03:47:06 PDT 2008


El jue, 20-03-2008 a las 16:56 +0900, Kouhei Sutou escribió:
> Hi,
> 
> I find a problem of the GLib bindings.
> 
> poppler_page_get_image() always returns NULL after
> poppler_page_get_image_mapping() is called. Because
> PopplerPage.image_dev is cached when
> poppler_page_get_image_mapping() is called. The cached
> image_dev doesn't have CairoImageOutputDev.imgDrawCbk but
> poppler_page_get_image() needs image_dev that has
> image_draw_decide_cb() as CairoImageOutputDev.imgDrawCbk.

yes, you are right. I have just fixed it in git master. Thank you very
much :-)

-- 
Carlos Garcia Campos
   elkalmail at yahoo.es
   carlosgc at gnome.org
   http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080320/9152861d/attachment.pgp 


More information about the poppler mailing list