<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by KovaPDF on Medium]]></title>
        <description><![CDATA[Stories by KovaPDF on Medium]]></description>
        <link>https://medium.com/@kovapdf?source=rss-45124e3d6361------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*21lWg55UtTJzEeFNT-x2OA.png</url>
            <title>Stories by KovaPDF on Medium</title>
            <link>https://medium.com/@kovapdf?source=rss-45124e3d6361------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 22:37:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kovapdf/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why text copied from some Bangla and Hindi PDFs comes out scrambled, and a 10 second test]]></title>
            <link>https://medium.com/@kovapdf/why-text-copied-from-some-bangla-and-hindi-pdfs-comes-out-scrambled-and-a-10-second-test-b4ace366b349?source=rss-45124e3d6361------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4ace366b349</guid>
            <category><![CDATA[accessibility]]></category>
            <category><![CDATA[unicode]]></category>
            <category><![CDATA[pdf]]></category>
            <dc:creator><![CDATA[KovaPDF]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 13:46:31 GMT</pubDate>
            <atom:updated>2026-11-18T15:14:06.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0paMK96n90PpIOvF.png" /></figure><p>You open a PDF in Bangla or Hindi. It looks perfect on screen. You copy one line, paste it into a chat or a search box, and get something like this:</p><pre>On the page: নমুনা প্রতিষ্ঠান লিমিটেড After copying: নীমু নী প্র থিষ্ঠা নী থিথিমু টেড</pre><p>Same file, same line. The page is fine, the text behind the page is not. This post explains why that happens, how to test any PDF in about ten seconds, and what to do about it as the person who makes the PDF and as the person who receives it.</p><h3>A PDF stores two things: the picture and the meaning</h3><p>When a PDF draws a word, it does not store letters the way a Word file does. It stores <strong>glyph numbers</strong>: “draw shape 412 of this font here, then shape 87 there”. That is enough to paint the page.</p><p>To get text back out (copy, search, screen readers, translation, AI summaries, PDF to Word), a reader needs a second piece of information: which Unicode characters each shape stands for. That map usually lives in the font’s ToUnicode table inside the PDF.</p><p>For English this is easy. One letter, one shape, left to right.</p><p>For Bengali, Devanagari and other Indic scripts it is not:</p><ul><li><strong>Vowel signs are drawn in a different place from where they are typed.</strong> In কি the vowel sign ি is typed after ক but drawn to its left.</li><li><strong>Conjuncts become one shape.</strong> ক্ষ or ন্ত is typed as three characters but drawn as a single glyph.</li><li><strong>Some shapes have no single character at all.</strong> A half form or a reph is a piece of a cluster, not a letter on its own.</li></ul><p>The font engine that made the PDF knew all of this when it drew the page. If it did not write a correct map back into the file, the meaning is lost, even though the picture is perfect.</p><h3>What goes wrong, in the order you will usually see it</h3><ol><li><strong>Visual order instead of typed order.</strong> The reader takes shapes left to right, so ি comes out before the consonant it belongs to: কিছু becomes িকছু.</li><li><strong>Conjuncts with no map.</strong> The single shape for a conjunct maps to nothing, so letters vanish, or to one wrong letter.</li><li><strong>A wrong map.</strong> The shapes map to other characters altogether. That is the example at the top: every reader gets the same wrong text, because the wrong text is what the file says.</li><li><strong>Old non-Unicode fonts.</strong> Some documents were typed with fonts that put Bangla or Hindi shapes on Latin keyboard codes. The text inside is Latin letters that only look right in that one font.</li></ol><p>None of these show on screen. All of them break copy, Ctrl+F, screen readers and every tool that reads the text.</p><h3>The 10 second test</h3><p>You do not need special software for a first check.</p><ol><li>Open the PDF in any viewer.</li><li>Select one full line that has a few joined letters in it and copy it.</li><li>Paste it into a plain text box (Notepad, a chat, a search bar) and compare it with the page.</li></ol><p>If the pasted text matches, the text layer is healthy. If vowel signs jump to the start of words, letters are missing, or you see odd Latin letters inside Bengali or Hindi words, the text layer is broken.</p><p>Two more signs you can see without copying anything:</p><ul><li><strong>Ctrl+F cannot find a word you can see on the page.</strong></li><li><strong>A screen reader reads nonsense</strong> or skips the line.</li></ul><p>If you prefer the command line, Poppler’s pdftotext shows the same thing for a whole page:</p><pre>pdftotext -f 1 -l 1 -layout letter.pdf -</pre><p>Compare the output with the page. Try two different readers (for example pdftotext and the copy in your browser&#39;s PDF viewer). If both give the same wrong text, the fault is in the file, not in the reader.</p><h3>If you make the PDF</h3><ul><li><strong>Export with a Unicode font that has proper shaping data</strong> (for example Noto Sans Bengali, Noto Sans Devanagari, Nirmala UI, Mangal, Vrinda), not an old non-Unicode font.</li><li><strong>Use the program’s own Export or Save as PDF</strong> rather than printing to a PDF printer driver. A print driver only sees shapes; it often has no idea which characters they came from.</li><li><strong>Ask for PDF/A-2u or PDF/A-3u if your program offers it.</strong> The “u” level requires every character in the file to map to Unicode. It does not guarantee a perfect result for every font, but it makes the program try, and it is a clear thing to ask a supplier or a print shop for.</li><li><strong>Run the 10 second test before you send the file.</strong> It catches the problem while you can still fix the source.</li></ul><h3>If you receive the PDF</h3><p>You cannot repair a wrong map from the outside with certainty, because the file itself carries the wrong meaning. What works:</p><ul><li><strong>Ask the sender for the original document</strong> (Word, Google Docs) or a fresh export.</li><li><strong>Read the page from its picture instead of its text layer.</strong> Text recognition (OCR) looks at the shapes the way you do, so it does not care how broken the hidden text is. Clean digital pages are sharper than any scan, so good Bangla and Hindi OCR usually reads them well.</li></ul><p>One quick way to do the second step: take a screenshot of the page and run it through an image to text tool. We built one into KovaPDF ( <a href="https://www.kovapdf.com/image-to-text">Image to Text</a>) and tried it on the letter from the top of this post: the Bangla came back almost word for word, with only a couple of small slips in joined letters, where copying the text layer gave the scrambled line above. Any OCR you trust will do the same job; check names and numbers either way.</p><h3>Why this matters more than it seems</h3><p>A broken text layer is invisible to the person who made the file and to anyone who only reads it on screen. It shows up later: an applicant whose name cannot be found by search, an office notice a screen reader cannot read, a contract that an AI summary or a translation tool turns into nonsense. Ten seconds of copy and paste before sending is a cheap way to avoid all of that.</p><p>If you have a PDF where even OCR struggles, or a tool that handles this well, I would like to hear about it in the comments.</p><p><em>Originally published at </em><a href="https://dev.to/kovapdf/why-text-copied-from-some-bangla-and-hindi-pdfs-comes-out-scrambled-and-a-10-second-test-4dl0"><em>https://dev.to</em></a><em> on November 18, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4ace366b349" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[That white box in your edited PDF is still hiding the old text]]></title>
            <link>https://medium.com/@kovapdf/that-white-box-in-your-edited-pdf-is-still-hiding-the-old-text-9e833b6b68c5?source=rss-45124e3d6361------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e833b6b68c5</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[pdf]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[KovaPDF]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 10:42:42 GMT</pubDate>
            <atom:updated>2026-11-07T10:42:42.067Z</atom:updated>
            <content:encoded><![CDATA[<p>You need to change one date in a proposal. Small job. You open the PDF in an online editor, click the date, type the new one and download the file. On your screen it looks fine. Then someone opens it on a page with a tinted header and sees a pale rectangle sitting on the line, like correction tape.</p><p>That rectangle is how a lot of PDF editors work. They don’t change the words. They paint a box over the old ones and write the new words on top.</p><h4>Why editors do it this way</h4><p>A PDF is not a word document. Each line of text is a set of characters placed at exact positions and drawn with a font that is often only partly embedded, just the letters the document already used. If you type a letter that was never in the file, that font has nothing to draw it with. Covering the old text and writing the new text in a standard font is the easy way around it.</p><h4>What the box leaves behind</h4><p>The old words are still in the file. Select the area and copy it, or search for the old date, and you will often find it. If you were changing a price, a name or an account number, the old one is still there for anyone who looks.</p><p>The box shows on anything that isn’t plain white: a coloured header, a photo, a watermark, a scanned page. And the new words usually come out in a different font, so the line looks slightly off even when the box is hard to see.</p><h4>A quick test for any editor</h4><p>Change one word on a page with a coloured background and save. Open the saved file, not the preview, and search for the word you replaced. If the search still finds it, the editor covered the word instead of changing it.</p><h4>What a real edit should do</h4><p>Take the old characters out of the page itself, then write the new ones with the document’s own font where it can, so the size, spacing and colour match the rest of the line. Pictures and watermarks behind the text should stay exactly as they were, and the text should still be searchable afterwards.</p><p>That is the editor we have been building at KovaPDF, because the correction tape look kept bothering us. You can run the test above on it at <a href="https://www.kovapdf.com/edit-pdf">kovapdf.com</a>. And if you know another editor that already does this well, tell us in the comments. We would like to see it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e833b6b68c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>