current problem with inkscape-svn & poppler-0.8.7
![](https://secure.gravatar.com/avatar/15f5e6abf26f57e1838c29a8356ce7f8.jpg?s=120&d=mm&r=g)
I upgrader last week poppler to version 0.8.7 and then get error on inkscape svn compilation, I suppose it's related to poppler upgrade instead of inkscape changes:
../../inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::doShowText(GooString*)’: ../../inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2264: error: no matching function for call to ‘GfxFont::getNextChar(char*&, int&, CharCode*, Unicode**, int*, double*, double*, double*, double*)’ /usr/include/poppler/GfxFont.h:204: note: candidates are: virtual int GfxFont::getNextChar(char*, int, CharCode*, Unicode*, int, int*, double*, double*, double*, double*) ../../inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2317: error: no matching function for call to ‘GfxFont::getNextChar(char*&, int&, CharCode*, Unicode**, int*, double*, double*, double*, double*)’ /usr/include/poppler/GfxFont.h:204: note: candidates are: virtual int GfxFont::getNextChar(char*, int, CharCode*, Unicode*, int, int*, double*, double*, double*, double*) warning: unused variable ‘nSpaces’
Here is the definition of this function in poppler/GfxFont.h:
// Get the next char from a string <s> of <len> bytes, returning the // char <code>, its Unicode mapping <u>, its displacement vector // (<dx>, <dy>), and its origin offset vector (<ox>, <oy>). <uSize> // is the number of entries available in <u>, and <uLen> is set to // the number actually used. Returns the number of bytes used by // the char code. virtual int getNextChar(char *s, int len, CharCode *code, Unicode *u, int uSize, int *uLen, double *dx, double *dy, double *ox, double *oy) = 0;
It looks like: the Unicode is a ** instead of a * (not sure, I have to look again on k&r & Stroustrup books as I didn't coded for long time)
the int uSize is missing in the function call.
Regards.
Olivier
participants (1)
-
unknown@example.com