Use Segoe UI as UI font on Windows

Bug #1439015 reported by Rimas Kudelis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Wishlist
Maxime DOYEN

Bug Description

After upgrading to 5.0, I have noticed that the new Gtk3-based UI looked less native than it used to. One of the most obvious reasons for this is the UI font which is used. I don't know if GTK is supposed to inherit that font directly from Windows by default (that would be great), but I'm pretty sure that it does not, at least not now. So here's a simple fix for this issue:

In Program Files\HomeBank\etc\gtk-3.0\settings.ini, the following line:

#gtk-font-name = Open Sans 14

should be replaced with this:

gtk-font-name = Segoe UI 9

This results in a much better looking application. Check out the screenshot for yourself

Revision history for this message
Rimas Kudelis (rq) wrote :
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

This parameter is ignored as # means comment
So normally gtk should take the system font.

Adding to this the gtk3 theme needs also some tweak as it is imperfect to mimic the Aero theme.
The worst is that in newer version of gtk (> 3.12) there seems to impose Adwaita as the default theme to unify theme of gtk apps between different platform, hope there will be a way to keep a windows native look and feel anyway.

Revision history for this message
Rimas Kudelis (rq) wrote :

Of course the comment is ignored. However, the line I'm suggesting to replace the comment with is not a comment. :)

If they do that, perhaps you should consider migrating to Qt instead of gtk, as some other projects have done or are doing? ;)

Maxime DOYEN (mdoyen)
Changed in homebank:
assignee: nobody → Maxime Doyen (mdoyen)
importance: Undecided → Wishlist
milestone: none → 5.0.1
status: New → Confirmed
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Confirmed → Fix Committed
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
Rimas Kudelis (rq)
Changed in homebank:
status: Fix Released → New
Revision history for this message
Rimas Kudelis (rq) wrote :

I've reopened this bug. Each time I upgrade HomeBank, I have to edit the settings.ini file again to restore Segoe UI as the font of my choice. If I remember correctly, the reason why you didn't want to enable Segoe UI by default was that this font does not exist in Windows XP. Perhaps now that this old relic is no longer supported, you would agree to review that decision?

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

No, if you want to permanently do change dedicated to you, then follow instruction here:
https://answers.launchpad.net/homebank/+faq/2496

The choice is not only related to windows XP, if at a point this should change, then that will be the choice of GTK+ maintainers, not mime to impose this to every users.

Changed in homebank:
status: New → Fix Released
Revision history for this message
Rimas Kudelis (rq) wrote :

Well, it's up to you of course, but I don't see why you should think you have no right to override GTK's decisions. After all, you *are* shipping a copy of GTK with your application, and that copy is only used by your application.

Revision history for this message
dforionstar (dforionstar) wrote :

I am a new user comparing HomeBank 5.1.5 with GnuCash, a similar application.

I initially encountered the Huge Font issue after initial install of HomeBank as portable. I then re-installed it on another Windows 7 computer as full install, and encountered the same Huge Font issue a second time. I have closed the app. and edited the Settings.ini file per instructions above, and then re-started the application with the same Huge Font results. Neither of my Windows 7 machines are responding to font changes in the Settings.ini file and in both instances, HomeBank remains unusable due to Huge Fonts. I am professional IBM software engineer and understand how to edit ini files.

Please advise,
Thank you
Dave

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.