Tehreer/Tehreer-Android

Script analysis in typesetting process

mta452 opened this issue · 1 comments

Currently, it is assumed that a right-to-left run has Arabic script while a left-to-right run has Latin script. Only these two scripts are passed to open type shaping engine, which can produce unexpected glyphs. It is true that the underlying SheenFigure library does not support many scripts, but typesetter should pass the correct script tags and let the underlying engine handle the fallback mechanism.

This issue effectively dependent on #3 .

Resolved in v2.2