http://bugs.winehq.org/show_bug.cgi?id=30163
Bug #: 30163 Summary: Wine 1.4 is not displaying Arabic language Correctly Product: Wine Version: 1.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: hannysabbagh@hotmail.com Classification: Unclassified
Created attachment 39357 --> http://bugs.winehq.org/attachment.cgi?id=39357 Screenshot-1
hello.
Wine 1.4 Final doesn't display Arabic language Correctly in GUI,it displays the Arabic letters as an unknown Characters, a screenshot is in attachments..and "locale" command output too..
any fix for that? thanks.
http://bugs.winehq.org/show_bug.cgi?id=30163
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39357|locale-output |locale-output.txt filename| | Attachment #39357|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=30163
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #1 from Jerome Leclanche adys.wh@gmail.com 2012-03-14 13:27:25 CDT --- You did not submit the screenshot
http://bugs.winehq.org/show_bug.cgi?id=30163
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39357|Screenshot-1 |output of $ locale description| |
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #2 from hannysabbagh hannysabbagh@hotmail.com 2012-03-14 15:12:40 CDT --- oh sorry: http://img04.arabsh.com/uploads/image/2012/03/14/0835474260fa.png
http://bugs.winehq.org/show_bug.cgi?id=30163
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #3 from Jerome Leclanche adys.wh@gmail.com 2012-03-14 15:18:56 CDT --- That is just.. wow.
CC aric
http://bugs.winehq.org/show_bug.cgi?id=30163
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine 1.4 is not displaying |Wine not displaying Arabic |Arabic language Correctly |language Correctly Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=30163
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine not displaying Arabic |Arabic is not displayed |language Correctly |correctly
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #4 from Aric Stewart aric@codeweavers.com 2012-06-05 07:25:43 CDT --- winecfg is working for me in Arabic.
It may be because you do not have a font or maybe wine is selecting the wrong font.
Could you generate a +font,+uniscribe log?
thanks! -aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #5 from hannysabbagh hannysabbagh@hotmail.com 2013-05-08 10:49:42 CDT --- hello and sorry for my long disconnect from this bug report..anyway this bug still there in the 1.4.1 in ubuntu 13.04.
Arci asked me to attach the +font and +uniscribe log, how can i do that? :) thanks.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-05-08 13:48:05 CDT --- Hi, first update to the latest development wine (currently 1.5.29). Read http://www.winehq.org/download/ubuntu
After that read http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #7 from hannysabbagh hannysabbagh@hotmail.com 2013-05-09 03:28:31 CDT --- Created attachment 44405 --> http://bugs.winehq.org/attachment.cgi?id=44405 +font,uniscribe-log
+font,uniscribe log.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #8 from hannysabbagh hannysabbagh@hotmail.com 2013-05-09 03:29:50 CDT --- thanks.
i uploaded them to the attachments.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2013-05-09 07:31:05 CDT --- I suspect you ran it wrong because there is no uniscribe stuff in your log. Did you ran as "+font,uniscribe"? Please try "+font,+uniscribe".
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #10 from hannysabbagh hannysabbagh@hotmail.com 2013-05-10 08:53:02 CDT --- Created attachment 44421 --> http://bugs.winehq.org/attachment.cgi?id=44421 +uniscribe-log
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #11 from hannysabbagh hannysabbagh@hotmail.com 2013-05-10 08:53:22 CDT --- hi Bruno.
sorry, i attached the +uniscribe log now :) thanks.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #12 from hannysabbagh hannysabbagh@hotmail.com 2013-05-19 22:48:08 CDT --- any fix for this guys?? a lot of my friends confirmed this bug too.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #13 from Aric Stewart aric@codeweavers.com 2013-05-20 10:21:33 CDT --- (In reply to comment #12)
any fix for this guys?? a lot of my friends confirmed this bug too.
Hello,
Sorry for the delay, I had to reset my ubuntu vm to work on this.
I think part is a font problem. Could you try running notepad?
wine notepad
I notice that winecfg does not display any arabic and some areas are boxes, but notepad seems to be pretty functional.
Also the question would be is the text in the menus correct verses the text inside of the notepad. The code paths for the two are quite different so I would expect potentially quite a number more issues with the text in the menus.
I think the problem with the buttons having boxes instead of glyphs is a font one. I am not sure what font is is trying to use but that font does not have any arabic glyphs.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #14 from hannysabbagh hannysabbagh@hotmail.com 2013-05-20 12:50:41 CDT --- hi Aric.
i have just runned notepad and in the menus i can confirm that Arabic is displayed correctly without any problems.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #15 from hannysabbagh hannysabbagh@hotmail.com 2013-05-31 12:28:16 CDT --- any help?
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #16 from Aric Stewart aric@codeweavers.com 2013-05-31 13:00:21 CDT --- I am looking but it seems to be a font issue. The font that wine is asking for to display the text in those buttons does not have any Arabic characters.
The fact that notepad works well is great! That makes me hopeful.
Does other Arabic software work?
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #17 from hannysabbagh hannysabbagh@hotmail.com 2013-06-03 15:30:51 CDT --- Created attachment 44649 --> http://bugs.winehq.org/attachment.cgi?id=44649 Arabic Firefox with Wine
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #18 from hannysabbagh hannysabbagh@hotmail.com 2013-06-03 15:31:33 CDT --- Hello.
So do i need to use an Arabic font in wine to make display correctly? i have many fonts that support both Arabic and English characters.
No, the other software is not working good as well, see the new attachment. thank you.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #19 from Aric Stewart aric@codeweavers.com 2013-06-04 09:58:16 CDT --- Comment on attachment 44405 --> http://bugs.winehq.org/attachment.cgi?id=44405 +font,uniscribe-log
The fonts you appear to be using are
MS Shell Dlg -> Tahoma (should work) Arial -> /usr/share/fonts/truetype/msttcorefonts/Arial.ttf (may not have arabic)
if it is the Arial font that is causing the problem there are 2 ways we can try to fix it.
1) substitute Arial for something with arabic.
For this one, run wine regedit open HKEY_LOCAL_MACHINE->Software->Microsoft->Windows NT->CurrentVersion->FontSubstitutes
Right click and add new string value with the key of "Arial" then double click on that value and add the name of the font you want to substitute.
2) Add a font link for Arial to something with arabic.
For this one, run wine regedit open HKEY_LOCAL_MACHINE->Software->Microsoft->Windows NT->CurrentVersion->FontLink->SystemLink
Right click and add new multi string value named "Arial"
then double click on Arial and add a new value of fontfile,face name
so for example Japanese uses MSGOTHIC.TTC,MS UI Gothic
With Arial defined either of these ways does winecfg improve?
What font are you using for Arabic, Maybe I can install it on my linux box and try to figure it out also.
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #20 from hannysabbagh hannysabbagh@hotmail.com 2013-06-04 12:36:25 CDT --- Hello.
i don't think that it is a font problem ,because Arial supports Arabic characters , i mean when i use it in my desktop as the default font, i don't face any problems.
i have tried to apply those solutions, but non was successful.. as i said, many fonts supports Arabic characters like Thoama or Arial.. anyway, i use KacstOne font which is specially designed for Arabic.
i think the problem is an Encoding problem, Arabic needs UTF-8 to be displayed correctly, but in wine i think it uses Unicode? is there a way to change Encoding in Wine?
Thank you.
http://bugs.winehq.org/show_bug.cgi?id=30163
Mosaab Alzoubi moceap@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |moceap@hotmail.com
--- Comment #21 from Mosaab Alzoubi moceap@hotmail.com 2013-06-05 07:35:41 CDT --- The problem in fonts really . Tahoma font attached with wine have only English characters , so the perfect way to solve this bug is multi language Tahoma font.
Not only for Arabic also for other languages .
Second limited way that to make "Arial" as default font.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #22 from Aric Stewart aric@codeweavers.com 2013-06-05 08:35:29 CDT --- (In reply to comment #21)
The problem in fonts really . Tahoma font attached with wine have only English characters , so the perfect way to solve this bug is multi language Tahoma font.
Not only for Arabic also for other languages .
Second limited way that to make "Arial" as default font.
Very Correct.
You can do this by changing "MS Shell Dlg" to Arial.
HKEY_LOCAL_MACHINE->Software->Microsoft->Windows NT->CurrentVersion->FontSubstitutes
look for MS Shell Dlg which is now set to Tahoma, set it to Arial instead.
That seems to work on my Linux VM in Arabic.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #23 from hannysabbagh hannysabbagh@hotmail.com 2013-06-05 09:24:28 CDT --- Hello.
this is finally working for me :) there is another problem which is that the text is not RTL, i mean when you write an English word with an Arabic text, it won't be displayed correctly as it is.
anyway, is there a way to add this fix to the next Wine release? :) thanks.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #24 from Mosaab Alzoubi moceap@hotmail.com 2013-06-05 10:28:17 CDT --- Yes , I can write a fix patch , for no problems in Arabic again ( Also it works for all language supported by Arial font )
The patch solve the problem with most famous Arabic fonts .
( few hours to patch )
@hannysabbagh Foe new issue I suggest open new bug .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #25 from Mosaab Alzoubi moceap@hotmail.com 2013-06-09 06:58:25 CDT --- Created attachment 44715 --> http://bugs.winehq.org/attachment.cgi?id=44715 Fix font problems for many many languages , especially Arabic .
1 - This patch fix All Arabic wide-used fonts .
2 - This patch make wine to use Sans widely instead of non completed Tahoma .
3 - This patch solve unreadable fonts which look like squares for all language supported by Sans not only Arabic .
-=-=-=-=-=-
We hope to confirm this bug and include this patch to wine .
http://bugs.winehq.org/show_bug.cgi?id=30163
hannysabbagh hannysabbagh@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical
http://bugs.winehq.org/show_bug.cgi?id=30163
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Severity|critical |normal
--- Comment #26 from Jerome Leclanche adys.wh@gmail.com 2013-06-09 11:30:34 CDT --- Please don't change the importance field.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #27 from Mosaab Alzoubi moceap@hotmail.com 2013-06-09 19:07:00 CDT --- Screenshot of some programs that use Arabic characters .
Original Wine 1.5.31 at Fedora 18 ( WinRAR and Ultra ISO setups )
http://www.linuxac.org/forum/attachment.php?attachmentid=20186&d=1370519...
Patched Wine 1.5.31 at Fedora 18 ( WinRAR and Ultra ISO setups )
http://www.linuxac.org/forum/attachment.php?attachmentid=20187&d=1370519...
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #28 from Aric Stewart aric@codeweavers.com 2013-06-10 08:22:25 CDT --- (In reply to comment #25)
Created attachment 44715 [details] Fix font problems for many many languages , especially Arabic .
1 - This patch fix All Arabic wide-used fonts .
2 - This patch make wine to use Sans widely instead of non completed Tahoma .
3 - This patch solve unreadable fonts which look like squares for all language supported by Sans not only Arabic .
-=-=-=-=-=-
We hope to confirm this bug and include this patch to wine .
Quick question here.
Do you have Arabic windows? The question would be what these registry values are on arabic windows.
We cannot make the change for "MS Shell Dlg 2" and the like to Sans if that is not the way it is done on windows.
Also changing the Tahoma font links and the default values in nls_update_font_list is going to be hard to justify.
Now if the problem is that our Tahoma does not have enough glyphs, and windows does, then we can argue to expand the Tahoma font link to cover glyphs that are present in windows Tahoma and not present in ours.
I have worked an alternative patch. Does this work?
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #29 from Aric Stewart aric@codeweavers.com 2013-06-10 08:22:54 CDT --- Created attachment 44731 --> http://bugs.winehq.org/attachment.cgi?id=44731 Expand Tahoma font link
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #30 from Mosaab Alzoubi moceap@hotmail.com 2013-06-10 13:59:35 CDT --- Thank you Aric for attention .
Arabic Windows has a "Comic sans ms" for both MS Shell Dlg and MS Shell Dlg 2 .
So I used Sans family .
Expand Tahoma looks like a solve , but by your patch it isn't work .
I patched Wine 1.5.31 by new patch and compile it the bug still found .
Sans must be in nls_update_font_list not only for Arabic also for non-English languages .
Other famous Arabic fonts we can link it to Sans if there aren't found .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #31 from Mosaab Alzoubi moceap@hotmail.com 2013-06-10 14:05:38 CDT --- Created attachment 44740 --> http://bugs.winehq.org/attachment.cgi?id=44740 Bug still here !
This is ( Ultra ISO installation ) .
By Wine 1.5.31 patched with new patch , under Fedora 18 .
Unreadable .
-=-=-=-
Q : Can we include the solve before Wine 1.6 ?
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #32 from Aric Stewart aric@codeweavers.com 2013-06-10 14:17:25 CDT --- (In reply to comment #30)
Thank you Aric for attention .
Arabic Windows has a "Comic sans ms" for both MS Shell Dlg and MS Shell Dlg 2 .
So I used Sans family .
Expand Tahoma looks like a solve , but by your patch it isn't work .
I patched Wine 1.5.31 by new patch and compile it the bug still found .
Sans must be in nls_update_font_list not only for Arabic also for non-English languages .
Other famous Arabic fonts we can link it to Sans if there aren't found .
Ok thanks. What version of windows?
"Comic Sans MS" is different than just "Sans". You use "Sans" a lot of places. is that correct?
The problem persists. What about if you did more of your wine.inf changes...
HKLM,%FontSubStr%,"Traditional Arabic",,"Sans" HKLM,%FontSubStr%,"Arabic Transparent",,"Sans" HKLM,%FontSubStr%,"Abyssinica SIL",,"Sans"
I am unsure which font is used for "Sans" could you give me a +font log.
I would love for this to be in 1.6 as well. That is what I am working toward.
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #33 from Mosaab Alzoubi moceap@hotmail.com 2013-06-10 14:54:18 CDT --- (In reply to comment #32)
(In reply to comment #30)
Thank you Aric for attention .
Arabic Windows has a "Comic sans ms" for both MS Shell Dlg and MS Shell Dlg 2 .
So I used Sans family .
Expand Tahoma looks like a solve , but by your patch it isn't work .
I patched Wine 1.5.31 by new patch and compile it the bug still found .
Sans must be in nls_update_font_list not only for Arabic also for non-English languages .
Other famous Arabic fonts we can link it to Sans if there aren't found .
Ok thanks. What version of windows?
"Comic Sans MS" is different than just "Sans". You use "Sans" a lot of places. is that correct?
The problem persists. What about if you did more of your wine.inf changes...
HKLM,%FontSubStr%,"Traditional Arabic",,"Sans" HKLM,%FontSubStr%,"Arabic Transparent",,"Sans" HKLM,%FontSubStr%,"Abyssinica SIL",,"Sans"
I am unsure which font is used for "Sans" could you give me a +font log.
I would love for this to be in 1.6 as well. That is what I am working toward.
-aric
Arabic windows what I search is ( windows 7 ) .
I use Sans because Sans has every character for known languages .
"Traditional Arabic" , "Arabic Transparent" and "Abyssinica SIL" are Arabic fonts used by a lot of Arabic programs . So I use powerful Sans instead .
+font log is huge ( more than 35 mb ) ^_^ , I use DeJaVu Sans for Sans . ( default Sans in Fedora - Ubuntu is DeJaVu Sans )
Thank You Again For Your Attention .
=-=-=-=
NB : Now we in Linux Arab Community (linuxac.org) work at wine ( ar.po ) translation , so this bug stand in front of us .
Mosaab.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #34 from Mosaab Alzoubi moceap@hotmail.com 2013-06-10 16:08:32 CDT --- Sorry I have a copy error since first patch with "Abyssinica SIL" , this font isn't Arabic . It's Amharic .
Sorry again .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #35 from Aric Stewart aric@codeweavers.com 2013-06-10 19:08:39 CDT --- (In reply to comment #33)
(In reply to comment #32)
(In reply to comment #30)
Thank you Aric for attention .
Arabic Windows has a "Comic sans ms" for both MS Shell Dlg and MS Shell Dlg 2 .
So I used Sans family .
Expand Tahoma looks like a solve , but by your patch it isn't work .
I patched Wine 1.5.31 by new patch and compile it the bug still found .
Sans must be in nls_update_font_list not only for Arabic also for non-English languages .
Other famous Arabic fonts we can link it to Sans if there aren't found .
Ok thanks. What version of windows?
"Comic Sans MS" is different than just "Sans". You use "Sans" a lot of places. is that correct?
The problem persists. What about if you did more of your wine.inf changes...
HKLM,%FontSubStr%,"Traditional Arabic",,"Sans" HKLM,%FontSubStr%,"Arabic Transparent",,"Sans" HKLM,%FontSubStr%,"Abyssinica SIL",,"Sans"
I am unsure which font is used for "Sans" could you give me a +font log.
I would love for this to be in 1.6 as well. That is what I am working toward.
-aric
Arabic windows what I search is ( windows 7 ) .
I use Sans because Sans has every character for known languages .
"Traditional Arabic" , "Arabic Transparent" and "Abyssinica SIL" are Arabic fonts used by a lot of Arabic programs . So I use powerful Sans instead .
+font log is huge ( more than 35 mb ) ^_^ , I use DeJaVu Sans for Sans . ( default Sans in Fedora - Ubuntu is DeJaVu Sans )
Thank You Again For Your Attention .
=-=-=-=
NB : Now we in Linux Arab Community (linuxac.org) work at wine ( ar.po ) translation , so this bug stand in front of us .
Mosaab.
It occurs to me that there is a direct fix to this.
We have the Arabic block wrong then and we can fix it. You have Arabic windows 7.
Looking at HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Could you export that key and show it to me. Then I can update the arabic block in freetype.c and it should work.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #36 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 07:53:30 CDT --- Created attachment 44748 --> http://bugs.winehq.org/attachment.cgi?id=44748 Registry entries of fresh Windows 7 Arabic fonts
I used fresh Windows 7 Arabic now , using MS Sans Serif ! for MS Shell Dlg
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #37 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 07:57:32 CDT --- Created attachment 44749 --> http://bugs.winehq.org/attachment.cgi?id=44749 Registry entries of fresh Windows XP SP3 Arabic fonts
Also fresh Arabic WinXP SP3 , using MS Sans Serif
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #38 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 08:00:32 CDT --- I call a lot of users to re install multiversions of windows . for fresh install information .
Thank you Aric , thank you for your attention .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #39 from Aric Stewart aric@codeweavers.com 2013-06-11 08:06:32 CDT --- Created attachment 44750 --> http://bugs.winehq.org/attachment.cgi?id=44750 Correct Arabic's font block
Please try this patch. You will have to start with a new clean wine prefix.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #40 from Aric Stewart aric@codeweavers.com 2013-06-11 08:07:10 CDT --- (In reply to comment #38)
I call a lot of users to re install multiversions of windows . for fresh install information .
Thank you Aric , thank you for your attention .
That is great! The more of these font blocks we can verify and correct the better it will be!
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #41 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 08:46:16 CDT --- Created attachment 44751 --> http://bugs.winehq.org/attachment.cgi?id=44751 Bug 50% solved .
It work's in ( MS Shell Dlg ) places , but which use ( MS Shell Dlg 2 ) still unreadable .
(Wine 1.5.31 patched with latest patch , Fedora 18)
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #42 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 10:51:46 CDT --- Created attachment 44754 --> http://bugs.winehq.org/attachment.cgi?id=44754 problem found at un-Arabic session .
Another problem that when run an application contain Arabic characters under non-Arabic session , or when ( LANG ) variable doesn't equal ar ( or similar ) .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #43 from Aric Stewart aric@codeweavers.com 2013-06-11 12:24:21 CDT --- (In reply to comment #42)
Created attachment 44754 [details] problem found at un-Arabic session .
Another problem that when run an application contain Arabic characters under non-Arabic session , or when ( LANG ) variable doesn't equal ar ( or similar ) .
This is expected. Running a program in a miss-matched locale almost always fails.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #44 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 12:27:42 CDT --- What we can do about new 2 problems ?
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #45 from Aric Stewart aric@codeweavers.com 2013-06-11 12:29:47 CDT --- (In reply to comment #44)
What we can do about new 2 problems ?
I am looking into the Tahoma one, It is deeper than just MS Shell Dlg 2. I am not sure what the correct fix is there yet.
As for the non-arabic locales see the above comment.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #46 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 13:34:43 CDT --- For "MS Shell Dlg 2"
How about cloning "MS Shell Dlg" mechanism for "Ms Shell Dlg 2" ?
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #47 from Aric Stewart aric@codeweavers.com 2013-06-11 14:00:38 CDT --- (In reply to comment #46)
For "MS Shell Dlg 2"
How about cloning "MS Shell Dlg" mechanism for "Ms Shell Dlg 2" ?
2 problems.
1) Your reg files show that on windows MS Shell Dlg 2 is clearly set to Tahoma.
2) Setting just MS Shell Dlg 2 to Microsoft Sans Serif did not resolve the problem at all for me using UltraISO. So there is something more going on.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #48 from Austin English austinenglish@gmail.com 2013-06-11 14:43:38 CDT --- (In reply to comment #39)
Created attachment 44750 [details] Correct Arabic's font block
Please try this patch. You will have to start with a new clean wine prefix.
This part was committed: http://source.winehq.org/git/wine.git/commitdiff/f5ec65ad8ebe9f25e360bbc272b...
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #49 from Mosaab Alzoubi moceap@hotmail.com 2013-06-11 16:05:33 CDT --- Aric and Austin thank you very much for your work .
I do some Consulting , Arab programmers I asked said :
The second part of solve is including Arabic letters into wine Tahoma font .
We'll work on this part of solve , we hope to finish before wine 1.6 .
Mosaab.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #50 from Aric Stewart aric@codeweavers.com 2013-06-12 09:26:03 CDT --- Created attachment 44770 --> http://bugs.winehq.org/attachment.cgi?id=44770 New Tahoma font
Hello,
Yes looking at windows 7 tahoma.ttf, it contains Arabic characters which our tahoma font lacks.
I did some work this morning to include the Arabic glyphs and lookups from DejaVu (which is public domain and it appears much of our tahoma is already based on)
I cannot guarantee I did it all correctly. I tried. If it looks good I will submit this patch to get wine's tahoma to display arabic.
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
Khaled Hosny khaledhosny@eglug.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |khaledhosny@eglug.org
--- Comment #51 from Khaled Hosny khaledhosny@eglug.org 2013-06-12 10:28:49 CDT --- (In reply to comment #50)
Created attachment 44770 [details] New Tahoma font
Hello,
Yes looking at windows 7 tahoma.ttf, it contains Arabic characters which our tahoma font lacks.
I did some work this morning to include the Arabic glyphs and lookups from DejaVu (which is public domain and it appears much of our tahoma is already based on)
I cannot guarantee I did it all correctly. I tried. If it looks good I will submit this patch to get wine's tahoma to display arabic.
The shaping looks fine, but it lacks any mark anchors so Arabic combining marks are badly positioned. I may be able to work on the Arabic support if you can point me to the latest SFD file(s) of Wine’s Tahoma.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #52 from Khaled Hosny khaledhosny@eglug.org 2013-06-12 10:31:55 CDT --- (In reply to comment #51)
(In reply to comment #50)
Created attachment 44770 [details] New Tahoma font
Hello,
Yes looking at windows 7 tahoma.ttf, it contains Arabic characters which our tahoma font lacks.
I did some work this morning to include the Arabic glyphs and lookups from DejaVu (which is public domain and it appears much of our tahoma is already based on)
I cannot guarantee I did it all correctly. I tried. If it looks good I will submit this patch to get wine's tahoma to display arabic.
The shaping looks fine, but it lacks any mark anchors so Arabic combining marks are badly positioned. I may be able to work on the Arabic support if you can point me to the latest SFD file(s) of Wine’s Tahoma.
Correction: there are mark to mark anchors but no mark to base nor mark to ligature which are more important.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #53 from Aric Stewart aric@codeweavers.com 2013-06-12 10:41:13 CDT --- Created attachment 44773 --> http://bugs.winehq.org/attachment.cgi?id=44773 My modified sfd
It would be wonderful for you to do that work!
I am attaching my modified sfd. I have submitted this tahoma to wine patches. So If it get committed this sfd will match the one in our source.
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #54 from Mosaab Alzoubi moceap@hotmail.com 2013-06-12 11:15:11 CDT --- Wonderful work .
Thank You So much
--------
Arabic translation of wine more than 25% done .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #55 from Aric Stewart aric@codeweavers.com 2013-06-12 13:43:38 CDT --- (In reply to comment #52)
(In reply to comment #51)
(In reply to comment #50)
Created attachment 44770 [details] New Tahoma font
Hello,
Yes looking at windows 7 tahoma.ttf, it contains Arabic characters which our tahoma font lacks.
I did some work this morning to include the Arabic glyphs and lookups from DejaVu (which is public domain and it appears much of our tahoma is already based on)
I cannot guarantee I did it all correctly. I tried. If it looks good I will submit this patch to get wine's tahoma to display arabic.
The shaping looks fine, but it lacks any mark anchors so Arabic combining marks are badly positioned. I may be able to work on the Arabic support if you can point me to the latest SFD file(s) of Wine’s Tahoma.
Correction: there are mark to mark anchors but no mark to base nor mark to ligature which are more important.
Ok I see my error. Unless you have already done work let me try to fix it.
Thanks! -aric
http://bugs.winehq.org/show_bug.cgi?id=30163
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44770|0 |1 is obsolete| |
--- Comment #56 from Aric Stewart aric@codeweavers.com 2013-06-12 14:10:48 CDT --- Created attachment 44779 --> http://bugs.winehq.org/attachment.cgi?id=44779 Tahoma font with anchors
New Tahoma with proper anchors
http://bugs.winehq.org/show_bug.cgi?id=30163
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44773|0 |1 is obsolete| |
--- Comment #57 from Aric Stewart aric@codeweavers.com 2013-06-12 14:11:40 CDT --- Created attachment 44780 --> http://bugs.winehq.org/attachment.cgi?id=44780 Tahoma sfd with anchors
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #58 from Aric Stewart aric@codeweavers.com 2013-06-12 14:13:28 CDT --- If that new tahoma.ttf and sfd are functional then I will submit those as a patch since they have the proper anchors (I believe)
Then I will try to do similar with tahoma bold as well.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #59 from Aric Stewart aric@codeweavers.com 2013-06-12 14:46:56 CDT --- Created attachment 44781 --> http://bugs.winehq.org/attachment.cgi?id=44781 Tahoma Bold
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #60 from Aric Stewart aric@codeweavers.com 2013-06-12 14:47:23 CDT --- Created attachment 44782 --> http://bugs.winehq.org/attachment.cgi?id=44782 Tahoma Bold sfd
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #61 from Khaled Hosny khaledhosny@eglug.org 2013-06-12 16:41:34 CDT --- The last fonts seems fine after quickly testing them, but they are not metric compatible with the "real" Tahoma (glyph advances are different, glyph heights might need adjustments too), is that an issue? I can work on ensuring they are metric compatible, but that is a bit of work and would take few days.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #62 from Aric Stewart aric@codeweavers.com 2013-06-12 20:21:20 CDT --- (In reply to comment #61)
The last fonts seems fine after quickly testing them, but they are not metric compatible with the "real" Tahoma (glyph advances are different, glyph heights might need adjustments too), is that an issue? I can work on ensuring they are metric compatible, but that is a bit of work and would take few days.
That would be IDEAL! Thank you very much. That is work I cannot do.
How would you like to do that. Should I submit these versions and then you work from there for the patched new versions?
Or would you like to work from here and then submit the final version.
Submitting this version has the advantage that then Arabic testers can start testing and translating even if the font metrics are incorrect. Though it is a little bit sloppier.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #63 from Khaled Hosny khaledhosny@eglug.org 2013-06-13 02:15:33 CDT --- (In reply to comment #62)
(In reply to comment #61)
The last fonts seems fine after quickly testing them, but they are not metric compatible with the "real" Tahoma (glyph advances are different, glyph heights might need adjustments too), is that an issue? I can work on ensuring they are metric compatible, but that is a bit of work and would take few days.
That would be IDEAL! Thank you very much. That is work I cannot do.
How would you like to do that. Should I submit these versions and then you work from there for the patched new versions?
Or would you like to work from here and then submit the final version.
Submitting this version has the advantage that then Arabic testers can start testing and translating even if the font metrics are incorrect. Though it is a little bit sloppier.
I think submitting this version first would be better, and we can continue from there.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #64 from Aric Stewart aric@codeweavers.com 2013-06-13 07:11:38 CDT --- (In reply to comment #63)
(In reply to comment #62)
(In reply to comment #61)
The last fonts seems fine after quickly testing them, but they are not metric compatible with the "real" Tahoma (glyph advances are different, glyph heights might need adjustments too), is that an issue? I can work on ensuring they are metric compatible, but that is a bit of work and would take few days.
That would be IDEAL! Thank you very much. That is work I cannot do.
How would you like to do that. Should I submit these versions and then you work from there for the patched new versions?
Or would you like to work from here and then submit the final version.
Submitting this version has the advantage that then Arabic testers can start testing and translating even if the font metrics are incorrect. Though it is a little bit sloppier.
I think submitting this version first would be better, and we can continue from there.
Thanks. I have submitted the patches. Thank you for doing the font work to make them metric compatible.
-aric
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #65 from Mosaab Alzoubi moceap@hotmail.com 2013-06-13 08:21:07 CDT --- Created attachment 44787 --> http://bugs.winehq.org/attachment.cgi?id=44787 Wine Localization Script .
Aric , Khaled Thank You very very very much .
(In reply to comment #43)
(In reply to comment #42)
Created attachment 44754 [details] problem found at un-Arabic session .
Another problem that when run an application contain Arabic characters under non-Arabic session , or when ( LANG ) variable doesn't equal ar ( or similar ) .
This is expected. Running a program in a miss-matched locale almost always fails.
In Windows there is an ability to choose the main language to read in multi-language places .
This script emulate that ^_^
After select language at ( local-wine ) script , you can run ( wine-loc ) as localized wine , eg :
wine-loc notepad
If this function included in winecfg , this problem will fix . The script need almasa-gtkdialog library http://linux.softpedia.com/get/Programming/Libraries/Almasa-Gtkdialog-97646.... =-=-=-=-=-=-=-=-=-=
Aric can you visit Bug 33210 - Bug 33794 ?
http://bugs.winehq.org/show_bug.cgi?id=30163
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44787|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #66 from Nikolay Sivov bunglehead@gmail.com 2013-06-13 09:32:47 CDT --- (In reply to comment #65)
Created attachment 44787 [details] Wine Localization Script .
There's no need for that, you're just supposed to set LANG properly before running Wine.
In Windows there is an ability to choose the main language to read in multi-language places .
That's what LANG does for Wine already.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #67 from Mosaab Alzoubi moceap@hotmail.com 2013-06-13 09:39:20 CDT --- I don't mean to include this script , just make a button on winecfg for selection of local .
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #68 from Aric Stewart aric@codeweavers.com 2013-06-13 09:42:23 CDT --- (In reply to comment #67)
I don't mean to include this script , just make a button on winecfg for selection of local .
This is an interesting situation.
In CrossOver we have an option to be able to set the locale of a given wine environment. The truth is that very few people ever use it. We have found that most users want everything in the locale of their system. It is only the developer or power user that has issues.
And generally having them set the LANG variable on their terminal or system locale works ok.
I am personally very interested in this feature because I am one of those power users who would love to be able to set the locale of each wine prefix.
I say you should open a new bug requesting this enhancement.
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #69 from Mosaab Alzoubi moceap@hotmail.com 2013-06-13 11:18:07 CDT --- Thank you Aric , I did in Bug 33796
Also I listed you in CC of it and two bugs else . ^_^
http://bugs.winehq.org/show_bug.cgi?id=30163
--- Comment #70 from Aric Stewart aric@codeweavers.com 2013-06-13 14:50:01 CDT --- Ok Tahoma now has Arabic.
This bug should be closed and a new bug opened about making arabic in tahoma match window's tahoma metrics.
thanks -aric
http://bugs.winehq.org/show_bug.cgi?id=30163
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |121f82bff7665794be6fee841dd | |fda6973cc7c46 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #71 from Jerome Leclanche adys.wh@gmail.com 2013-06-13 14:54:27 CDT --- Fixed
http://bugs.winehq.org/show_bug.cgi?id=30163
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #72 from Alexandre Julliard julliard@winehq.org 2013-06-14 13:25:12 CDT --- Closing bugs fixed in 1.6-rc2.
https://bugs.winehq.org/show_bug.cgi?id=30163
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |fonts