Note: I am using the latest ubuntu11.10 and Wine 1.3.
Wine garbled characters are caused by incorrect font associations. You need to modify the key value of the registry when solving the problem. If wine is installed in Ubuntu, you can modify the Registry Association. The steps below are successfully modified and used:
========================================================== ========================================================== ======================
1. Use wine to open FoxitReader (or use other methods to open wine), and then click "open PDF file" (why? In this way, we can see the ubuntu virtual C disk), and a box will pop up. Then, in this box, set c: \ windows \ Fonts \ simsun in the real windows System (I use Win7. copy the ttc file to the same location of the virtual c disk opened in the wine menu, that is, the virtual c: \ windows \ Fonts location. (This is to enable wine to associate existing/correct fonts)
========================================================== ========================================================== ======================
2. Enter the command "gedit. wine/system. reg" on the terminal to open the. wine/system. reg configuration file.
(Here, you must use gedit or other editors that support gb2312/utf8 encoding to modify these files. Otherwise, Chinese characters in the files may be garbled)
========================================================== ========================================================== ======================
3. Edit
(1) Search: LogPixels
The row should be: [System \ CurrentControlSet \ Hardware Profiles \ Current \ Software \ Fonts]
Replace the following:
"LogPixels" = dword: 00000060
Changed:
"LogPixels" = dword: 00000070
(The word width is changed here)
(2) Search: FontSubstitutes
The row should be: [Software \ Microsoft \ Windows NT \ CurrentVersion \ FontSubstitutes]
Replace the following:
"MS Shell Dlg" = "Tahoma"
"MS Shell Dlg 2" = "Tahoma"
Changed:
"MS Shell Dlg" = "SimSun"
"MS Shell Dlg 2" = "SimSun"
Save and exit.
========================================================== ========================================================== ======================
Re-open wine and use wine to open FoxitReader. The sub-item in the menu shows the normal Chinese font and the PDF file is displayed normally.
Haha, get it done ~~~