golang/freetype

Devanagri fonts have a rendering sequence bug

sanyams opened this issue · 1 comments

I am using the library in a project to render text on an image, the font is Noto Deva (https://www.google.com/get/noto/#sans-deva).

Source text
hindi-source-text

Example of rendered text in Hindi
hindi-rendering-bug

You need a proper text layout engine like HarfBuzz to shape and position glyphs, then use freetype-go to rasterize/render them.