Two kinds of Gazette PDF
Sixteen Gazette of India PDFs from egazette.gov.in, from 2010 to 2026, came in five kinds. Eight hold English only. Five carry their Hindi in Unicode, so it copies out as Hindi and ordinary PDF to Word handles them. One, from 2022, is typed in Kruti Dev, and copying from it gives lines like jSad dks fu;ekuqlkj. One, from 2013, sets its Hindi in a font called Devnagari-ChanakyaNormalA, which no table here reads yet. And one, from 2010, is a scan with no text at all.
The upload on this page takes a Unicode notification and a Kruti Dev one alike: the first goes through the ordinary conversion, and the second is read through the Kruti Dev table. The analyser says which kind you have before you convert.
The curly-quote letters
Kruti Dev types श and ष on the keys that type quotation marks in English, and Word turns quotation marks into curly ones as they are typed. So a notice typed in Word stores श and ष at the codes of curly quotes: the ” in the sample is the श of संशोधित. Read as typed keys those codes are only quotation marks, and the letter is lost. The converter knows which letters the font draws at those codes, and which Kruti Dev build puts which letter there, and reads them back.
Measured
The 2022 issue is 103 pages, its Hindi mostly lists of army ranks, names and dates. Converted, it holds 12,987 words, and 86.7% of them are in Tesseract’s Hindi or Devanagari word lists; the rest are largely names, ranks and abbreviations such as आई सी and ब्रिग, which are right. Four sign sequences no Hindi word holds are left, in names typed unusually, such as रॅाय. The line above was checked against the printed page. A second notice, the one that first showed which Kruti Dev build the Gazette uses, reads 392 of its 406 words as an independent decoder does.
The Gazette is one of fourteen Kruti Dev PDFs measured in all, with 19,885 words at 88.0% in the lists; the Kruti Dev PDF to Word page has the rest.
Where it still goes wrong
Names are read letter by letter as typed, so a name typed with the wrong key stays wrong. English abbreviations typed in Hindi letters stay in Hindi letters. The Gazette’s ruled tables of names, ranks and dates come back as Word tables, cell by cell; check a column of names or dates against the original before relying on it. A notification scanned rather than typed has no codes, and needs OCR.