Description of problem: Arabic fonts in ooo are not displayed correctly. They get jammed. Also opening arabic documents has the same effect. Version-Release number of selected component (if applicable): 1.1.1-4 How reproducible: always Steps to Reproduce: 1. open owriter and choose an arabic font like KacstBook 2. start writing 3. Actual results: characters get jammed Expected results: characters to be displayed correctly Additional info:
Created attachment 101175 [details] Patch for better arabic support in ooo
Created attachment 101184 [details] modified spec file to solve the problem this is another solution to the bug using ur spec file
Owen, comments? This looks like more of a freetype issue. OOo uses the system freetype, not its internal one in our builds.
Doing that exact patch fixed it. You can get the SRPMs from here http://resala.linux-egypt.org/packages/freetype
which font/fonts are you using that display this behavior?
All arabic fonts that r shipped with fc2. KacstBook for example is one of them.
This is a real problem. After updating my freshly installed system, I can't even type Arabic in OOo! You can see how Arabic is dispalyed in Writer for example.
Created attachment 101263 [details] Screenshot showing Arabic displayed wrongly in OOo Writer
In Mandrake 10 I notice the same problem and downloading libfreetype6-2.1.7-4plf.i586.rpm fixed it. http://qa.mandrakesoft.com/show_bug.cgi?id=9664 I still can't understand the bug well. Disabling bytecode interpreter will affect the output at small point sizes so it not a solution at all. besides the Mandrake plf rpm contains this engine. I got lost.
*** Bug 126092 has been marked as a duplicate of this bug. ***
This bug is solved now. Check http://www.openoffice.org/issues/show_bug.cgi?id=32353 and http://www.openoffice.org/issues/show_bug.cgi?id=25565 for more details. The strange thing it turned out to be not related to libfreetype!! Still I wonder how come! You can test and verify yourself.
Munzir, it is related to libfreetype. As with the same version of OOo, the problem appeared in Fedora Core 2, and Mandrake, but did not appear in Debian. When I rebuild libfreetype RPM with the DEB patchset, the result was that the problem disapeared. So, I tend to believe it is related to Freetype.
For my reference: actual patch IZ is: http://www.openoffice.org/issues/show_bug.cgi?id=28567 --------- cvs diff -r1.46.10.6 -r1.46.10.6.8.1 source/gdi/salllayout.cxx --------- I'll try to get this patch into ooo-build and into a new 1.1.2 RPM quite soon. It should show up in 1.1.3 in any case.
Thanks for the pointer Munzir... For my reference: Patch is: http://gsl.openoffice.org/nonav/source/browse/gsl/vcl/source/gdi/sallayout.cxx?r2=1.46.10.6.8.1&r1=1.46.10.6&diff_format=c
Dan, made any use of the reference ??
yes, the patch will be in 1.1.2-5, which is ready-to-go, but blocked on a PPC gcc issue right now that causes the build to fail early on.
Please test with the openoffice.org-1.1.2-5 RPMs in Rawhide. If the problem persists with that version, please reopen this bug. Thanks!