Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect letters to form a phrase #7

Open
MeritEhab opened this issue Jun 20, 2018 · 2 comments
Open

Connect letters to form a phrase #7

MeritEhab opened this issue Jun 20, 2018 · 2 comments

Comments

@MeritEhab
Copy link

Hello,
I don't know which function should I use to simulate your example in the README

which function can convert
68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f77616c69642f696d6167652f75706c6f61642f76313432393138363534362f6265666f72655f7063796f68612e706e67

to
تجربة االنص العربي

@01walid
Copy link
Owner

01walid commented Jun 20, 2018

Hi,
I'm not sure what you mean by "connect letters to form a phrase" but I'm guessing you're talking about ligatures, if that's the case, you should use ToGlyph() function, it accepts an Arabic string and returns a new one.

Please note the returned new Arabic string is reversed, just to support primitive displays/renderings.

Any enhancements are welcome.

@MeritEhab
Copy link
Author

Hello Again,
Thanks a lot for your help,
About the reversed string I used the Reverse() function after the ToGlyph() and the text came out in the printing correct only that it's aligned to the left instead of the right

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants