Basically,this is a problem of displaying a minority language.
Let me make it brief:
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.).
What I'm truly dealing with is a problem as complicated as displaying Arabic language(including glyph substitution,shaping etc.).
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.
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 .
来源:https://stackoverflow.com/questions/23360097/open-type-font-issue