Tehreer / Tehreer-Android

Standalone text engine for Android aimed to be free from platform limitations
Apache License 2.0
89 stars 16 forks source link

Script analysis in typesetting process #5

Closed mta452 closed 6 years ago

mta452 commented 6 years ago

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 .

mta452 commented 6 years ago

Resolved in v2.2