const char *p;
char cb;
Pixcol pv;
+
+ if (!o_resolver)
+ fatal("OCR failed - unrecognised characters or ligatures.\n"
+ "Character set database needs to be updated or augmented.\n"
+ "See README.charset.\n");
if (!resolver) {
sysassert(! pipe(jobpipe) );
/* we know donepipe[1] is >= 4 and we have dealt with all the others
* so we aren't in any danger of overwriting some other fd 4: */
sysassert( dup2(donepipe[1],4) ==4 );
- execlp("./yppsc-ocr-resolver", "yppsc-ocr-resolver",
+ execlp(o_resolver, o_resolver,
DEBUGP(callout) ? "--debug" : "--noop-arg",
"--automatic-1",
(char*)0);