Page 6 of 9 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 85

Thread: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

  1. #51
    Join Date
    Oct 2007
    Location
    NY, NY
    Beans
    77
    Distro
    Lubuntu 12.04 Precise Pangolin

    Question Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    Um so is there an easier way to do this basic thing with the "latest & greatest" --- Hardy & Wine 1.1 ???
    HP Pavilion dv6700t
    Ubuntu 12.04/Unity

  2. #52
    Join Date
    Oct 2007
    Beans
    8

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    hmm I get the error:

    ryuho@ryuho-laptop:~/.wine$ wineloc -l ja_JP ~/Downloads/2chtubo200.exe
    WineLocale 0.41 - CJK Launcher for Wine (cli)
    ja_JP
    Using locale file /usr/local/share/wineloc/patches/common/ja_JP.reg ...
    Setting up Japanese Shift-JIS locale ...
    err:service:RPC_MainLoop RpcServerUseProtseq failed with error 1703
    err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703
    Executing application ...
    err:service:RPC_MainLoop RpcServerUseProtseq failed with error 1703
    err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703
    Restoring old Wine locale settings
    err:service:RPC_MainLoop RpcServerUseProtseq failed with error 1703
    err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703
    ryuho@ryuho-laptop:~/.wine$


    wine --version
    wine-0.9.59

  3. #53
    Join Date
    Oct 2005
    Beans
    244
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    I hope this is not useless information, but I have been using Japanese programs in Wine for awhile now with a much simpler method:

    Code:
    LANG=ja_JP.UTF-8 wine application.exe
    I am sure this does not work for all languages and applications, but I thought this information might be useful for some people. I have Japanese language support installed on my Linux system and some Wine MS font packs installed, though I do not think they are anything very exotic or special.

    This information was indirectly mentioned by bc991122 on May 23rd, 2008.
    Fresh install of Windows XP SP2 with updates. Used a firewall and anti-virus software. I stopped counting the horrible crippling and irritiating Windows crashing after I passed 10 times. Windows is just an expensive piece of sh*t....

  4. #54
    Join Date
    May 2008
    Beans
    245
    Distro
    Ubuntu Karmic Koala (testing)

    Unhappy Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    I tried your guide but no luck the program is a Japanese Character learning program called "KanaLearn" The characters just appear as boxes should i just run it in a virtualbox?
    CPU: 4ghz AMD 6 core | RAM: 16gb 1800mhz | HDD: 2*1TB (Striped lvm) 4*30GB SSD (Striped lvm) | Nvidia 9800GTX+ | ASUS Xonar D2X | Marantz 2265B Audio Console With Vacuum Tube Preamps

  5. #55
    Join Date
    Oct 2008
    Beans
    1

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    tried the program, but unfortunately it didn't work. My error was before install process, something along the lines that "This isn't a Japanese Windows OS" or the like. This doesn't happen in XP with East-Asian Fonts enabled and the non-unicode characters set to Japanese (the language of the program), so it's it's something to do with detecting proper font setup I guess.

  6. #56
    Join Date
    May 2007
    Beans
    20
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    I've applied this guide on every ubuntu install I've used since Feisty. Now I'm on Intrepid and it doesn't work. =(

    It doesn't seem to accept the YuanTi fonts.conf file, for starters. I tried editing it so it uses a cachedir, but the fonts still don't display... getting errors like this

    Code:
    err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703
    err:service:RPC_Init RpcServerUseProtseq failed with error 1703
    err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703

  7. #57
    Join Date
    Aug 2007
    Beans
    4

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    Hello

    I tried to report the problem on Wine bugzilla ..

    It turns out the right approach is not font substitution but font linking.

    That way the font can have *all* characters, you do not have to switch them.

    However, the inability to type in some applications is not resolved.

    The font linking is poorly designed (it's MS feature after all). You have to specify the font name as well as the font filename for the linking to work.

    I have some files lying around which have sample of font links so perhaps somebody finds them useful.

    You can only view them by importing them into the registry as regedit dumps the values as hex when they are stored in the .reg file. Another "nice" feature.



    Windows Registry Editor Version 5.00

    ; Windows linking

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
    "Lucida Sans Unicode"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,0 0,49,00,43,00,\
    2e,00,54,00,54,00,43,00,2c,00,4d,00,53,00,20,00,55 ,00,49,00,20,00,47,00,6f,\
    00,74,00,68,00,69,00,63,00,00,00,00,00
    "MS UI Gothic"=hex(7):53,00,69,00,6d,00,53,00,75,00,6e,00 ,2e,00,54,00,54,00,43,\
    00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00 ,67,00,75,00,6c,00,69,00,\
    6d,00,2e,00,74,00,74,00,63,00,2c,00,67,00,75,00,6c ,00,69,00,6d,00,00,00,6d,\
    00,69,00,6e,00,67,00,6c,00,69,00,75,00,2e,00,74,00 ,74,00,63,00,2c,00,50,00,\
    4d,00,69,00,6e,00,67,00,4c,00,69,00,55,00,00,00,00 ,00
    "Tahoma"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,0 0,49,00,43,00,2e,00,54,00,54,\
    00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00 ,47,00,6f,00,74,00,68,00,\
    69,00,63,00,00,00,53,00,69,00,6d,00,53,00,75,00,6e ,00,2e,00,54,00,54,00,43,\
    00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00 ,67,00,75,00,6c,00,69,00,\
    6d,00,2e,00,74,00,74,00,63,00,2c,00,67,00,75,00,6c ,00,69,00,6d,00,00,00,6d,\
    00,69,00,6e,00,67,00,6c,00,69,00,75,00,2e,00,74,00 ,74,00,63,00,2c,00,50,00,\
    4d,00,69,00,6e,00,67,00,4c,00,69,00,55,00,00,00,00 ,00
    "Microsoft Sans Serif"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,00, 49,00,43,00,\
    2e,00,54,00,54,00,43,00,2c,00,4d,00,53,00,20,00,55 ,00,49,00,20,00,47,00,6f,\
    00,74,00,68,00,69,00,63,00,00,00,53,00,69,00,6d,00 ,53,00,75,00,6e,00,2e,00,\
    54,00,54,00,43,00,2c,00,53,00,69,00,6d,00,53,00,75 ,00,6e,00,00,00,67,00,75,\
    00,6c,00,69,00,6d,00,2e,00,74,00,74,00,63,00,2c,00 ,67,00,75,00,6c,00,69,00,\
    6d,00,00,00,6d,00,69,00,6e,00,67,00,6c,00,69,00,75 ,00,2e,00,74,00,74,00,63,\
    00,2c,00,50,00,4d,00,69,00,6e,00,67,00,4c,00,69,00 ,55,00,00,00,00,00

    REGEDIT4

    ; most likely some attempt at replicating the above on Wine

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
    "Lucida Sans Unicode"=hex(7):4d,53,47,4f,54,48,49,43,2e,54,54,4 3,2c,4d,53,20,\
    55,49,20,47,6f,74,68,69,63,00,00
    "MS UI Gothic"=hex(7):53,69,6d,53,75,6e,2e,54,54,43,2c,53 ,69,6d,53,75,6e,00,67,\
    75,6c,69,6d,2e,74,74,63,2c,67,75,6c,69,6d,00,6d,69 ,6e,67,6c,69,75,2e,74,74,\
    63,2c,50,4d,69,6e,67,4c,69,55,00,00
    "Tahoma"=hex(7):4d,53,47,4f,54,48,49,43,2e,54,54,4 3,2c,4d,53,20,55,49,20,47,6f,\
    74,68,69,63,00,53,69,6d,53,75,6e,2e,54,54,43,2c,53 ,69,6d,53,75,6e,00,67,75,\
    6c,69,6d,2e,74,74,63,2c,67,75,6c,69,6d,00,6d,69,6e ,67,6c,69,75,2e,74,74,63,\
    2c,50,4d,69,6e,67,4c,69,55,00,00
    "Microsoft Sans Serif"=hex(7):4d,53,47,4f,54,48,49,43,2e,54,54,43, 2c,4d,53,20,\
    55,49,20,47,6f,74,68,69,63,00,53,69,6d,53,75,6e,2e ,54,54,43,2c,53,69,6d,53,\
    75,6e,00,67,75,6c,69,6d,2e,74,74,63,2c,67,75,6c,69 ,6d,00,6d,69,6e,67,6c,69,\
    75,2e,74,74,63,2c,50,4d,69,6e,67,4c,69,55,00,00

    REGEDIT4

    ; Windows style substitutions

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
    "Arial CE,238"="Arial,238"
    "Arial CYR,204"="Arial,204"
    "Arial Greek,161"="Arial,161"
    "Arial TUR,162"="Arial,162"
    "Courier New CE,238"="Courier New,238"
    "Courier New CYR,204"="Courier New,204"
    "Courier New Greek,161"="Courier New,161"
    "Courier New TUR,162"="Courier New,162"
    "Helv"="MS Sans Serif"
    "Helvetica"="Arial"
    "MS Gothic"="IPAGothic"
    "MS Mincho"="IPAMincho"
    "MS PGothic"="IPAPGothic"
    "MS PMincho"="IPAPMincho"
    "MS Shell Dlg"="MS UI Gothic"
    "MS Shell Dlg 2"="Tahoma"
    "MS UI Gothic"="IPAUIGothic"
    "Times"="Times New Roman"
    "Times New Roman CE,238"="Times New Roman,238"
    "Times New Roman CYR,204"="Times New Roman,204"
    "Times New Roman Greek,161"="Times New Roman,161"
    "Times New Roman TUR,162"="Times New Roman,162"
    "Tms Rmn"="MS Serif"



    REGEDIT4
    ; Wine hack

    [HKEY_USERS\S-1-5-4\Software\Wine\Fonts\Replacements]
    "MS UI Gothic"="IPAUIGothic"
    "MS Gothic"="IPAGothic"
    "MS PGothic"="IPAPGothic"
    "MS Mincho"="IPAMincho"
    "MS PMincho"="IPAPMincho"

  8. #58
    Join Date
    Jan 2007
    Location
    Beijing, China
    Beans
    61

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    Hey guys ...

    I'M SO HAPPY!

    That's on Intrepid, for all the people who posted the old method is having problems.

    hramrach is right about FontLink, but it is entirely useless without MS Fonts. Wine has essentially no support for it at this point. I have created some FontLink lines for fallback into Free fonts but it's all moot till the Wine team does their end.

    So, in the mean time, some font swapping is necessary: especially for MS Shell Dlg (cannot display tab titles without swapping).

    This version totally solves all locale hacking issue at the start of this thread. It carries a package payload of less than 100KB right now and works on an Ubuntu default install--no extra packages needed! Its only dependencies are a few fonts Ubuntu installs as recommended packages of ubuntu-desktop and wine (obviously).

    Currently, Chinese (traditional and simplified), Japanese and Korean are working perfectly. Russian works, but I'm working to resolve a chunky font issue. Arabic and Hebrew are having problems, and I haven't tested Greek.

    This release will include a toggle to flip 96/120dpi fonts in Wine. It will also read your Gtk theme to find out your font and menubar size, then hacks Wine to match for real (10pt in 96dpi X is much, much different from 10pt in Wine). It also has a toggle to enable/disable rudimentary font anti-aliasing.

    It also supports localizations, as you can see from the screenshot. Currently we have English and Chinese (simplified). If you can, please help by translating http://winelocale.googlecode.com/svn...18n/en_US.lang into your language. Post it here or email it to me at derrick%0cinnamonpirate%1com (/@/./ #fix the marks) and I'll add it to the SVN. Anything sent in by mid-next week should make it out in the beta. It will check the language of your Ubuntu and, assuming someone made a locale, it will show in your language. Otherwise, it defaults to English.

    I still have to finish up the shortcut generation and command line mode, but I'm shooting for a beta in the next couple days. SVN has a the working implementation sans command line. I also need to get it to kill out the main core instead of hanging the WineLocale window till the Wine app exits, but that should be a trivial fix. When it's all set I'll put a downloadable .deb package on Google Code and add it to the CinnamonPirate.com Ubuntu repository.

    Last edited by D--; January 10th, 2009 at 08:31 PM.

  9. #59
    Join Date
    Jan 2009
    Beans
    5

    Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)

    thanks very much for your HOWTO

  10. #60
    Join Date
    Aug 2007
    Beans
    13

    Exclamation What about input?

    Thanks for the HOW-TO. I finally got Japanese output working.

    However, I also need to be able to input Japanese.

    It seems SCIM-Anthy doesn't carry over to Wine. Nor does cutting-and-pasting work.

    Any advice would be appreciated.

Page 6 of 9 FirstFirst ... 45678 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •