On Tue, 2015-09-29 at 20:11 +0200, Nenad Novak wrote:
> I have compiled changes with mingw compiler on (win32) with and
> without PODOFO_NO_FONTMANAGER defined. Font subsetting works in both
> cases (font selection with win32 native font manager, and with
> fontconfig on windows platform). It means that it should work on
> other platforms too, which are fontconfig based.

        Hi,
I cannot answer your questions, there are better PoDoFo/PDF experts
here in the list, but I can at least test your changes on a Linux.

I skipped the chunk for src/base/PdfDate.cpp, it conflicts with other
changes.

The revision 1682 fails to apply also
the src/doc/PdfIdentityEncoding.cpp chunks.

I skipped that and run `make` which results in a build failure:

    Scanning dependencies of target podofo_static
    [  1%] Building CXX object 
src/CMakeFiles/podofo_static.dir/doc/PdfField.cpp.o
    [  2%] Building CXX object 
src/CMakeFiles/podofo_static.dir/doc/PdfFontCID.cpp.o
    podofo/trunk/src/doc/PdfFontCID.cpp:512:23: warning: unused parameter 
‘pDescriptor’ [-Wunused-parameter]
     updateCMap(PdfObject* pDescriptor, PdfObject* pObject, const PdfEncoding* 
pEncoding, PdfFontMetrics* pMetrics, std::set<pdf_utf16be>& setUsed)
                           ^
    podofo/trunk/src/doc/PdfFontCID.cpp: In member function ‘void 
PoDoFo::PdfFontCID::MaybeUpdateBaseFontKey()’:
    podofo/trunk/src/doc/PdfFontCID.cpp:569:34: error: redeclaration of ‘const 
PoDoFo::PdfFontMetricsFreetype* pFreetype’
        const PdfFontMetricsFreetype *pFreetype = reinterpret__cast<const 
PdfFontMetricsFreetype *>(this->GetFontMetrics());
                                      ^
    podofo/trunk/src/doc/PdfFontCID.cpp:565:34: note: ‘const 
PoDoFo::PdfFontMetricsFreetype* pFreetype’ previously declared here
        const PdfFontMetricsFreetype *pFreetype = dynamic_cast<const 
PdfFontMetricsFreetype *>(this->GetFontMetrics());
                                      ^
    podofo/trunk/src/doc/PdfFontCID.cpp:569:46: error: ‘reinterpret__cast’ was 
not declared in this scope
        const PdfFontMetricsFreetype *pFreetype = reinterpret__cast<const 
PdfFontMetricsFreetype *>(this->GetFontMetrics());
                                                  ^
    podofo/trunk/src/doc/PdfFontCID.cpp:569:64: error: expected 
primary-expression before ‘const’
        const PdfFontMetricsFreetype *pFreetype = reinterpret__cast<const 
PdfFontMetricsFreetype *>(this->GetFontMetrics());
                                                                    ^
    src/CMakeFiles/podofo_static.dir/build.make:1342: recipe for target 
'src/CMakeFiles/podofo_static.dir/doc/PdfFontCID.cpp.o' failed
    make[2]: *** [src/CMakeFiles/podofo_static.dir/doc/PdfFontCID.cpp.o] Error 1
    CMakeFiles/Makefile2:106: recipe for target 
'src/CMakeFiles/podofo_static.dir/all' failed
    make[1]: *** [src/CMakeFiles/podofo_static.dir/all] Error 2
    Makefile:116: recipe for target 'all' failed
    make: *** [all] Error 2

So it doesn't build here.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz



------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to