---
title: "Discussion on \"How I Solved the Indic Font “Tofu” Problem in Dockerized Headless Chromium\" | Hashnode"
description: "Discussion on \"How I Solved the Indic Font “Tofu” Problem in Dockerized Headless Chromium\". Bundling fonts for 21 Indian languages across 12 scripts with Fastify 5 and Puppeteer\nHtml2Pdf is officially live in production:\n\nLive Web App & Interactive Demo: html2pdf.akcraft.app\nOfficial TypeScr"
url: "https://hashnode.com/posts/how-i-solved-the-indic-font-tofu-problem-in-dockerized-headless-chromium/6ade246d111cdce683fdba70"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Solved the Indic Font “Tofu” Problem in Dockerized Headless Chromium](https://blogs.akashpal.dev/how-i-solved-the-indic-font-tofu-problem-in-dockerized-headless-chromium?utm_source=hashnode&utm_medium=feed)

Bundling fonts for 21 Indian languages across 12 scripts with Fastify 5 and Puppeteer Html2Pdf is officially live in production: Live Web App & Interactive Demo: html2pdf.akcraft.app Official TypeScr

Oct 25 · 5 min read · blogs.akashpal.dev  
Read the article

## Written by

[Akash Pal](https://hashnode.com/@Apj32)

@Apj32 · Mumbai

  
[View profile](https://hashnode.com/@Apj32)

## Responses 2

Markdown supported · ⌘↵ to post

[Crownforge](https://hashnode.com/@thecrownforge)

[Oct 25](https://hashnode.com/posts/how-i-solved-the-indic-font-tofu-problem-in-dockerized-headless-chromium/6ade246d111cdce683fdba70/comment/6ade6c89486f70d758312935)

One more thing for the sample PDF: try copying a sentence back out of it. Text can look right but still come out in the wrong order when copied, especially with mixed scripts.

[Akash Pal](https://hashnode.com/@Apj32)

[Oct 26](https://hashnode.com/posts/how-i-solved-the-indic-font-tofu-problem-in-dockerized-headless-chromium/6ade246d111cdce683fdba70/comment/6ade6c89486f70d758312935#reply-6adedbed13ecda772a3f8047)

Thanks for pointing this out! I’ll test copying text from the sample PDF, especially with mixed scripts, to verify that the text order is preserved correctly.
