Mail Archives: cygwin/1998/04/24/22:44:16
Rudolf Ngan wrote:
> I compiled it successfully on both linux 2.0.30 and cygnus-win32 b19, the
> linux version can convert pdf to text real good (I have tested it on many
> PDFs, all work fine), but the win32 one suffers from different types of
> unexpected logical errors. After tracing the source code for two days, I
> suspect that there may be problem with the library code of
Stream::getChar()
> !!
Looks like well-known text vs binary problem. If Stream class uses fopen()
call to open a file, change mode argument to "rb", if open() - add O_BINARY
to mode.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -