X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Focr.c;fp=pctb%2Focr.c;h=47597828c5f0091f1b5dce2e1592bb2e82aa4da6;hb=a16191c13cdc1eab1e43cc9662c2271481b3a9b8;hp=bbdbedc3b0c14631fd82fa7875a9970eba23bcd3;hpb=d557fcda202bbf0217ceb2819c0adfc7c33a77fb;p=ypp-sc-tools.db-test.git diff --git a/pctb/ocr.c b/pctb/ocr.c index bbdbedc..4759782 100644 --- a/pctb/ocr.c +++ b/pctb/ocr.c @@ -126,6 +126,9 @@ static void readdb1(OcrReader *rd, const char *which, int local) { if (!dbfile_open(dbfname)) goto x; + if (local) + o_flags |= ff_charset_havelocal; + FGETSLINE; dbassert(!strcmp(lbuf,"# ypp-sc-tools pctb font v2"));