Skip to content
Articles
Article

Bengali in a Flutter PDF needs HarfBuzz, not just a Unicode font

by Jehadur Rahman Emran dev.to

1 min read

Embedding a Bengali Unicode font in a PDF is not enough. Conjuncts and dependent vowel marks need OpenType GSUB/GPOS shaping. If you skip that step, the glyphs look wrong, and search or copy often break because the visual run no longer matches the logical Unicode. bengali_pdf is a Flutter library I built for that gap. It is a substantially reworked fork of zamansheikh/bangla_pdf, and the original…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by