| Summary: | Bidi3.2: Text inside Geoshapes diagram objects is not shaped nor ordered. | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ahmed Farrag <afarrag> | ||||||||||||
| Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> | ||||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||||
| Severity: | critical | ||||||||||||||
| Priority: | P3 | CC: | aboualy, camle, eclipse.felipe, fuse, grant_gayed, kitlo, Lina.Kemmel, mfadl, snorthov, steven.wasleski, steveshaw | ||||||||||||
| Version: | 3.2 | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Hardware: | PC | ||||||||||||||
| OS: | Linux-GTK | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Ahmed Farrag
Created attachment 37711 [details]
fig1
Created attachment 37712 [details]
fig2
would you please confirm that you can write arabic and it is displayed correctly in the "Text Editor" application found in Utilities/Editor (In reply to comment #3) > would you please confirm that you can write arabic and it is displayed > correctly in the "Text Editor" application found in Utilities/Editor Or any Text editor One more question; Was the text displayed correctly during editing then the problem shows up after you hit enter? (In reply to comment #4) > (In reply to comment #3) Mohammed, I can write arabic in text editors without any problem, and it is displayed correctly. (In reply to comment #5) > One more question; > Was the text displayed correctly during editing then the problem shows up after > you hit enter? Yes, the text was displayed correctly during editing then the problem came up after hitting the enter button accidently assigned to myself The problem seems to be related to the Advanced Graphics support on SWT. I tried to turn off the advanced graphics flag programatically and i got the Arabic text displayed correctly on RHL4 + GTK + Cairo Lib 2.0 . we need to retest this use case again on M6 with the Anti Aliasing flag turned of if this fix the problem then the defect severty should not be Critical any more. I'll be contacting the SWT team to see what do they think about this issue and the possibilty of having a solution for it. On my RHEL4 Japanese locale, entered DBCS isn't displayed with default font "Sans". Before entering DBCS text, changing to "Kochi Gothic" font that is Japanese TrueType font links to the "Sans" seems to solve my issue. Did you ever try to change the font? Created attachment 38413 [details]
testing the advanced graphics
Actually if teh string had BIDI text in it and teh advanced graphics is used nothing show up on the screen. if the advanced graphics is not used it works fine Code to reproduce the problem using SWT only is provided by Felipe Heidrich. This looks like SWT problem (In reply to comment #10) >I tried to change the font but nothing changed, moreover, when trying to use some fonts as "Courier" and hitting the enter button, the whole text disappears. (In reply to comment #13) > (In reply to comment #10) > >I tried to change the font but nothing changed, moreover, when trying to use some fonts as "Courier" and hitting the enter button, the whole text disappears. This is similar to what i see on my machine, but i do not even neeed to change the font. If i just use english text every thing works fine; but if i use Bidi every thing disappear. Turnning off advanced graphics in GMF will be possible in M6 by turnning off the Anti Aliasing feture from the preferences. still working with the SWT team to find a better solution Image attached to show the result i get after i turn off advanced graphics Created attachment 38507 [details]
diagram with advanced graphics OFF
Felipe suggested that may be updating the Cairo lib will help it can be downloaded from from : ftp://ftp.gtk.org/pub/gtk/v2.8/dependencies/ based on the last discussion i had with Felip, i'll change the component on this bugizlla to SWT *** This bug has been marked as a duplicate of 136472 *** Keeping as a seperate bug as it is very critical defect. Is this a duplicate of bug 136472? If so then it should be marked as such, since the active discussion about this issue, including patches that address the problem, are over there. Ahmed, if this bug really is a duplicate of bug 136472, it does not make any sense to reopen it. Felipe and Grant, if you are certain this is a dup of bug 136472, please re-resolve it as such. (In reply to comment #20) Steven, this defect is very critical as mentioned above, it should be fixed in R3.2 . We can't exit testing with these critical bugs unresolved. Ahmed, are you able to apply the patch from bug 136472 and verify if it fixes this problem? Let me know if you need help. Please, refer to the eclipse 3.2 end game plan, the process to include a fix in the build is really hard at this point. this a duplicate. we are tracking this issue on Bug 136472, which you are already on. Please don't reopen this unless this is different issue. *** This bug has been marked as a duplicate of 136472 *** (In reply to comment #22) Felipe, The geoshape diagrams now display Arabic characters properly (correctly shaped and ordered) without any corruption using eclipse RC7 build and without applying the patch (see the attached figure). I will install this patch to see whether it would resolve other defects that depends on bug# 136472, and keep you up-to-date. This bug has been fixed, verified on RC7 build. Created attachment 43870 [details]
screenshot showing Arabic characters correctly displayed inside geoshape diagrams
I guess this problem should not depend on bug# 136472 This bug has been fixed. Verified on eclipse RC7 build. Closing... |