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

support for color glyphs #21

Closed ks32 closed 3 years ago

ks32 commented 4 years ago

It should support color glyphs. CPAL/COLR opentype tables. Best solution will be to use harfbuzz for rendering.

mta452 commented 4 years ago

Can you please make a fork of the project with harfbuzz support? I believe only JNI methods of 'ShapingEngine' and 'ShapingResult' would need to be implemented. I'll take a look at the 'CPAL' and 'COLR' tables and find out ways to support these. If you have a font that contains these tables, please share that as well for testing purposes.

ks32 commented 3 years ago

here is the color font link: https://www.amirifont.org/AmiriQuranColored.otf https://www.amirifont.org/fatiha-colored.html

mta452 commented 3 years ago

I have added experimental support for color glyphs in dev_color branch. Let me know your review.

mta452 commented 3 years ago

The support color glyphs has been added in v2.5