aliftype / reem-kufi

Reem Kufi (كوفي ريم) is a modern kufic typeface
SIL Open Font License 1.1
82 stars 11 forks source link

Support Arabic Presentation Forms #23

Closed ashrafkamel5 closed 3 years ago

ashrafkamel5 commented 3 years ago

I have a problem trying to use your font Reem-Kufi, It's an Embedded project in C. and I am converting the .ttf font file to .c file using an online converter. The problem is that I can't find the Arabic Presentation Forms-B Unicode ranges "0xFE70-0xFEFF" In the .ttf file. This is the range responsible for the different writings of the Arabic letters. so I am only able to write individual letters " أ ه ل ا" not a whole word "أهلا" when checking the font.ttf at fontdrop website. it shows the glyphs but with Unicode none.

image

where the individual letters have a valid Unicode ranged 0x0600-0x06FF.

image

The thing is that all of the online websites are able to recognize the font despite that.

image

all of the screenshots are from the FontDrop website mentioned earlier. So how does this work?

khaledhosny commented 3 years ago

The font requires an OpenType layout engine, it can’t be used without one.

ashrafkamel5 commented 3 years ago

Mmmmmm, can you just provide a .ttf version with the lost unicode ranges covered? I am really keen on using this font in my project. really loved it. It is very beautiful. <3
or can I do this by myself if you are busy at the moment? could you show me how?

khaledhosny commented 3 years ago

It requires a quite bit of work and basically restructuring the whole font since it isn't just about missing presentation forms code points.

ashrafkamel5 commented 3 years ago

😥😥😥😥😥😥😥😥😥 Thanks.

ashrafkamel5 commented 3 years ago

Just keep an intention for such addition if you had the chance to add something new. I will keep an eye on the project tho.

khaledhosny commented 3 years ago

This is unlikely to happen by me, sorry. Almost all my fonts require an OpenType layout engine, legacy systems depending on the legacy presentation forms is not something I intend to ever support, since they give the illusion of supporting Arabic while giving a far inferior experience compared to non-legacy systems that support OpenType.

ashrafkamel5 commented 3 years ago

ok, thanks for the elaboration, It is just the embedded systems field that is just kicking in the whole GUI era. limited hardware resources and so. Many thanks for your concern. ❤

khaledhosny commented 3 years ago

I understand the limitation, but I also don’t support compromising Arabic support in the name of limited resources, not in 2020 anyway. Such systems also don’t support many more languages and writing systems that can’t be hacked with things like presentation forms (e.g. many Indic and South Asian languages) and better invest in integrating a real layout engine like HarfBuzz.

ashrafkamel5 commented 3 years ago

Thanks god. I did it usingFongForge here is the .woff file the .ttf has a problem I am too inexperience to understand ReemKufi-Regular.zip