Menu and system tray fonts are too large

Questions about Wine on Linux
Locked
wishbone42
Level 1
Level 1
Posts: 5
Joined: Thu Sep 20, 2012 8:00 am

Menu and system tray fonts are too large

Post by wishbone42 »

Hi,

I have been reasonably successful in installing Wine 1.5.6 on openSUSE 12.2 on a Dell Inspiron 1300 laptop, and have installed FSViewer and Notepad++ applications in this environment. However, the size of the fonts in the top menu bars, menus, and the lower system trays of Wine File and these applications is very large. Despite the fact that they are at the lowest setting of 96 dpi under the graphics tab of Wine Config. (I am able to make the displayed fonts larger by increasing the dpi.) All other fonts in the applications appear to be OK. It just appears to affect the main application window.

I have attached a screenshot illustrating the issue together with the Wine config graphics tab showing the font setting.

BTW. I have also added the following to wine.ini and rebooted wine (wineboot) upon a suggestion from another post, but with no change.

[Desktop]
MenuFontSize=9
MessageFontSize=9
StatusFontSize=9
IconTitleSize=9

Any suggestions as to how I may be able to adjust these errant font sizes will be most appreciated.

Thanks and regards,
Attachments
winefile_large_font.jpeg
wine_large_font.jpeg
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Menu and system tray fonts are too large

Post by dimesio »

Upgrade Wine. There was a regression affecting the font size of UI elements that was fixed in 1.5.7.
wishbone42
Level 1
Level 1
Posts: 5
Joined: Thu Sep 20, 2012 8:00 am

Re: Menu and system tray fonts are too large

Post by wishbone42 »

dimesio,
Thank you. I have emailed Marcus, as there doesn't appear to be a 1.5.7 RPM available in the openSUSE 12.2 repository at this time.
Regards,
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Menu and system tray fonts are too large

Post by dimesio »

Upgrade to the current development release, 1.5.13. That's what's in the repository.
wishbone42
Level 1
Level 1
Posts: 5
Joined: Thu Sep 20, 2012 8:00 am

Re: Menu and system tray fonts are too large

Post by wishbone42 »

Hi dimesio,

As suggested I have downloaded and installed the following rpms under root using rpm -Uvh from the command line.

wine-1.5.13-190.1.i586.rpm
plus dependencies
wine-gecko-1.7-29.1.noarch.rpm
wine-mono-0.0.4-5.3.noarch.rpm

I then rebooted wine and received the following errors

# wineboot
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:xrandr:xrandr12_init_modes Failed to get output info.
err:xrandr:xrandr12_init_modes Failed to get output info.
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x110e8e0, overlapped 0x110e8ec): stub
err:xrandr:xrandr12_init_modes Failed to get output info.
wine: configuration in '/root/.wine' has been updated.
err:xrandr:xrandr12_init_modes Failed to get output info.

Wine does run, but the large font error persists.

Would it make sense to uninstall and start again?

Thanks and regards,
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Menu and system tray fonts are too large

Post by dimesio »

wishbone42 wrote: wine: configuration in '/root/.wine' has been updated.
You should not be running Wine as root. Delete that wineprefix and reinstall your apps as a normal user.
wishbone42
Level 1
Level 1
Posts: 5
Joined: Thu Sep 20, 2012 8:00 am

Re: Menu and system tray fonts are too large

Post by wishbone42 »

Hi,

In actuality, I believe I had loaded the applications as the user, but just to be sure I deleted everything and started again with wine-1.5.13.190.1

The attached screenshot shows the application FastStone Viewer and also the Winefile dialog box. Both have the large font. So the problem appears common to both application and program.

Thanks and best regards,
Attachments
wine_large_font_1.5.13.jpeg
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Menu and system tray fonts are too large

Post by dimesio »

By "deleted everything" do you mean the wineprefix? If not, you need to, because the bug leaves behind registry keys that persist even after upgrading Wine. If you are still seeing the problem in a clean wineprefix created under 1.5.13, file a bug.
wishbone42
Level 1
Level 1
Posts: 5
Joined: Thu Sep 20, 2012 8:00 am

Re: Menu and system tray fonts are too large

Post by wishbone42 »

Hi dimesio,

Thanks for the information. I had deleted wine using YAST, but did not delete the /home/user/.wine directory.

I have once again deleted wine using YAST and deleted the /home/user/.wine directory.

In addition, I deleted wine directories in /home/user/.local/share/applications/wine and /home/user/.kde4/share/apps/dolphin/view_properties/local/usr/share/wine for good measure.

I've re-installed wine-1.5.13 and I'm pleased to report that the font sizes are now consistent and the size I expect them to be.

Thanks very much for your help.
Locked