<div dir="ltr"><div>Hi Brad<br><br></div>I think that the main problem is that poppler-cpp library cannot print pdf file as same mode of pdftotext (command without any layout option).<br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">2014-03-13 10:20 GMT+01:00 Brad Hards <span dir="ltr"><<a href="mailto:bradh@frogmouth.net" target="_blank">bradh@frogmouth.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Thu, 13 Mar 2014 10:11:36 AM Marco wrote:<br>
> I have tried it more times but I need to have in output not ustring data<br>
> but string or pointer of chars.<br>
><br>
> I need to have utf8 charset but not in the ustring format.<br>
</div>From cpp/poppler-global.h header:<br>
<br>
class POPPLER_CPP_EXPORT ustring : public std::basic_string<unsigned short><br>
{<br>
public:<br>
ustring();<br>
ustring(size_type len, value_type ch);<br>
~ustring();<br>
<br>
byte_array to_utf8() const;<br>
std::string to_latin1() const;<br>
<br>
static ustring from_utf8(const char *str, int len = -1);<br>
static ustring from_latin1(const std::string &str);<br>
...<br>
}<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>E' meglio coltivare GNU/Linux... tanto Windows si pianta da solo!!<br>
</div>