I'm trying to implement Uniscribe for Linux to display complex text, such as Arabic. It seems a huge task to do.
What I need to do is to implement the APIs below:
- Check if the string is Complex.
- Get string width.
- Get next segment.
- Get next break.
- ...
I want to use/refer to open source code to do it.
I have read HarfBuzz
source code for weeks, but didn't get the APIs for them. Is it feasible to use ONLY HarfBuzz
to implement them?
It seems I should use Pango
, but I can't do it due to its license. Is there any substitution? MIT license is OK.
Is ICU
helpful to me?