Winbox + Wine = Black Borders

Hi, I am facing a strange problem that I do not know if you already have a solution or “work around”.
When I open the Winbox through Wine (Linux) all buttons are a black border and the window are difficult to understand, attached is an example screen.
I’ve done tests with newer and older versions of Winbox.exe and Wine (1.2 and 1.3).
Someone could tell me anything?

Thank you in advance any help.
Captura_de_tela.jpg

It looks like changed appearance of default theme. Open winecfg and check ‘Desktop integration’ tab

I checked I do not have any customization or theme installed.

I am seeing this, too. At one time, there was a problem with the fonts (you need msttcorefonts installed). I have installed 2 versions of these fonts and still this problem persists. I just removed my .wine directory to ensure that my wine customizations were not causing this issue. I am using Fedora 14 (new install) with wine 1.3.17. I would be very happy to see any help on this front, as this is really a painful way to use winbox. I generally use CLI for my own routers, but I use winbox to “remember” customer passwords. PLEASE, if anyone has some ideas, I’m game to try anything.

I think I’m on the track to fixing this issue. When I debug wine as it is loading winbox, it is looking for (and not finding) these font files: vgaoem.fon,vgafix.fon,serife.fon

Anyone have an idea where I can find these?

There is no hope. Cus mikritik said: “winbox and the dude working perfect on wine and you dont need linux native versions”. LOL

and other LOL for mikrotik cus they are using linux kernel for there software for free and they are not making linux native clients for this software.

You might find this interesting;

http://support.microsoft.com/kb/315338

Perhaps the other files are in there too.

This is even more interesting;

http://ubuntuforums.org/archive/index.php/t-1032748.html

BladeforgerJanuary 21st, 2009, 07:38 PM
Well it appears I was looking at the wrong thing altogether. The fix was to alter a line in ~/.wine/system.reg.
It had some ridiculous number there and I changed it to 60 dpi just to be safe. here is what it looks like now:

[System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts] 1225516090
“FIXEDFON.FON”=“vgafix.fon”
“FONTS.FON”=“vgasys.fon”
“LogPixels”=dword:00000060
“OEMFONT.FON”=“vgaoem.fon”

Much better, I hope this helps someone out there.> :guitar:
It did help someone else out there… ME! Thanks. This helped me fix the problem of turning the screen resolution up way too high to see all of the screen… just as described in the original post.


SilverPotatoJanuary 22nd, 2009, 05:15 PM
This is easy!

If you have a separate boot for Windows (2K, XP, or Vista) you just copy the fonts from the C:\Windows\Fonts\ folder into your Wine’s windows\fonts\ folder.

Simple as that.

I don’t need a native Linux version. I just need to find the proper fonts.

I’ve seen that one as well as the other one you mentioned. I don’t have a windows xp (or windows anything for that matter) CD. I don’t use Windows, so those are not an option. Thanks for the ideas and your search, though.

I have the same issue. I install ubuntu 10.10 about 1 month ago and since it I have the black wine. I try to reinstall fonts, configuration of registry, themes and it don’t work.

M.

it is a long shot, but if you have Intel card you should try to upgrade your drivers. There are reports of different windows programs having these black artefacts in simple UI interface using wine on different flavours of Linux.

check if you are running xf86-video-intel 2.12.0 or newer if so, try to downgrade to 2.11.0

Hello, i’m using Ubuntu 11.04 and for solve my problem I added to the registry of Wine:

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
“ClientSideWithRender”=“N”

Create a file test.reg with this key, and on terminal:
regedit test.reg

My problem was solved.

Thanks!!! This was the solution. I give your karma.

M.

Finally, many thanks to all friends, problems solved.

I downgraded to Fedora 13, which uses the intel driver verion 2.11.0 and this solved my problem as well.

Awesome! Where in the world did you find this? I’ve googled for WEEKS!

I’m was searching for problem in winbox, but i’ve found in freedesktop.org forums.
A little lucky.

Finally!! :smiley: :smiley: I’ve been looking for a solution to this problem for a long time!

Thanks darkwarrior!!

Old thread, I know, but I had a similar problem after upgrading to Ubuntu 14.04 and this workaround fixed it. Winbox fonts changed, text fields were incomplete, and text cursor was misplaced, so when I typed something, new text appeared in a different place than the cursor. Like this:
winbox-badfonts-fixed.jpg
winbox-badfonts.jpg