Why Bangla text breaks in a PDF, and how to keep it right

Nasir Uddin ShamimFounder, BanglaCodes.Com

9 September 2026 · 6 min read · PDF, Bangla

Updated: 30 September 2026

The short answer

Why do Bangla letters break or show empty boxes when I make a PDF, and what is the fix?

Most PDF libraries place text one character at a time and do not know the rules for arranging Bangla conjuncts and vowel signs, so "ক্ত" breaks or empty boxes appear. The fix is to let the browser arrange it. A PDF from the browser's print keeps the spelling right, and the text can still be selected. Drawing it on a canvas as a picture keeps the spelling too, but then the text cannot be selected.

Recognising the problem

You made an invoice or a CV in Bangla and turned it into a PDF. You open it and "ক্ত" has become "ক" and "ত", the "ৈ" sign has moved onto the wrong letter, and in places there are just empty boxes.

This is not your mistake, and changing the font does not always fix it. The reason goes a little deeper.

Why it breaks

English is simple: each letter sits next to the last one, one after another.

Bangla is not like that. "ক্ত" is one shape made from three codes. A vowel sign is written before the letter but pronounced after it, and some signs sit above or below the letter.

This arranging job has a name, and browsers are very good at it. But most PDF libraries are not. They lay the codes down one after another. The result: broken letters.

And if the font has no Bangla in it, you get empty boxes instead of letters.

The fix that works

Let the browser do the job, because nothing arranges Bangla better. There are two ways to do that.

The first way, the browser's print. The page is laid out at A4 and saved with "Save as PDF" from the browser's print. The browser places the Bangla in the PDF exactly as it arranges it on screen. Correct spelling, correct conjuncts, and the text stays text: you can select it and search inside it.

The second way, drawn on a canvas as a picture. The text is drawn on a canvas first, where the browser arranges the Bangla by its own rules, then that drawn result is placed in the PDF as an image. The spelling stays right here too.

The "Download PDF" button on a CV, invoice, notice or book made here uses the first way. So does the "PDF / Print" button on a chat answer: notes, a letter or a table all come out as a text PDF, tables and headings kept. The second way is for things that are pictures to begin with, such as a poster.

The price of the picture way

We should be honest, because the second way has a cost.

Since the text is placed as an image, you cannot select that text with the mouse in the PDF, and you cannot search inside it.

For things to look at and print this is not a problem: posters, invitation cards, certificates.

But in one place it is a problem, and that is a CV. For job applications, many organisations read CVs with software, and they cannot read text that is stuck as an image.

So a CV always goes the first way, so the text stays real text. Which CV needs which layout is written up in How to write a CV.

An easy way to check for yourself

Open the PDF and try to select your own name with the mouse.

If it selects, it is real text. If not, it is an image.

Both are fine. You just have to choose by the job.

Two things to avoid

Some popular tricks do not work well for Bangla, and they are not used here.

The older tricks that turn the whole page into an image. They try to copy-draw the page inside a hidden frame, and in the safe sandbox of a preview this is blocked for security reasons, so the download never happens.

Trying to have an image-making AI write the Bangla text. Image models are still weak at Bangla conjuncts, so on a poster or card the rule is to put the Bangla text on top, not draw it inside the image.

Other files

Besides PDF, these can also be downloaded:

FileUseful for
.pptx slidesClass or office presentations
PNG imagePosters, logos, charts
GIFShort animations
CSVAccounts, lists, to open in Excel

A small but important point about Bangla CSV: for Excel to show Bangla properly, the file needs a special mark at the start. Without it, opening in Excel puts strange characters where the names should be. The CSVs made here include it, so the file opens directly.

Questions and answers

Will changing the font fix the problem? Sometimes, but not reliably. The font must have Bangla in it, but the real problem is not the font, it is the rules for arranging letters. So the route of letting the browser do the arranging is the one to trust.

Why can't I select the text in the PDF? Because that PDF was made the second way, with the text placed as an image. On a poster or card that is not a problem. For a CV, make the PDF again from the browser's print, and the text will select.

Does Bangla stay correct if I make a PDF from Word? Usually it does, because Word can arrange Bangla itself. The problem mainly comes when a web page or an app makes the PDF with its own code instead of the browser's print.

Is this PDF fine for printing? Yes. A PDF made the print way prints as sharp as any text. Text placed as an image prints well too, as long as the image quality is good enough. Before printing cards or certificates, print one sample and look at it.

Will the PDF download on a mobile phone? Yes. A download always starts only after you tap your button, never by itself. On some phones the file goes to the "Downloads" folder, and the browser may ask for permission once.

Why does Bangla CSV look broken in Excel? Without a special mark at the start of the file, Excel guesses and gets it wrong. The CSVs made here include it. If a file from somewhere else has the problem, choose UTF-8 when you import it into Excel.

Will Bangla text inside an image never work? Not with an image-making AI. But the text can be placed separately on top of the image, and then the spelling stays in your control. This is how posters and cards are done.

Does the phone get stuck when I make a big PDF? A PDF with many pages takes time to make on a phone, because every page has to be drawn. For a very large document it is better to make it on a computer, and another way is to split it up instead of making everything at once.

In short

  • Bangla breaks because PDF libraries do not know how to arrange conjuncts
  • The fix: let the browser do the arranging, through its print or by drawing on a canvas
  • The print way keeps text you can select; the picture way does not
  • CVs, invoices and the chat's "PDF / Print" button made here use the print way
  • An ATS CV needs real text, so a CV always goes the print way
  • To check: open the PDF and try to select your own name
  • For Bangla CSV, Excel needs a special mark at the start