Sinhala Typography & PDF Formatting Guide

How to Convert Sinhala Unicode to PDF Without Broken Letters

A comprehensive guide to preparing official letters, agreements, and notices in Sinhala Unicode and exporting them into clean, multi-page PDF documents without broken vowels or distorted characters.

The Challenge with Sinhala Unicode in PDF Files

Anyone who has tried generating PDF documents from Sinhala Unicode has encountered the dreaded "broken letter" syndrome: the kombuva (ෙ) appears after the consonant instead of before it, al-lakuna (්) floats disconnectedly, and conjunct characters like ශ්‍රී (Sri) or ඥ (Gna) decompose into separate unintelligible signs.

This happens because traditional PDF libraries treat text as simple left-to-right character sequences (like the Latin alphabet). But Sinhala is a complex Brahmic script that requires an OpenType layout engine to dynamically calculate glyph substitution and positioning rules.

How HANDIYA Solves Broken Sinhala Characters

HANDIYA uses your browser's native hardware-accelerated text rendering engine (DirectWrite on Windows, HarfBuzz on Android/Linux, CoreText on Apple) paired with high-quality Google Fonts (Noto Sans Sinhala and Gemunu Libre). This guarantees that every diacritic, ligature, and conjunct renders with 100% typographic accuracy before export.

Step-by-Step: Converting Sinhala Text to PDF

1. Type or Paste Sinhala Unicode Text

Use any standard Sinhala keyboard (Wijesekara, Singlish phonetic, or Google Input Tools). You can also click "සිංහල ආදර්ශය" to test an official pre-built document format.

2. Configure Page Margins and Paper Size

Choose between standard international A4 (210 × 297 mm) or US Letter (8.5 × 11 in). Adjust margins (Compact 10mm, Standard 15mm, or Spacious 25mm) depending on whether your document will be physically printed and filed.

3. Manage Multi-Page Breaks

The tool automatically flows paragraphs across pages. If you want a specific heading or section to start cleanly on a new sheet, simply click the "Page Break" button to insert a ---page--- marker.

4. Preview and Download Instant PDF

Examine your document on the live sheet preview with zoom controls. Click Download PDF to generate and save your document directly to your device.

Best Practices for Formal Sinhala Documents

  • Font Size: For formal correspondence, a font size between 14px and 16px provides optimal readability for printed Sinhala letters.
  • Line Spacing: Sinhala script features both upper signs (ඉස්පිල්ල, අල් ලකුණ) and lower signs (පාපිල්ල). Choosing Normal or Relaxed line spacing prevents ascenders and descenders from touching adjacent lines.
  • Document Titles: Enable the Header Title toggle so that official document titles appear neatly at the top of your pages alongside the current date.

Ready to Create Your Sinhala PDF Document?

Try HANDIYA's free, private, client-side Text to PDF Converter. No software installation, no broken characters, and 100% confidential.

How to Convert Sinhala Unicode to PDF Without Broken Letters | HANDIYA