Unable to run Watchtower Library 2007 Japanese : font ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Unable to run Watchtower Library 2007 Japanese : font ?

Post by Aurélien »

Hello,
I was using both version of WTLib 2007 (French and Japanese) under Unbuntu7.10 and Wine 0.9.47 and it worked fine with just an installation of VCRedist and some japanese fonts in windows folder. But recently i moved my system to the new Ubuntu8.04 with the last version of wine : 1.0 RC1.

I read that i don't need to install vcredist and font anymore. It's supposed to be a platinum app now and that's true with my french or english version ... But not with my Japanese one !

So i tried many tips found on appdb without any success. I tried to install msttcorefont, vcredist, copy manually some font files to font folder and so on.
It still don't work.

Here is what i get when running the application from the shell:

Code: Select all

aurelien@aurelien-laptop:~/.wine/drive_c/Program Files/Watchtower/MEPSCommon$ export LANG="ja_JP"
aurelien@aurelien-laptop:~/.wine/drive_c/Program Files/Watchtower/MEPSCommon$ env WINEPREFIX="/home/aurelien/.wine" wine "C:\Program Files\Watchtower\Watchtower Library 2007\J\WTLibrary.exe"
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
fixme:font:WineEngCreateFontInstance Untranslated charset 228
fixme:font:WineEngCreateFontInstance Untranslated charset 228
Well any help would be really appreciated, because i really need to make this soft working ...
Thank you
Aurélien.
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Post by Aurélien »

Hi,
It seems that nobody can/want help me out ...
This is a regression in code because it works on the 0.9.47 version with : vcredist installed + commctrl.dll overwrited (not really needed, just for tooltips) + japanese font.

I know that WTLib is not a free software but i can provide any result you want in order to fix that bug. Just tell me what should i do !

Thanks,
Aurélien.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

There was a thread awhile back about problems using Japanese fonts with some other program:
http://forum.winehq.org/viewtopic.php?t ... anese+font
The solution in that case may not be applicable to your problem, of course, but you might want to take a look at it.
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Post by Aurélien »

dimesio wrote:There was a thread awhile back about problems using Japanese fonts with some other program:
http://forum.winehq.org/viewtopic.php?t ... anese+font
The solution in that case may not be applicable to your problem, of course, but you might want to take a look at it.
Thank you dimesio but i've already tried this solution. As you can see on my logs, the first command i used was

Code: Select all

$export LANG="ja_JP"
In fact i'm wondering about the object registration i see in my logs ..

Code: Select all

class {96749377-3391-11d2-9ee3-00c04f797396}
Maybe if i can register this object the program would run ?

If anyone have an idea... :cry:
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Unable to run Watchtower Library 2007 Japanese : font ?

Post by austin987 »

On Fri, May 23, 2008 at 2:57 AM, Aurélien <[email protected]> wrote:
Hi,
It seems that nobody can/want help me out ...
This is a regression in code because it works on the 0.9.47 version with : vcredist installed + commctrl.dll overwrited (not really needed, just for tooltips) + japanese font.

I know that WTLib is not a free software but i can provide any result you want in order to fix that bug. Just tell me what should i do !

Thanks,
Aurélien.





Please run a regression test:
http://wiki.winehq.org/RegressionTesting
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Post by Aurélien »

Hi everybody !
I'm back ;-)

I've found why WTLib crashed ! :idea:

In fact it's always linked to font files. I dunno why but the application cannot load a proper japanese font on startup so the application looks for Wingding.ttf file in order to display smileys instead of characters.
Here is a screenshot about the smileys displayed ...
Image

But this file is missing in the .wine/c_drive/Windows/Fonts folder. That's why the application shows a popup alert (that cannot be read because japanese font is not displayed) and stop, if we install the application from scratch.
Image

So my first question is : is there another linux font that i can install to replace the wingding one? Or is there a solution to avoid this problem ?

Fortunately, WTLib can use a specified font file under its "preferences" menu.
So I'm now able to see japanese content except some controls like buttons, menus or tree view 's elements.
Here is a screenshot
Image
So my second question is : is it a bug ? Maybe there are some tips to do in order to fix the display or maybe this is actually a missing feature from wine controls ...

Thank you for your help.
Aurélien.
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Post by Aurélien »

Can someone answer my questions ?

Can i hope to have a full unicode font support for the next Wine 1.0 version ? Or are these problems linked to missing feature that should be implemented in 1.x next release ?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Unable to run Watchtower Library 2007 Japanese : font ?

Post by austin987 »

On Fri, May 30, 2008 at 1:26 PM, Aurélien <[email protected]> wrote:
Can someone answer my questions ?
Can you run the regression test as I already asked?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Aurélien wrote:Can i hope to have a full unicode font support for the next Wine 1.0 version ?
Wine already fully supports it.
Aurélien wrote:Or are these problems linked to missing feature that should be implemented in 1.x next release ?
Most likely because you setting the wrong locale:

Code: Select all

aurelien@aurelien-laptop:~/.wine/drive_c/Program Files/Watchtower/MEPSCommon$ export LANG="ja_JP"
You should use "ja_JP.UTF-8" instead.
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Post by Aurélien »

Thank you vitamin for your reply.

You're right : i changed the locale value and now the display is fine everywhere. :D :D
I'm just wondering if we can change automatically that locale value when running my application only.
Is there something to add in the shortcut command to do such thing :?:

EDIT: OK i've found how to do ... here is the right shortcut command :

Code: Select all

env  LANG="ja_JP.UTF-8" WINEPREFIX="/home/aurelien/.wine" wine "C:\Program Files\Watchtower\Watchtower Library 2007\J\WTLibrary.exe"
So i guess it should be the same way to fix any other Unicode language...

Well I have to say a great thank's to everyone working hard on that project !
Keep up the good work!
delt
Newbie
Newbie
Posts: 3
Joined: Fri May 30, 2008 3:29 pm

Post by delt »

Just put export LANG="ja_JP.UTF-8" in your ~/.bash_profile.

btw i thought the Watchtower library didn't cost anything but is typically only for Jehovah Witnesses... ?
Aurélien
Level 1
Level 1
Posts: 8
Joined: Thu May 15, 2008 12:55 pm

Post by Aurélien »

delt wrote:Just put export LANG="ja_JP.UTF-8" in your ~/.bash_profile.

btw i thought the Watchtower library didn't cost anything but is typically only for Jehovah Witnesses... ?
It's always the case :wink:
Locked