Hi <br><br> I found some way using gstreamer to get the image from some frame.<br>But I need to test it. How can I put gstreamer includes and libs. I tried some hack in Makefile but that doesn't work.<br>Please tell me some method so that I can test my code.<br>
<br>Thank you in advance<br>--<br>A Srinivas<br><br><div class="gmail_quote">On Fri, Feb 25, 2011 at 5:19 PM, <span dir="ltr"><<a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send poppler mailing list submissions to<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of poppler digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Clang/Clang++ 2.9-Trunk against Poppler Trunk<br>
(Albert Astals Cid)<br>
2. Re: Clang/Clang++ 2.9-Trunk against Poppler Trunk<br>
(Marc J. Driftmeyer)<br>
3. Re: Patch for embedding videos in to the pdf (srinivas adicherla)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 25 Feb 2011 08:34:12 +0000<br>
From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
Subject: Re: [poppler] Clang/Clang++ 2.9-Trunk against Poppler Trunk<br>
To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
Message-ID: <<a href="mailto:201102250834.13012.aacid@kde.org">201102250834.13012.aacid@kde.org</a>><br>
Content-Type: Text/Plain; charset="us-ascii"<br>
<br>
A Divendres, 25 de febrer de 2011, Marc J. Driftmeyer va escriure:<br>
> I've been testing Clang trunk against various projects and am testing<br>
> against Poppler.<br>
><br>
> It hangs on the check_fonts section of code:<br>
><br>
> Here is the output:<br>
><br>
> The build is extremely noisy but the fatal error section that kills the<br>
> build is as follows:<br>
><br>
> [ 74%] Building CXX object<br>
> qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o<br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/chec<br>
> k_fonts.cpp:229:14: warning:<br>
<br>
That's a deprecated warning that is totally harmless<br>
<br>
> In file included from<br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/chec<br>
> k_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qobject.h:50:<br>
> /usr/include/qt4/QtCore/qlist.h:732:22: error: invalid operands to<br>
> binary expression ('Poppler::FontInfo' and<br>
> 'Poppler::FontInfo')<br>
> if (!(i->t() == li->t()))<br>
> ~~~~~~ ^ ~~~~~~~<br>
<br>
That seems like a clang error to me in not being able to use<br>
<br>
bool operator==( const Poppler::FontInfo &f1, const Poppler::FontInfo &f2 )<br>
<br>
defined in qt4/tests/check_fonts.cpp:35<br>
<br>
Albert<br>
<br>
><br>
> -----------------------------------------<br>
><br>
> Is this an expected outcome?<br>
><br>
> Sincerely Yours,<br>
><br>
> Marc J. Driftmeyer<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 25 Feb 2011 01:11:49 -0800<br>
From: "Marc J. Driftmeyer" <<a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a>><br>
Subject: Re: [poppler] Clang/Clang++ 2.9-Trunk against Poppler Trunk<br>
To: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
Cc: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
Message-ID: <<a href="mailto:4D677255.6020009@reanimality.com">4D677255.6020009@reanimality.com</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Thank your for the feedback.<br>
<br>
I'll pass on your thoughts to the Clang list and hopefully it gets<br>
addressed.<br>
<br>
- Marc<br>
<br>
On 02/25/2011 12:34 AM, Albert Astals Cid wrote:<br>
> A Divendres, 25 de febrer de 2011, Marc J. Driftmeyer va escriure:<br>
>> I've been testing Clang trunk against various projects and am testing<br>
>> against Poppler.<br>
>><br>
>> It hangs on the check_fonts section of code:<br>
>><br>
>> Here is the output:<br>
>><br>
>> The build is extremely noisy but the fatal error section that kills the<br>
>> build is as follows:<br>
>><br>
>> [ 74%] Building CXX object<br>
>> qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o<br>
>> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/chec<br>
>> k_fonts.cpp:229:14: warning:<br>
> That's a deprecated warning that is totally harmless<br>
><br>
>> In file included from<br>
>> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/chec<br>
>> k_fonts.cpp:1:<br>
>><br>
>> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
>> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
>> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
>> In file included from /usr/include/qt4/QtCore/qobject.h:50:<br>
>> /usr/include/qt4/QtCore/qlist.h:732:22: error: invalid operands to<br>
>> binary expression ('Poppler::FontInfo' and<br>
>> 'Poppler::FontInfo')<br>
>> if (!(i->t() == li->t()))<br>
>> ~~~~~~ ^ ~~~~~~~<br>
> That seems like a clang error to me in not being able to use<br>
><br>
> bool operator==( const Poppler::FontInfo&f1, const Poppler::FontInfo&f2 )<br>
><br>
> defined in qt4/tests/check_fonts.cpp:35<br>
><br>
> Albert<br>
><br>
>> -----------------------------------------<br>
>><br>
>> Is this an expected outcome?<br>
>><br>
>> Sincerely Yours,<br>
>><br>
>> Marc J. Driftmeyer<br>
> _______________________________________________<br>
> poppler mailing list<br>
> <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
--<br>
Marc J. Driftmeyer<br>
Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a> <mailto:<a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a>><br>
Web :: <a href="http://www.reanimality.com" target="_blank">http://www.reanimality.com</a><br>
Cell :: (509) 435-5212<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/poppler/attachments/20110225/7b1385ab/attachment.html" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110225/7b1385ab/attachment.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: mjd.vcf<br>
Type: text/x-vcard<br>
Size: 316 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.freedesktop.org/archives/poppler/attachments/20110225/7b1385ab/attachment-0001.vcf" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110225/7b1385ab/attachment-0001.vcf</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 25 Feb 2011 17:19:23 +0530<br>
From: srinivas adicherla <<a href="mailto:srinivas.adicherla@gmail.com">srinivas.adicherla@gmail.com</a>><br>
Subject: Re: [poppler] Patch for embedding videos in to the pdf<br>
To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTim%2BZrmAr9itrzh%2BdpSoWsazy6OEMDzU8B45n7p%2B@mail.gmail.com">AANLkTim+ZrmAr9itrzh+dpSoWsazy6OEMDzU8B45n7p+@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Albert,<br>
<br>
I made those changes and attached a new patch file.<br>
<br>
Thanks<br>
A srinivas<br>
<br>
On Fri, Feb 25, 2011 at 1:49 PM, <<a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a>>wrote:<br>
<br>
> Send poppler mailing list submissions to<br>
> <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of poppler digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: Patch for embedding videos in to the pdf (Albert Astals Cid)<br>
> 2. Clang/Clang++ 2.9-Trunk against Poppler Trunk (Marc J. Driftmeyer)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Fri, 25 Feb 2011 08:20:59 +0000<br>
> From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> Subject: Re: [poppler] Patch for embedding videos in to the pdf<br>
> To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> Message-ID: <<a href="mailto:201102250820.59953.aacid@kde.org">201102250820.59953.aacid@kde.org</a>><br>
> Content-Type: Text/Plain; charset="us-ascii"<br>
><br>
> A Divendres, 25 de febrer de 2011, srinivas adicherla va escriure:<br>
> > Hi Albert,<br>
> ><br>
> > I think i got it what you are going to tell.<br>
> ><br>
> > Is it like I need to put<br>
> > #ifdef ENABLE_PNG<br>
> > #include<png.h><br>
> > #endif<br>
> ><br>
> > and along with this,<br>
> > In my code wherever I use the functions that defined in png.h<br>
> > library<br>
> > I need to use the similar kind of condition to check right<br>
> > like,<br>
> ><br>
> > #ifdef ENABLE_PNG<br>
> > my code<br>
> > #endif<br>
> ><br>
> > is this what you were telling?<br>
><br>
> Yes. Usually you leave the function declaration there and just return error<br>
> (i<br>
> guess NULL in your case) if the png support is not compiled in.<br>
><br>
> Albert<br>
><br>
> ><br>
> > On Fri, Feb 25, 2011 at 10:26 AM, <poppler-<br>
> <a href="mailto:request@lists.freedesktop.org">request@lists.freedesktop.org</a>>wrote:<br>
> > > Send poppler mailing list submissions to<br>
> > ><br>
> > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > ><br>
> > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > ><br>
> > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > ><br>
> > > or, via email, send a message with subject or body 'help' to<br>
> > ><br>
> > > <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
> > ><br>
> > > You can reach the person managing the list at<br>
> > ><br>
> > > <a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
> > ><br>
> > > When replying, please edit your Subject line so it is more specific<br>
> > > than "Re: Contents of poppler digest..."<br>
> > ><br>
> > > Today's Topics:<br>
> > > 1. Re: Patch for embedding videos in to the pdf (srinivas adicherla)<br>
> > ><br>
> > > ----------------------------------------------------------------------<br>
> > ><br>
> > > Message: 1<br>
> > > Date: Fri, 25 Feb 2011 10:26:02 +0530<br>
> > > From: srinivas adicherla <<a href="mailto:srinivas.adicherla@gmail.com">srinivas.adicherla@gmail.com</a>><br>
> > > Subject: Re: [poppler] Patch for embedding videos in to the pdf<br>
> > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > ><br>
> > > Message-ID:<br>
> > > <AANLkTik4Lst6pnJy24Z3Dq8SnfvczR+ziH3cwCnRK=<a href="mailto:qc@mail.gmail.com">qc@mail.gmail.com</a>><br>
> > ><br>
> > > Content-Type: text/plain; charset="iso-8859-1"<br>
> > ><br>
> > > Hi Albert,<br>
> > ><br>
> > > Yes, My code will not compile if png.h is not there.<br>
> > ><br>
> > > Thanks<br>
> > > A Srinivas<br>
> > ><br>
> > > On Fri, Feb 25, 2011 at 1:30 AM, <<br>
> <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
> > ><br>
> > > >wrote:<br>
> > > > Send poppler mailing list submissions to<br>
> > > ><br>
> > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > ><br>
> > > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > > ><br>
> > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > ><br>
> > > > or, via email, send a message with subject or body 'help' to<br>
> > > ><br>
> > > > <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
> > > ><br>
> > > > You can reach the person managing the list at<br>
> > > ><br>
> > > > <a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
> > > ><br>
> > > > When replying, please edit your Subject line so it is more specific<br>
> > > > than "Re: Contents of poppler digest..."<br>
> > > ><br>
> > > > Today's Topics:<br>
> > > > 1. poppler/GfxFont.cc (Albert Astals Cid)<br>
> > > > 2. Branch 'poppler-0.16' - poppler/GfxFont.cc (Albert Astals Cid)<br>
> > > > 3. Re: Patch for embedding videos in to the pdf (Albert Astals Cid)<br>
> > > ><br>
> > > ><br>
> ----------------------------------------------------------------------<br>
> > > ><br>
> > > > Message: 1<br>
> > > > Date: Thu, 24 Feb 2011 10:45:05 -0800 (PST)<br>
> > > > From: <a href="mailto:aacid@kemper.freedesktop.org">aacid@kemper.freedesktop.org</a> (Albert Astals Cid)<br>
> > > > Subject: [poppler] poppler/GfxFont.cc<br>
> > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > Message-ID: <<a href="mailto:20110224184505.24C9410050@kemper.freedesktop.org">20110224184505.24C9410050@kemper.freedesktop.org</a>><br>
> > > ><br>
> > > > poppler/GfxFont.cc | 3 ++-<br>
> > > > 1 file changed, 2 insertions(+), 1 deletion(-)<br>
> > > ><br>
> > > > New commits:<br>
> > > > commit 3590a2d38082fc705040cdb31bf0b22ff12dd3e4<br>
> > > > Author: Adrian Johnson <<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a>><br>
> > > > Date: Thu Feb 24 18:47:35 2011 +0000<br>
> > > ><br>
> > > > Fix rendering of some substituted fonts<br>
> > > ><br>
> > > > More info in bug 34522<br>
> > > ><br>
> > > > diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc<br>
> > > > index 0a165a6..d80208d 100644<br>
> > > > --- a/poppler/GfxFont.cc<br>
> > > > +++ b/poppler/GfxFont.cc<br>
> > > > @@ -23,6 +23,7 @@<br>
> > > ><br>
> > > > // Copyright (C) 2009 Peter Kerzum <<a href="mailto:kerzum@yandex-team.ru">kerzum@yandex-team.ru</a>><br>
> > > > // Copyright (C) 2009, 2010 David Benjamin <<a href="mailto:davidben@mit.edu">davidben@mit.edu</a>><br>
> > > > // Copyright (C) 2011 Axel Str?bing <<a href="mailto:axel.struebing@freenet.de">axel.struebing@freenet.de</a>><br>
> > > ><br>
> > > > +// Copyright (C) 2011 Adrian Johnson <<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a>><br>
> > > ><br>
> > > > //<br>
> > > > // To see a description of the changes please see the Changelog file<br>
> > ><br>
> > > that<br>
> > ><br>
> > > > // came with your tarball or type make ChangeLog if you are building<br>
> > ><br>
> > > from<br>
> > ><br>
> > > > git<br>
> > > > @@ -1215,7 +1216,7 @@ Gushort<br>
> > > > *Gfx8BitFont::getCodeToGIDMap(FoFiTrueType *ff) {<br>
> > > ><br>
> > > > cmap = 0;<br>
> > > > useMacRoman = gFalse;<br>
> > > > useUnicode = gFalse;<br>
> > > ><br>
> > > > - if (hasEncoding) {<br>
> > > > + if (hasEncoding || type == fontType1) {<br>
> > > ><br>
> > > > if (usesMacRomanEnc && macRomanCmap >= 0) {<br>
> > > ><br>
> > > > cmap = macRomanCmap;<br>
> > > > useMacRoman = gTrue;<br>
> > > ><br>
> > > > ------------------------------<br>
> > > ><br>
> > > > Message: 2<br>
> > > > Date: Thu, 24 Feb 2011 10:45:39 -0800 (PST)<br>
> > > > From: <a href="mailto:aacid@kemper.freedesktop.org">aacid@kemper.freedesktop.org</a> (Albert Astals Cid)<br>
> > > > Subject: [poppler] Branch 'poppler-0.16' - poppler/GfxFont.cc<br>
> > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > Message-ID: <<a href="mailto:20110224184539.A17CE10050@kemper.freedesktop.org">20110224184539.A17CE10050@kemper.freedesktop.org</a>><br>
> > > ><br>
> > > > poppler/GfxFont.cc | 3 ++-<br>
> > > > 1 file changed, 2 insertions(+), 1 deletion(-)<br>
> > > ><br>
> > > > New commits:<br>
> > > > commit 4808b5c42f742363b51624aa4b6d02e6e6d3a30c<br>
> > > > Author: Adrian Johnson <<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a>><br>
> > > > Date: Thu Feb 24 18:47:35 2011 +0000<br>
> > > ><br>
> > > > Fix rendering of some substituted fonts<br>
> > > ><br>
> > > > More info in bug 34522<br>
> > > ><br>
> > > > diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc<br>
> > > > index 0a165a6..d80208d 100644<br>
> > > > --- a/poppler/GfxFont.cc<br>
> > > > +++ b/poppler/GfxFont.cc<br>
> > > > @@ -23,6 +23,7 @@<br>
> > > ><br>
> > > > // Copyright (C) 2009 Peter Kerzum <<a href="mailto:kerzum@yandex-team.ru">kerzum@yandex-team.ru</a>><br>
> > > > // Copyright (C) 2009, 2010 David Benjamin <<a href="mailto:davidben@mit.edu">davidben@mit.edu</a>><br>
> > > > // Copyright (C) 2011 Axel Str?bing <<a href="mailto:axel.struebing@freenet.de">axel.struebing@freenet.de</a>><br>
> > > ><br>
> > > > +// Copyright (C) 2011 Adrian Johnson <<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a>><br>
> > > ><br>
> > > > //<br>
> > > > // To see a description of the changes please see the Changelog file<br>
> > ><br>
> > > that<br>
> > ><br>
> > > > // came with your tarball or type make ChangeLog if you are building<br>
> > ><br>
> > > from<br>
> > ><br>
> > > > git<br>
> > > > @@ -1215,7 +1216,7 @@ Gushort<br>
> > > > *Gfx8BitFont::getCodeToGIDMap(FoFiTrueType *ff) {<br>
> > > ><br>
> > > > cmap = 0;<br>
> > > > useMacRoman = gFalse;<br>
> > > > useUnicode = gFalse;<br>
> > > ><br>
> > > > - if (hasEncoding) {<br>
> > > > + if (hasEncoding || type == fontType1) {<br>
> > > ><br>
> > > > if (usesMacRomanEnc && macRomanCmap >= 0) {<br>
> > > ><br>
> > > > cmap = macRomanCmap;<br>
> > > > useMacRoman = gTrue;<br>
> > > ><br>
> > > > ------------------------------<br>
> > > ><br>
> > > > Message: 3<br>
> > > > Date: Thu, 24 Feb 2011 18:52:58 +0000<br>
> > > > From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> > > > Subject: Re: [poppler] Patch for embedding videos in to the pdf<br>
> > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > Message-ID: <<a href="mailto:201102241852.58531.aacid@kde.org">201102241852.58531.aacid@kde.org</a>><br>
> > > > Content-Type: Text/Plain; charset="us-ascii"<br>
> > > ><br>
> > > > A Dijous, 24 de febrer de 2011, srinivas adicherla va escriure:<br>
> > > > > Hi Albert<br>
> > > > ><br>
> > > > > Thank you for giving me tips.<br>
> > > > ><br>
> > > > > I included #if defined(ENABLE_PNG)<br>
> > > > ><br>
> > > > > #include "PNGWriter.h"<br>
> > > > > #endif<br>
> > > > ><br>
> > > > > that is what in some places you were doing.<br>
> > > ><br>
> > > > Your code will not compile if png.h is not there, right?<br>
> > > ><br>
> > > > > About Object's freeing issue. It is not setting the value at all<br>
> if<br>
> > ><br>
> > > we<br>
> > ><br>
> > > > > free it in the function.<br>
> > > > ><br>
> > > > > I saw in other places also if we initialize the objects then they<br>
> > > > > are<br>
> > > ><br>
> > > > not<br>
> > > ><br>
> > > > > freeing, but if we get some value in to the objects<br>
> > > > > usng dict.lookup("key", &obj); then they are freeing it. This is<br>
> what<br>
> > > > > I found.<br>
> > > ><br>
> > > > Sorry, my bad both dictSet and arrayAdd do shallow copies of the<br>
> > > > objects<br>
> > ><br>
> > > so<br>
> > ><br>
> > > > you don't need to free them.<br>
> > > ><br>
> > > > Albert<br>
> > > ><br>
> > > > > So please give me update on this.<br>
> > > > ><br>
> > > > > Thank you<br>
> > > > > A Srinivas<br>
> > > > ><br>
> > > > > On Wed, Feb 23, 2011 at 5:46 PM, <poppler-<br>
> > > ><br>
> > > > <a href="mailto:request@lists.freedesktop.org">request@lists.freedesktop.org</a>>wrote:<br>
> > > > > > Send poppler mailing list submissions to<br>
> > > > > ><br>
> > > > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > ><br>
> > > > > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > > > > ><br>
> > > > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > > > ><br>
> > > > > > or, via email, send a message with subject or body 'help' to<br>
> > > > > ><br>
> > > > > > <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
> > > > > ><br>
> > > > > > You can reach the person managing the list at<br>
> > > > > ><br>
> > > > > > <a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
> > > > > ><br>
> > > > > > When replying, please edit your Subject line so it is more<br>
> specific<br>
> > > > > > than "Re: Contents of poppler digest..."<br>
> > > > > ><br>
> > > > > > Today's Topics:<br>
> > > > > > 1. Re: Font substitution in Poppler (Albert Astals Cid)<br>
> > > > > > 2. Re: Patch for embedding videos in to the pdf. (srinivas<br>
> > ><br>
> > > adicherla)<br>
> > ><br>
> > ><br>
> > > ----------------------------------------------------------------------<br>
> > ><br>
> > > > > > Message: 1<br>
> > > > > > Date: Tue, 22 Feb 2011 20:23:44 +0000<br>
> > > > > > From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> > > > > > Subject: Re: [poppler] Font substitution in Poppler<br>
> > > > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > Message-ID: <<a href="mailto:201102222023.44914.aacid@kde.org">201102222023.44914.aacid@kde.org</a>><br>
> > > > > > Content-Type: Text/Plain; charset="iso-8859-1"<br>
> > > > > ><br>
> > > > > > A Dimarts, 22 de febrer de 2011, <a href="mailto:jose.aliste@gmail.com">jose.aliste@gmail.com</a> va<br>
> escriure:<br>
> > > > > > > Hi,<br>
> > > > > > ><br>
> > > > > > > while reading GlobalParams.cc in poppler directory, I've<br>
> noticed<br>
> > ><br>
> > > that<br>
> > ><br>
> > > > > > > when substituting, we only take into account substitutions for<br>
> a<br>
> > > ><br>
> > > > given<br>
> > > ><br>
> > > > > > > font that are ttf or pfb. So I wondered why is this so? and,<br>
> > > > > > > what would be the path to implement support for otf<br>
> > > > > > > substitutions?<br>
> > > > > ><br>
> > > > > > Before worrying about the substitution have you checked if a pdf<br>
> > > > > > with<br>
> > ><br>
> > > a<br>
> > ><br>
> > > > > > otf font embedded renders correctly?<br>
> > > > > ><br>
> > > > > > Albert<br>
> > > > > ><br>
> > > > > > > Greetings<br>
> > > > > > ><br>
> > > > > > > Jos?<br>
> > > > > > > _______________________________________________<br>
> > > > > > > poppler mailing list<br>
> > > > > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > > > ><br>
> > > > > > ------------------------------<br>
> > > > > ><br>
> > > > > > Message: 2<br>
> > > > > > Date: Wed, 23 Feb 2011 17:46:52 +0530<br>
> > > > > > From: srinivas adicherla <<a href="mailto:srinivas.adicherla@gmail.com">srinivas.adicherla@gmail.com</a>><br>
> > > > > > Subject: Re: [poppler] Patch for embedding videos in to the pdf.<br>
> > > > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > ><br>
> > > > > > Message-ID:<br>
> > > > > > <<br>
> <a href="mailto:AANLkTimtinmd__D762OhdiJQ0JAnDDzTi-rxq4XtZykp@mail.gmail.co">AANLkTimtinmd__D762OhdiJQ0JAnDDzTi-rxq4XtZykp@mail.gmail.co</a><br>
> > > > > > m<br>
> > > > > ><br>
> > > > > > Content-Type: text/plain; charset="iso-8859-1"<br>
> > > > > ><br>
> > > > > > Hi Albert<br>
> > > > > ><br>
> > > > > > Thank you for your suggestions. Sorry it was long gap<br>
> > > > > > since<br>
> > > ><br>
> > > > you<br>
> > > ><br>
> > > > > > gave those suggestions. I was so busy after that.<br>
> > > > > ><br>
> > > > > > - about "#include <png.h>". I don't know how to check for those<br>
> in<br>
> > > > > > configure/cmake files.<br>
> > > > > > If any one can give me any ideas how to do, it will be really<br>
> > ><br>
> > > helpful.<br>
> > ><br>
> > > > I<br>
> > > ><br>
> > > > > > just check for #ENABLE_PNG and including it. I don't know whether<br>
> > > > > > it<br>
> > ><br>
> > > is<br>
> > ><br>
> > > > > > right or not.<br>
> > > > > ><br>
> > > > > > - Other things I used valgrind for memory leaks. Still in some<br>
> > > > > > places like "object.initDict(xref)" it is showing definitely leak<br>
> > > > > > some<br>
> > ><br>
> > > bytes.<br>
> > ><br>
> > > > > > How to overcome those things. Not only in my code still in<br>
> poppler<br>
> > > ><br>
> > > > some<br>
> > > ><br>
> > > > > > places it is showing leaking memory for initDict(xref) or<br>
> > > > > > initArray(xref).<br>
> > > > > ><br>
> > > > > > But we cannot free those objects explicitly in our code, if we<br>
> do<br>
> > ><br>
> > > like<br>
> > ><br>
> > > > > > that. If we delete like that that value for that dictionary key<br>
> it<br>
> > > > > > is<br>
> > > ><br>
> > > > not<br>
> > > ><br>
> > > > > > setting.<br>
> > > > > ><br>
> > > > > > So is it fine?<br>
> > > > > ><br>
> > > > > > Please kindly give suggestios.<br>
> > > > > ><br>
> > > > > > Thank you all in advance.<br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > A Srinivas<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Wed, Feb 16, 2011 at 1:30 AM, <<br>
> > > ><br>
> > > > <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
> > > ><br>
> > > > > > >wrote:<br>
> > > > > > > Send poppler mailing list submissions to<br>
> > > > > > ><br>
> > > > > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > ><br>
> > > > > > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > > > > > ><br>
> > > > > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > > > > ><br>
> > > > > > > or, via email, send a message with subject or body 'help' to<br>
> > > > > > ><br>
> > > > > > > <a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
> > > > > > ><br>
> > > > > > > You can reach the person managing the list at<br>
> > > > > > ><br>
> > > > > > > <a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
> > > > > > ><br>
> > > > > > > When replying, please edit your Subject line so it is more<br>
> > > > > > > specific than "Re: Contents of poppler digest..."<br>
> > > > > > ><br>
> > > > > > > Today's Topics:<br>
> > > > > > > 1. Re: Patch for embedding videos in to the pdf. (Albert<br>
> Astals<br>
> > > ><br>
> > > > Cid)<br>
> > > ><br>
> > > > > > > 2. Re: pdf import in Inkscap using poppler_glib and<br>
> > > > > > ><br>
> > > > > > > poppler_cairo (Albert Astals Cid)<br>
> > > > > > ><br>
> > > > > > > 3. Re: Patch for embedding videos in to the pdf. (Albert<br>
> Astals<br>
> > > ><br>
> > > > Cid)<br>
> > > ><br>
> > > ><br>
> > > ><br>
> ----------------------------------------------------------------------<br>
> > > ><br>
> > > > > > > Message: 1<br>
> > > > > > > Date: Tue, 15 Feb 2011 19:13:09 +0000<br>
> > > > > > > From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> > > > > > > Subject: Re: [poppler] Patch for embedding videos in to the<br>
> pdf.<br>
> > > > > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > > Message-ID: <<a href="mailto:201102151913.10014.aacid@kde.org">201102151913.10014.aacid@kde.org</a>><br>
> > > > > > > Content-Type: Text/Plain; charset="us-ascii"<br>
> > > > > > ><br>
> > > > > > > A Dimarts, 15 de febrer de 2011, srinivas adicherla va<br>
> escriure:<br>
> > > > > > > > Hi all,<br>
> > > > > > ><br>
> > > > > > > Hi<br>
> > > > > > ><br>
> > > > > > > > I made a patch for embedding videos into the pdf file. I<br>
> > > ><br>
> > > > created<br>
> > > ><br>
> > > > > > > > a<br>
> > > > > > > ><br>
> > > > > > > > Screen annotation, and add a Rendition action to it. For<br>
> > ><br>
> > > appearance<br>
> > ><br>
> > > > I<br>
> > > ><br>
> > > > > > > took<br>
> > > > > > ><br>
> > > > > > > > the image from the user (only accepting png), later I will do<br>
> > > > > > > > for<br>
> > > > > ><br>
> > > > > > others<br>
> > > > > ><br>
> > > > > > > > also. I tested opening the embedded pdf files using Adobe and<br>
> > ><br>
> > > Foxit<br>
> > ><br>
> > > > > > > Reader<br>
> > > > > > ><br>
> > > > > > > > it was successfully opened for me. I tried for swf and mpg<br>
> > > > > > > > files. I am asking the user to specify the image because<br>
> there<br>
> > > > > > > > are lot<br>
> > ><br>
> > > of<br>
> > ><br>
> > > > > > video<br>
> > > > > ><br>
> > > > > > > > formats, so its time consuming for creating an image from the<br>
> > ><br>
> > > video<br>
> > ><br>
> > > > > > frame<br>
> > > > > ><br>
> > > > > > > > for all types. ( May be in the future i add that or anybody<br>
> can<br>
> > > ><br>
> > > > help<br>
> > > ><br>
> > > > > > > > me<br>
> > > > > > ><br>
> > > > > > > in<br>
> > > > > > ><br>
> > > > > > > > that).<br>
> > > > > > > ><br>
> > > > > > > > I added the same in bugzilla.<br>
> > > > > > ><br>
> > > > > > > Bad idea, don't do this. Either do it here or in the bugzilla<br>
> but<br>
> > ><br>
> > > not<br>
> > ><br>
> > > > > > > in both.<br>
> > > > > > > In two places just makes more difficult to follow the<br>
> dicussion.<br>
> > > > > > ><br>
> > > > > > > Albert<br>
> > > > > > ><br>
> > > > > > > > Please give me suggestions to make this successful.<br>
> > > > > > > ><br>
> > > > > > > > Thanks in Advance.<br>
> > > > > > > > A Srinivas<br>
> > > > > > ><br>
> > > > > > > ------------------------------<br>
> > > > > > ><br>
> > > > > > > Message: 2<br>
> > > > > > > Date: Tue, 15 Feb 2011 19:23:42 +0000<br>
> > > > > > > From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> > > > > > > Subject: Re: [poppler] pdf import in Inkscap using poppler_glib<br>
> > > > > > > and<br>
> > > > > > ><br>
> > > > > > > poppler_cairo<br>
> > > > > > ><br>
> > > > > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > > Message-ID: <<a href="mailto:201102151923.43633.aacid@kde.org">201102151923.43633.aacid@kde.org</a>><br>
> > > > > > > Content-Type: Text/Plain; charset="iso-8859-1"<br>
> > > > > > ><br>
> > > > > > > A Dimarts, 15 de febrer de 2011, Pino Toscano va escriure:<br>
> > > > > > > > Hi,<br>
> > > > > > > ><br>
> > > > > > > > Alle marted? 15 febbraio 2011, the Adib ha scritto:<br>
> > > > > > > > > currently Inkscape uses poppler internal API to read in pdf<br>
> > > ><br>
> > > > files.<br>
> > > ><br>
> > > > > > > > > Those API breaks/changes from time to time.<br>
> > > > > > > > ><br>
> > > > > > > > > Now I try importing pdf via poppler cairo surface and those<br>
> > ><br>
> > > cairo<br>
> > ><br>
> > > > > > > > > surface as svg backend. So far that works.<br>
> > > > > > > > ><br>
> > > > > > > > > But I do not have any control over the process:<br>
> > > > > > > > > - I can not set bitmap dpi<br>
> > > > > > > > > - I can not specify if text stays text or convert to path<br>
> > > > > > > > > etc.<br>
> > > > > > > > ><br>
> > > > > > > > > Do you have any sugestions?<br>
> > > > > > > ><br>
> > > > > > > > What I proposed more than one year ago:<br>
> > > > > > > ><br>
> <a href="http://sourceforge.net/mailarchive/message.php?msg_id=24162410" target="_blank">http://sourceforge.net/mailarchive/message.php?msg_id=24162410</a><br>
> > > > > > ><br>
> > > > > > > That'd work me too :D<br>
> > > > > > ><br>
> > > > > > > Also if your custom inkscape converter does not depend in<br>
> > > > > > > inkscape<br>
> > ><br>
> > > i<br>
> > ><br>
> > > > > > > see<br>
> > > > > ><br>
> > > > > > no<br>
> > > > > ><br>
> > > > > > > reason why we could not have it inside poppler too if you<br>
> commit<br>
> > > > > > > to maintaining it here (this way you'd be much safer to API<br>
> > > > > > > changes)<br>
> > > > > > ><br>
> > > > > > > Albert<br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > ------------------------------<br>
> > > > > > ><br>
> > > > > > > Message: 3<br>
> > > > > > > Date: Tue, 15 Feb 2011 19:50:51 +0000<br>
> > > > > > > From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> > > > > > > Subject: Re: [poppler] Patch for embedding videos in to the<br>
> pdf.<br>
> > > > > > > To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > > Message-ID: <<a href="mailto:201102151950.51464.aacid@kde.org">201102151950.51464.aacid@kde.org</a>><br>
> > > > > > > Content-Type: Text/Plain; charset="us-ascii"<br>
> > > > > > ><br>
> > > > > > > A Dimarts, 15 de febrer de 2011, srinivas adicherla va<br>
> escriure:<br>
> > > > > > > > Hi all,<br>
> > > > > > > ><br>
> > > > > > > > I made a patch for embedding videos into the pdf file. I<br>
> > > ><br>
> > > > created<br>
> > > ><br>
> > > > > > > > a<br>
> > > > > > > ><br>
> > > > > > > > Screen annotation, and add a Rendition action to it. For<br>
> > ><br>
> > > appearance<br>
> > ><br>
> > > > I<br>
> > > ><br>
> > > > > > > took<br>
> > > > > > ><br>
> > > > > > > > the image from the user (only accepting png), later I will do<br>
> > > > > > > > for<br>
> > > > > ><br>
> > > > > > others<br>
> > > > > ><br>
> > > > > > > > also. I tested opening the embedded pdf files using Adobe and<br>
> > ><br>
> > > Foxit<br>
> > ><br>
> > > > > > > Reader<br>
> > > > > > ><br>
> > > > > > > > it was successfully opened for me. I tried for swf and mpg<br>
> > > > > > > > files. I am asking the user to specify the image because<br>
> there<br>
> > > > > > > > are lot<br>
> > ><br>
> > > of<br>
> > ><br>
> > > > > > video<br>
> > > > > ><br>
> > > > > > > > formats, so its time consuming for creating an image from the<br>
> > ><br>
> > > video<br>
> > ><br>
> > > > > > frame<br>
> > > > > ><br>
> > > > > > > > for all types. ( May be in the future i add that or anybody<br>
> can<br>
> > > ><br>
> > > > help<br>
> > > ><br>
> > > > > > > > me<br>
> > > > > > ><br>
> > > > > > > in<br>
> > > > > > ><br>
> > > > > > > > that).<br>
> > > > > > > ><br>
> > > > > > > > I added the same in bugzilla.<br>
> > > > > > > ><br>
> > > > > > > > Please give me suggestions to make this successful.<br>
> > > > > > ><br>
> > > > > > > Some quick things:<br>
> > > > > > > * You use png.h unconditionally that is not going to work, you<br>
> > ><br>
> > > need<br>
> > ><br>
> > > > to<br>
> > > ><br>
> > > > > > use<br>
> > > > > ><br>
> > > > > > > the proper defines to see if configure/cmake found it.<br>
> > > > > > ><br>
> > > > > > > * FILE *f;; <- extra ;<br>
> > > > > > > * png_structp read_png;; <- again<br>
> > > > > > > * error(-1, "The file could not be recognized as a PNG<br>
> file.");<br>
> > ><br>
> > > <--<br>
> > ><br>
> > > > > > > You<br>
> > > > > > ><br>
> > > > > > > don't<br>
> > > > > > > close f here<br>
> > > > > > ><br>
> > > > > > > * You don't delete imgbuf<br>
> > > > > > > * Wihtout having any idea png_create_info_struct seems like<br>
> you<br>
> > > ><br>
> > > > should<br>
> > > ><br>
> > > > > > > call<br>
> > > > > > > destroy afterwards in the structure it returns<br>
> > > > > > ><br>
> > > > > > > * After<br>
> > > > > > ><br>
> > > > > > > MemStream *imgStream = load_from_png (img_file, &imgXObj,<br>
> > > > > > > xrefA); if (!imgStream)<br>
> > > > > > ><br>
> > > > > > > return gFalse;<br>
> > > > > > ><br>
> > > > > > > you need to free all the Obj you've allocated<br>
> > > > > > ><br>
> > > > > > > * I'm pretty sure<br>
> > > > > > ><br>
> > > > > > > annotObj.dictSet("T", obj.initString(new<br>
> > > > > > > GooString(video_name))); annotObj.dictSet("Contents",<br>
> > > > > > > obj.initString(new<br>
> > > > > ><br>
> > > > > > GooString(video_name)));<br>
> > > > > ><br>
> > > > > > > annotObj.dictSet("F", obj.initInt(4));<br>
> > > > > > > is leaking memory as Object is not supposed to be reused<br>
> > > > > > > without<br>
> > > > > ><br>
> > > > > > freeing<br>
> > > > > ><br>
> > > > > > > it<br>
> > > > > > > first, please use valgrind to detect leaks in your code<br>
> > > > > > ><br>
> > > > > > > Albert<br>
> > > > > > ><br>
> > > > > > > > Thanks in Advance.<br>
> > > > > > > > A Srinivas<br>
> > > > > > ><br>
> > > > > > > ------------------------------<br>
> > > > > > ><br>
> > > > > > > _______________________________________________<br>
> > > > > > > poppler mailing list<br>
> > > > > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > End of poppler Digest, Vol 72, Issue 21<br>
> > > > > > > ***************************************<br>
> > > > > ><br>
> > > > > > -------------- next part --------------<br>
> > > > > > An HTML attachment was scrubbed...<br>
> > > > > > URL: <<br>
> > ><br>
> > ><br>
> <a href="http://lists.freedesktop.org/archives/poppler/attachments/20110223/5ee0f3" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110223/5ee0f3</a><br>
> > ><br>
> > > > > > 1c/attachment.html<br>
> > > > > ><br>
> > > > > > -------------- next part --------------<br>
> > > > > > A non-text attachment was scrubbed...<br>
> > > > > > Name: srinivas_video_embedd.patch<br>
> > > > > > Type: text/x-patch<br>
> > > > > > Size: 11746 bytes<br>
> > > > > > Desc: not available<br>
> > > > > > URL: <<br>
> > ><br>
> > ><br>
> <a href="http://lists.freedesktop.org/archives/poppler/attachments/20110223/5ee0f3" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110223/5ee0f3</a><br>
> > ><br>
> > > > > > 1c/attachment.bin<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > ------------------------------<br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > poppler mailing list<br>
> > > > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > End of poppler Digest, Vol 72, Issue 29<br>
> > > > > > ***************************************<br>
> > > ><br>
> > > > ------------------------------<br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > poppler mailing list<br>
> > > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > ><br>
> > > ><br>
> > > > End of poppler Digest, Vol 72, Issue 32<br>
> > > > ***************************************<br>
> > ><br>
> > > -------------- next part --------------<br>
> > > An HTML attachment was scrubbed...<br>
> > > URL: <<br>
> > ><br>
> <a href="http://lists.freedesktop.org/archives/poppler/attachments/20110225/7d5c43" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110225/7d5c43</a><br>
> > > b6/attachment.htm<br>
> > ><br>
> > ><br>
> > > ------------------------------<br>
> > ><br>
> > > _______________________________________________<br>
> > > poppler mailing list<br>
> > > <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > ><br>
> > ><br>
> > > End of poppler Digest, Vol 72, Issue 33<br>
> > > ***************************************<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Thu, 24 Feb 2011 16:31:20 -0800<br>
> From: "Marc J. Driftmeyer" <<a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a>><br>
> Subject: [poppler] Clang/Clang++ 2.9-Trunk against Poppler Trunk<br>
> To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> Message-ID: <<a href="mailto:4D66F858.4070304@reanimality.com">4D66F858.4070304@reanimality.com</a>><br>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
><br>
> I've been testing Clang trunk against various projects and am testing<br>
> against Poppler.<br>
><br>
> It hangs on the check_fonts section of code:<br>
><br>
> Here is the output:<br>
><br>
> The build is extremely noisy but the fatal error section that kills the<br>
> build is as follows:<br>
><br>
> [ 74%] Building CXX object<br>
> qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:229:14:<br>
> warning:<br>
> 'scanForFonts' is deprecated [-Wdeprecated-declarations]<br>
> doc->scanForFonts( 1, &listOfFonts2 );<br>
> ^<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:237:14:<br>
> warning:<br>
> 'scanForFonts' is deprecated [-Wdeprecated-declarations]<br>
> doc->scanForFonts( 1, &listOfFonts3 );<br>
> ^<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qobject.h:50:<br>
> /usr/include/qt4/QtCore/qlist.h:732:22: error: invalid operands to<br>
> binary expression ('Poppler::FontInfo' and<br>
> 'Poppler::FontInfo')<br>
> if (!(i->t() == li->t()))<br>
> ~~~~~~ ^ ~~~~~~~<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:7:<br>
> In file included from /usr/include/qt4/QtTest/qtest.h:46:<br>
> /usr/include/qt4/QtTest/qtestcase.h:176:20: note: in instantiation of<br>
> member function<br>
> 'QList<Poppler::FontInfo>::operator==' requested here<br>
> return (t1 == t2)<br>
> ^<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:198:5:<br>
> note: in<br>
> instantiation of function template specialization<br>
> 'QTest::qCompare<QList<Poppler::FontInfo> >' requested<br>
> here<br>
> QCOMPARE( listOfFonts, listOfFonts2 );<br>
> ^<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:7:<br>
> In file included from /usr/include/qt4/QtTest/qtest.h:46:<br>
> /usr/include/qt4/QtTest/qtestcase.h:81:10: note: instantiated from:<br>
> if (!QTest::qCompare(actual, expected, #actual, #expected,<br>
> __FILE__, __LINE__))\<br>
> ^<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qobject.h:47:<br>
> In file included from /usr/include/qt4/QtCore/qobjectdefs.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qnamespace.h:45:<br>
> /usr/include/qt4/QtCore/qglobal.h:1886:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'QBool' for 1st argument<br>
> inline bool operator==(QBool b1, bool b2) { return !b1 == !b2; }<br>
> ^<br>
> /usr/include/qt4/QtCore/qglobal.h:1887:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'bool' for 1st argument<br>
> inline bool operator==(bool b1, QBool b2) { return !b1 == !b2; }<br>
> ^<br>
> /usr/include/qt4/QtCore/qglobal.h:1888:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'QBool' for 1st argument<br>
> inline bool operator==(QBool b1, QBool b2) { return !b1 == !b2; }<br>
> ^<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qobject.h:48:<br>
> In file included from /usr/include/qt4/QtCore/qstring.h:45:<br>
> /usr/include/qt4/QtCore/qchar.h:386:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'QChar' for 1st argument<br>
> inline bool operator==(QChar c1, QChar c2) { return c1.unicode() ==<br>
> c2.unicode(); }<br>
> ^<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qobject.h:48:<br>
> In file included from /usr/include/qt4/QtCore/qstring.h:46:<br>
> /usr/include/qt4/QtCore/qbytearray.h:509:13: note: candidate function<br>
> not viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QByteArray' for 1st argument<br>
> inline bool operator==(const QByteArray &a1, const QByteArray &a2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qbytearray.h:511:13: note: candidate function<br>
> not viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QByteArray' for 1st argument<br>
> inline bool operator==(const QByteArray &a1, const char *a2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qbytearray.h:513:13: note: candidate function<br>
> not viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const char *' for 1st argument<br>
> inline bool operator==(const char *a1, const QByteArray &a2)<br>
> ^<br>
> In file included from<br>
><br>
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:<br>
><br>
> In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
> In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
> In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
> In file included from /usr/include/qt4/QtCore/qobject.h:48:<br>
> /usr/include/qt4/QtCore/qstring.h:909:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'QString::Null' for 1st argument<br>
> inline bool operator==(QString::Null, QString::Null) { return true; }<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:910:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'QString::Null' for 1st argument<br>
> inline bool operator==(QString::Null, const QString &s) { return<br>
> s.isNull(); }<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:911:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QString' for 1st argument<br>
> inline bool operator==(const QString &s, QString::Null) { return<br>
> s.isNull(); }<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:937:32: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const char *' for 1st argument<br>
> inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString<br>
> &s2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:950:32: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const char *' for 1st argument<br>
> inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const<br>
> QLatin1String &s2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:963:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QLatin1String' for 1st argument<br>
> inline bool operator==(const QLatin1String &s1, const QLatin1String &s2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1171:20: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
> Q_CORE_EXPORT bool operator==(const QStringRef &s1,const QStringRef &s2);<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1174:20: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QString' for 1st argument<br>
> Q_CORE_EXPORT bool operator==(const QString &s1,const QStringRef &s2);<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1177:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
> inline bool operator==(const QStringRef &s1,const QString &s2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1181:20: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QLatin1String' for 1st argument<br>
> Q_CORE_EXPORT bool operator==(const QLatin1String &s1, const QStringRef<br>
> &s2);<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1184:13: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
> inline bool operator==(const QStringRef &s1,const QLatin1String &s2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1205:32: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const char *' for 1st argument<br>
> inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const<br>
> QStringRef &s2)<br>
> ^<br>
> /usr/include/qt4/QtCore/qstring.h:1207:32: note: candidate function not<br>
> viable: no known conversion from<br>
> 'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
> inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &s1, const<br>
> char *s2)<br>
> ^<br>
> 2 warnings and 1 error generated.<br>
> make[2]: *** [qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o]<br>
> Error 1<br>
> make[1]: *** [qt4/tests/CMakeFiles/check_fonts.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
> mdriftmeyer@horus:~/DeveloperProjects/QtProjects/Poppler/cmake-llvm-trunk$<br>
><br>
> -----------------------------------------<br>
><br>
> Is this an expected outcome?<br>
><br>
> Sincerely Yours,<br>
><br>
> Marc J. Driftmeyer<br>
><br>
> --<br>
> Marc J. Driftmeyer<br>
> Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a> <mailto:<a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a>><br>
> Web :: <a href="http://www.reanimality.com" target="_blank">http://www.reanimality.com</a><br>
> Cell :: (509) 435-5212<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://lists.freedesktop.org/archives/poppler/attachments/20110224/6c334f9f/attachment.html" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110224/6c334f9f/attachment.html</a><br>
> ><br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: mjd.vcf<br>
> Type: text/x-vcard<br>
> Size: 316 bytes<br>
> Desc: not available<br>
> URL: <<br>
> <a href="http://lists.freedesktop.org/archives/poppler/attachments/20110224/6c334f9f/attachment.vcf" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110224/6c334f9f/attachment.vcf</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> poppler mailing list<br>
> <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
><br>
><br>
> End of poppler Digest, Vol 72, Issue 35<br>
> ***************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/poppler/attachments/20110225/c0f7289b/attachment.htm" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110225/c0f7289b/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: srinivas_video_embedd.patch<br>
Type: text/x-patch<br>
Size: 12204 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.freedesktop.org/archives/poppler/attachments/20110225/c0f7289b/attachment.bin" target="_blank">http://lists.freedesktop.org/archives/poppler/attachments/20110225/c0f7289b/attachment.bin</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
<br>
End of poppler Digest, Vol 72, Issue 36<br>
***************************************<br>
</blockquote></div><br>