INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: An overview of arabic script rendering  (Read 841 times)

89ZEF

  • Recent member
  • *
  • Posts: 40
An overview of arabic script rendering
« on: March 25, 2019, 07:13:55 pm »

I chose to delete the topic I made several weeks ago as it was a mess to understand. Here should be a simpler & cleaner explanation.
Also, this text is actually Persian but it should fix Arabic too as both use the Arabic script with very few variants.
Looking forward to doing some comparison for Japanese and Cyrillic script.


There is some lettering issue as well as spacing in MC for Arabic script, especially in Tag Editor.
OSX version seems to have the worst rendering.

I attached a comparison between Windows, Mac & Linux versions of MC as well as third parties like browsers & text editors.
On the right hand side, there is some help to make identifying errors easier.
Keep in mind that this script is written from right to left.

I added one sign for each render:
- Check sign: perfect rendering.
- Warning sign: perfect lettering but the space is at one end instead of between Latin and Arabic scripts.
- X sign: bad lettering (always in full form letters) + spacing
- XX sign: bad lettering + reversed (from left to right)

Sample text:
ضیاء (Zia)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71341
  • Where did I put my teeth?
Re: An overview of displaying arabic script
« Reply #1 on: March 25, 2019, 07:22:13 pm »

Thanks for posting again.  Don't give up until we've fixed the problems.
Logged

89ZEF

  • Recent member
  • *
  • Posts: 40
Re: An overview of displaying arabic script
« Reply #2 on: March 25, 2019, 07:25:33 pm »

Thanks for posting again.  Don't give up until we've fixed the problems.

Sure! Thanks for the encouraging words.
I felt like the issue description needed a rewrite because the previous one was so painful to read.
Hope it makes sense now :)
Logged

89ZEF

  • Recent member
  • *
  • Posts: 40
Re: An overview of arabic script rendering
« Reply #3 on: September 16, 2019, 05:26:20 am »

Bumping the thread ::)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41926
  • Shoes gone again!
Re: An overview of arabic script rendering
« Reply #4 on: September 18, 2019, 09:14:17 am »

Hi there.

I just wanted to confirm that our lists draw correctly, but it's just edit controls that are the problem?

There is a lot of right-to-left code in our text drawing engine.  So I'm assuming that's working.

In our edit control, there's a variable to try right-to-left, but it's commented out and says it still needs more work.

Thanks for letting me know.
Logged
Matt Ashland, JRiver Media Center

89ZEF

  • Recent member
  • *
  • Posts: 40
Re: An overview of arabic script rendering
« Reply #5 on: September 18, 2019, 09:51:53 am »

Hey Matt,

I'll be using your terms so we understand each other.

"the lists draw correctly"
right-to-left wise: yes, but there is another issue:
Letters are all "capitalized" (in full form) and they shouldn't be. (see example at the end of the post)

the edit control's right-to-left, as you mentioned, is not implemented yet.

sample text: ضیاء
lists drawing in MC:  ض ی ا ء (i just added spaces, you can play with the sample text in notepad or something to get what i'm saying).

Feel free to ask me if you got any questions
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41926
  • Shoes gone again!
Re: An overview of arabic script rendering
« Reply #6 on: September 20, 2019, 07:58:35 am »

"the lists draw correctly"
right-to-left wise: yes, but there is another issue:
Letters are all "capitalized" (in full form) and they shouldn't be. (see example at the end of the post)

We're pretty riddled by this one.  There should just be nothing capitalizing strings.

Could you give me a sample string that capitalizes?  And post how the capitalized version looks as well.

Thanks.
Logged
Matt Ashland, JRiver Media Center

89ZEF

  • Recent member
  • *
  • Posts: 40
Re: An overview of arabic script rendering
« Reply #7 on: September 20, 2019, 09:02:49 am »

Hey Matt,

Just a reminder about minding that "capitalized" is a poor chosen word to describe the full letter forms.

About the example, please refer to the image attached to the first post of this thread.
(2nd line, OSX example)

Thanks for your help
Logged
Pages: [1]   Go Up