Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Arabic letters not connecting
Arabic letters not connecting
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
mishmish
Red Pill


Joined: Oct 01, 2009
Posts: 9

PostPosted: Sun Jul 25, 2010 2:39 pm    Post subject: Arabic letters not connecting

Greetings! It seems as though my Arabic letters have decided to stop connecting to one another-- problem is, it seems very haphazard. Sometimes they connect, sometimes they don't-- sometimes the non-connection is egregious, sometimes it isn't.

I have attached a file with examples highlighted. I am a teacher, so I have to be precise in my typing-- can anyone help?

I am on a MacBook Pro 2.6 GHz 4GB Intel Core 2 Duo, Mac OSX 10.6.4, running NeoOffice 3.1.1. Patch 1.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jul 25, 2010 2:55 pm    Post subject:

What I think is happening is that the NeoOffice code or its underlying OpenOffice.org code are widening the space allocated for some of the Arabic characters. Since Arabic characters need to be drawn right next to each other to make them appear "connected", a widening of space allocated to a character will leave a gap after the character.

I will investigate this further and see I can fix this problem. When I have a fix (hopefully in the next few days), I will post a test patch with the fix for you try.

Patrick
Back to top
mishmish
Red Pill


Joined: Oct 01, 2009
Posts: 9

PostPosted: Sun Jul 25, 2010 2:59 pm    Post subject:

Thanks so much for looking into this. My fingers are crossed!
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jul 25, 2010 4:47 pm    Post subject:

I have some more information. The problem is occurring only with the Geeza Pro font on Mac OS X 10.6.x Snow Leopard. This problem does not occur with other Arabic fonts or with the Geeza Pro font on Mac OS X 10.4.11.

While you may think you are using the Tahoma font, you are actually using the Geeza Pro font for Arabic characters. The reason is that many fonts made for Western European languages like Tahoma, Times New Roman, etc. do not support other languages like Arabic, Chinese, or Japanese so NeoOffice uses the Geeza Pro font as a "fallback font".

While I still need to find out why Snow Leopard's Geeza Pro font is not rendering like earlier versions of Mac OS X, there is a workaround that you can use: set your Arabic text to use the Nadeem, Baghdad, or Al Bayan,fonts as those fonts support Arabic characters and, as a result, will not have this problem.

Patrick
Back to top
mishmish
Red Pill


Joined: Oct 01, 2009
Posts: 9

PostPosted: Sun Jul 25, 2010 5:34 pm    Post subject:

Changing the font definitely worked, so I'll just run with that for now. It's strange that something so minor went hinky during the shift from 10.4 to 10.6. I puzzled over this for weeks before contacting you, but I never once thought to do something like change the font! (Obvi...)

Good luck figuring out the rest of the puzzle! Wink
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Sun Jul 25, 2010 5:44 pm    Post subject:

I have submitted bug 3621 to track this issue.

Fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jul 29, 2010 7:00 pm    Post subject:

I think that I have fixed this bug. Interestingly, I found that on Snow Leopard the Arabic vowel marks are assigned a negative width so I changed the NeoOffice code to handle such cases.

Can you install the following test patch and tell us if the bug is fixed for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.1-Patch-1-Test-17-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.1-Patch-1-Test-17-PowerPC.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Aug 09, 2010 1:54 pm    Post subject:

FYI. I have included the fix in NeoOffice 3.1.1 Patch 2. The patch can be downloaded from the NeoOffice patch download page.

Patrick
Back to top
mishmish
Red Pill


Joined: Oct 01, 2009
Posts: 9

PostPosted: Wed Sep 01, 2010 10:29 am    Post subject:

Hi Patrick,

Sorry for the delay in responding-- school was out and I had some scuba diving to do! Very Happy I've since DL'ed and installed the new patch, and so far everything seems to be working great. Many thanks for your help yet again... I push NeoOffice with my students because it is, IMHO, the best program for working with Arabic. And it's all thanks to you!


ألف شكر

(A thousand thanks!)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Sep 07, 2010 10:28 am    Post subject:

FYI. The fix for this bug has been included in NeoOffice 3.1.2 which can download it from the NeoOffice download page.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.