Red Hat Bugzilla – Bug 126088
Arabic fonts are not displayed correctly under ooo
Last modified: 2007-11-30 17:10:44 EST
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):
Steps to Reproduce:
1. open owriter and choose an arabic font like KacstBook
2. start writing
characters get jammed
characters to be displayed correctly
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
which font/fonts are you using that display this behavior?
All arabic fonts that r shipped with fc2. KacstBook for example is one
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.
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
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
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:
cvs diff -r184.108.40.206 -r220.127.116.11.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:
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!