Question

Basically,this is a problem of displaying a minority language.

Let me make it brief:

  1. I've been trying to make my Opentype font(which has some features in it) work properly on non-windows(on windows, it works fine) platforms(Android ,iOS etc.).

  2. What I'm truly dealing with is a problem as complicated as displaying Arabic language(including glyph substitution,shaping etc.).

  3. I simply want to display the characters properly in my own software,because system wide support may be even more complicated for me to achieve.

  4. I checked out ICU, Pango, Harfbuzz... and finally decided to work on Pango. See Pango ScriptGallery.

So,here's the questions:

1.Can I use pango as a supportive module in my project to display that language? I tried to install Pango on ubuntu,came with no success.I'm pretty confused now because Pango is related to harfbuzz,cairo,freetype,fontconfig blabla when installing. 2.If can't, is there any other light-weight ways to achieve that ?

Any help will be appreciated .

Was it helpful?

Solution

Which programming language do you use or you should use?

As you question tags, you may have a look at this (the second code), just do a sudo apt-get install python-gtk2 for it, ref

A lightweight solution would be using HarfBuzz directly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top