http://bugs.winehq.org/show_bug.cgi?id=21036
Summary: UTF-8 Font Problem Product: Wine Version: 1.1.33 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: m.ghadam@gmail.com
Created an attachment (id=25232) --> (http://bugs.winehq.org/attachment.cgi?id=25232) Firefox does not show words correctly
Hi there,
We can not write any Arabic or Persian characters in Wine programs. I have installed Firefox Windows in Wine, then see that I can not write any word in arabic or persian language. Firefox in Wine do not display Arabic or Persian words correctly. The alphabets are seperate while they should be together. - I have tested it on Opera Windows in wine and the same problem occurs. - I have tested it on Opera Linux and Firefox Linux and everything was good. - I have installed the necessary fonts into /~/.wine/drive_c/windows/fonts/ folder. - I have installed the necessary fonts in KDE desktop. I think there is a problem that Wine can not view UTF-8 Languages such as Persian, Arabic.
Best Regards
http://bugs.winehq.org/show_bug.cgi?id=21036
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|UTF-8 Font Problem |Arabic Font Problem
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-16 07:54:48 --- Make sure that your locale is Arabic, that will make it possible to see Arabic characters. There are known problems with bidi support in Wine: bug 3992, bug 7150, bug 7182.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #2 from Mostafa m.ghadam@gmail.com 2009-12-16 08:34:13 --- (In reply to comment #1)
Make sure that your locale is Arabic, that will make it possible to see Arabic characters. There are known problems with bidi support in Wine: bug 3992, bug 7150, bug 7182.
I am sure that my locale is Persian. As you see in the picture, Both Firefox Linux version and Opera Linux Version show Persian Characters correctly. When I use the Windows Version of Firefox or Opera with Wine, They do not show the Characters correctly. I can not type any Persian Characters in this situtation while I can do it in linux version of the browsers.
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Arabic Font Problem |Persian Font Problem
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #3 from Austin English austinenglish@gmail.com 2009-12-16 11:25:00 --- Does 'wine notepad' work for you?
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #4 from Mostafa m.ghadam@gmail.com 2009-12-16 11:44:16 --- (In reply to comment #3)
Does 'wine notepad' work for you?
Notepad has the same problem. - Can not type any persian / arabic character. - does not show the words correctly. Notepad of my linux (Kwrite) has no problem with Persian / Arabic language and everything is good there.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-17 05:23:59 --- Please generate a log WINEDEBUG=+x11drv,+key,+keyboard,+event wine notepad &>persian_kbd.log compress it with 'bzip2 -9' and attach it here. Also a test with 'xev' would help you to debug this kind of problem.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #6 from Mostafa m.ghadam@gmail.com 2009-12-17 10:14:20 --- Created an attachment (id=25241) --> (http://bugs.winehq.org/attachment.cgi?id=25241) The Log of NotePad in wine when trying to type Persian
(In reply to comment #5)
Please generate a log WINEDEBUG=+x11drv,+key,+keyboard,+event wine notepad &>persian_kbd.log compress it with 'bzip2 -9' and attach it here. Also a test with 'xev' would help you to debug this kind of problem.
I have done your instructions and attached the log to this page.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #7 from Mostafa m.ghadam@gmail.com 2009-12-17 10:22:10 --- (From update of attachment 25241) This is a .tar.gz file. download and extract it.
http://bugs.winehq.org/show_bug.cgi?id=21036
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-17 23:39:32 ---
From the log:
trace:x11drv:open_xim Using C locale of Input Method
As expected you don't have an appropriate locale set. Please test if 'xev' works for you. Once it works, Wine should start working as well.
Feel free to reopen if xev shows correct results but Wine does not.
http://bugs.winehq.org/show_bug.cgi?id=21036
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-17 23:39:44 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-17 23:41:45 --- Also make sure that you are using fonts with Persian glyphs present, Wine built-in fonts don't have Persian (and many others) characters.
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25232|0 |1 is obsolete| |
--- Comment #11 from Mostafa m.ghadam@gmail.com 2009-12-18 08:09:39 --- Created an attachment (id=25250) --> (http://bugs.winehq.org/attachment.cgi?id=25250) We can write Persian But Wine do not show charachters correctly
(In reply to comment #10)
Also make sure that you are using fonts with Persian glyphs present, Wine built-in fonts don't have Persian (and many others) characters.
Yes, you are right. I have searched about localization in debian and localized it. Now I can write persian. Then Installed persian fonts in debian and make them as default system fonts. After that installed the fonts to c:\windows\Fonts folder. But wine do not show words correctly. All alphabets of words are seperate from eachone while most of them should stick together. Firefox of linux have not this problem. Please see the attachet PNG File. I have attached a log file of wine debug this situation to this bug. WINEDEBUG=+x11drv,+key,+keyboard,+event wine notepad &>persian_kbd_write_ok_show_not_ok.log
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #12 from Mostafa m.ghadam@gmail.com 2009-12-18 08:10:43 --- See previous comment.
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25232|1 |0 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25241|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=21036
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-19 02:13:50 --- (In reply to comment #11)
Please see the attachet PNG File.
There is no one.
I have attached a log file of wine debug this situation to this bug. WINEDEBUG=+x11drv,+key,+keyboard,+event wine notepad &>persian_kbd_write_ok_show_not_ok.log
From the log:
trace:x11drv:open_xim Using en_US.UTF-8 locale of Input Method
You are still using wrong locale. Please try to figure out that on your own before reopening the bug. As I said 'xev' is your tool for that.
http://bugs.winehq.org/show_bug.cgi?id=21036
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-19 02:14:02 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #15 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-19 02:16:06 ---
But wine do not show words correctly. All alphabets of words are seperate from eachone while most of them should stick together.
That's reported in other bugs I referenced in the Comment #1.
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25250|0 |1 is obsolete| |
--- Comment #16 from Mostafa m.ghadam@gmail.com 2009-12-19 13:01:48 --- Created an attachment (id=25282) --> (http://bugs.winehq.org/attachment.cgi?id=25282) Persian Input Log #3 fa_IR is locale now
(In reply to comment #13)
(In reply to comment #11)
Please see the attachet PNG File.
There is no one.
I have attached a log file of wine debug this situation to this bug. WINEDEBUG=+x11drv,+key,+keyboard,+event wine notepad &>persian_kbd_write_ok_show_not_ok.log
From the log: trace:x11drv:open_xim Using en_US.UTF-8 locale of Input Method
You are still using wrong locale. Please try to figure out that on your own before reopening the bug. As I said 'xev' is your tool for that.
I have set the locale to "fa_IR" , Please see the attached log now. (I have compressed it in zipped format)
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #17 from Mostafa m.ghadam@gmail.com 2009-12-19 13:04:36 --- Created an attachment (id=25283) --> (http://bugs.winehq.org/attachment.cgi?id=25283) Persian Alphabets are seperate while they should stick together
(In reply to comment #15)
But wine do not show words correctly. All alphabets of words are seperate from eachone while most of them should stick together.
That's reported in other bugs I referenced in the Comment #1.
I have a similar problem. Can you see the attached Image? I have explained everything exactly in it. The locale is fa_IR, The Font is Tahoma and it supports Persian (Farsi of IRAN) perfectly. Is there any solutions?
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #18 from Mostafa m.ghadam@gmail.com 2009-12-19 13:06:20 --- The problem is now showing alphabets of words stick together. See my last 2 comments.
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25283|0 |1 is obsolete| |
--- Comment #19 from Mostafa m.ghadam@gmail.com 2009-12-19 13:31:05 --- Created an attachment (id=25284) --> (http://bugs.winehq.org/attachment.cgi?id=25284) Persian Alphabets are seperate while they should stick together #2 fixed
(In reply to comment #17)
Created an attachment (id=25283)
--> (http://bugs.winehq.org/attachment.cgi?id=25283) [details]
Persian Alphabets are seperate while they should stick together
(In reply to comment #15)
But wine do not show words correctly. All alphabets of words are seperate from eachone while most of them should stick together.
That's reported in other bugs I referenced in the Comment #1.
I have a similar problem. Can you see the attached Image? I have explained everything exactly in it. The locale is fa_IR, The Font is Tahoma and it supports Persian (Farsi of IRAN) perfectly. Is there any solutions? See the New attachment. Attachment of comment #17 was not complete!
http://bugs.winehq.org/show_bug.cgi?id=21036
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net Component|-unknown |usp10
--- Comment #20 from Hans Leidekker hans@meelstraat.net 2009-12-19 15:19:15 --- Native usp10.dll works around the bug.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #21 from Mostafa m.ghadam@gmail.com 2009-12-19 22:50:52 --- (In reply to comment #20)
Native usp10.dll works around the bug.
I have copied my native usp10.dll , gdi32.dll, user32.dll from my windows with persian language to /root/.wine/drive_c/windows/system32/ but still have the problem and nothing has been changed. I still copied usp10.dll to firefox folder and it does not work too.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #22 from Hans Leidekker hans@meelstraat.net 2009-12-20 03:29:18 ---
I have copied my native usp10.dll , gdi32.dll, user32.dll from my windows with
Don't do that, just copy usp10.dll and set a native override with winecfg.
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #23 from Mostafa m.ghadam@gmail.com 2009-12-20 04:53:57 --- (In reply to comment #22)
I have copied my native usp10.dll , gdi32.dll, user32.dll from my windows with
Don't do that, just copy usp10.dll and set a native override with winecfg.
Hi there,
100% Fixed.
Thank you very much!
http://bugs.winehq.org/show_bug.cgi?id=21036
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |
--- Comment #24 from Jeff Zaroyko jeffz@jeffz.name 2009-12-20 04:59:57 --- Nothing is fixed, you're using a workaround.
http://bugs.winehq.org/show_bug.cgi?id=21036
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #25 from Aric Stewart aric@codeweavers.com 2010-05-13 13:45:52 --- I believe that wine's usp10 may be able to display Persian in the correct order. Shaping is not yet implemented.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #26 from Mostafa m.ghadam@gmail.com 2010-05-13 13:51:52 --- (In reply to comment #25)
I believe that wine's usp10 may be able to display Persian in the correct order. Shaping is not yet implemented.
I have tried it and persian texts are not shown correctly at all.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #27 from Aric Stewart aric@codeweavers.com 2011-05-17 08:12:43 CDT --- (In reply to comment #26)
(In reply to comment #25)
I believe that wine's usp10 may be able to display Persian in the correct order. Shaping is not yet implemented.
I have tried it and persian texts are not shown correctly at all.
Hello could you give me some example unicode strings that are not being shaped correctly and maybe some images to demonstrate the issue.
That will help me track down and correct the issues.
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #28 from Mostafa m.ghadam@gmail.com 2011-05-17 08:39:24 CDT --- Created an attachment (id=34751) --> (http://bugs.winehq.org/attachment.cgi?id=34751) Correct typing
This is a simple of correct typing , using linux KWrite
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #29 from Mostafa m.ghadam@gmail.com 2011-05-17 08:42:11 CDT --- Created an attachment (id=34752) --> (http://bugs.winehq.org/attachment.cgi?id=34752) Bad Typing !
(In reply to comment #27)
(In reply to comment #26)
(In reply to comment #25)
I believe that wine's usp10 may be able to display Persian in the correct order. Shaping is not yet implemented.
I have tried it and persian texts are not shown correctly at all.
Hello could you give me some example unicode strings that are not being shaped correctly and maybe some images to demonstrate the issue.
That will help me track down and correct the issues.
1- Download and install a windows program such as firefox : http://www.mozilla.com/en-US/firefox/new/
2- Install tahoma fonts on your linux : ----------------------------------------------------- mkdir -p cd /usr/share/fonts/persian-fonts cd /usr/share/fonts/persian-fonts wget http://vps5.in/files/tahoma.zip unzip fonts.zip rm -fr fonts.zip fc-cache -f -v -----------------------------------------------------
3- Install Persian ( Farsi : IR / FA ) keyboard input on your linux system.
4- I have attached some new files. It seems that in newer wine version The Persian characters input is not recognizing correctly ! I have typed many things on Notepad of wine ( or firefox ), but as you see just a few bat charachters have been typed . This is while the KWrite is working correctly !
Please first try to fix the input bug , then I will help to fix the shaping bug.
I am using wine-1.1.42 from your debian repo. Is there any newer version available on repo ?
http://bugs.winehq.org/show_bug.cgi?id=21036
--- Comment #30 from Aric Stewart aric@codeweavers.com 2011-05-17 08:53:40 CDT --- Unfortunately I am working on a Mac. I am not able to easily reproduce your input issues. I would recommend creating a new bug and putting that information there. I will take a look at it when I get a chance.
I would be able to reproduce your shaping issues. So if you attach a unicode txt document with the string that is not being shaped correctly I can look.
You should be able to save the document with kedit and then load it with notepad to look at it.
-aric
(In reply to comment #29)
Created an attachment (id=34752)
--> (http://bugs.winehq.org/attachment.cgi?id=34752) [details]
Bad Typing !
(In reply to comment #27)
(In reply to comment #26)
(In reply to comment #25)
I believe that wine's usp10 may be able to display Persian in the correct order. Shaping is not yet implemented.
I have tried it and persian texts are not shown correctly at all.
Hello could you give me some example unicode strings that are not being shaped correctly and maybe some images to demonstrate the issue.
That will help me track down and correct the issues.
1- Download and install a windows program such as firefox : http://www.mozilla.com/en-US/firefox/new/
2- Install tahoma fonts on your linux :
mkdir -p cd /usr/share/fonts/persian-fonts cd /usr/share/fonts/persian-fonts wget http://vps5.in/files/tahoma.zip unzip fonts.zip rm -fr fonts.zip fc-cache -f -v
3- Install Persian ( Farsi : IR / FA ) keyboard input on your linux system.
4- I have attached some new files. It seems that in newer wine version The Persian characters input is not recognizing correctly ! I have typed many things on Notepad of wine ( or firefox ), but as you see just a few bat charachters have been typed . This is while the KWrite is working correctly !
Please first try to fix the input bug , then I will help to fix the shaping bug.
I am using wine-1.1.42 from your debian repo. Is there any newer version available on repo ?
http://bugs.winehq.org/show_bug.cgi?id=21036
Mostafa m.ghadam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #31 from Mostafa m.ghadam@gmail.com 2011-06-06 23:37:18 CDT --- I have build the latest wine (1.3.21) and I see that the shaping problem has been fixed. Changes since 1.3.20: Aric Stewart (26): usp10: Determine glyph properties after shaping for Arabic. usp10: Add Arabic shaping test.
http://bugs.winehq.org/show_bug.cgi?id=21036
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2011-06-10 13:16:53 CDT --- Closing bugs fixed in 1.3.22.
https://bugs.winehq.org/show_bug.cgi?id=21036
Ali alimoghadam.fm.33@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alimoghadam.fm.33@gmail.com