[GNC] Blurry Font Issue on Windows

Taull Boi taullboi at gmail.com
Sat Feb 13 21:51:24 EST 2021


>From the code, it looks like the two places (calendar in scheduled
transactions and register header) that I see blurry fonts, there are calls
to cairo_image_surface_create. So this may be a cairo issue, but I am not
sure who to contact about it.

grep -nH -r --exclude=*\.svn* -e cairo_image_surface .
./gnome-utils/gnc-dense-cal.c:730:    dcal->surface =
cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
./gnome-utils/gnc-dense-cal.c:921:
cairo_image_surface_get_width (dcal->surface),
./gnome-utils/gnc-dense-cal.c:922:
cairo_image_surface_get_height (dcal->surface));
./register/register-gnome/gnucash-header.c:81:    header->surface =
cairo_image_surface_create (CAIRO_FORMAT_ARGB32,



On Sat, Feb 13, 2021 at 9:26 PM Taull Boi <taullboi at gmail.com> wrote:

> Hi John,
>
> Thanks for the suggestion. I tried various settings under "Change high DPI
> settings". There are three options under "High DPI scaling override":
> application, system, system (enhanced). If I enable this scaling option and
> use "system" or "system (enhanced)" all gnucash fonts become blurry on my
> system. If I use "application", then I see the same behavior as when I
> disable this option: most fonts look good except for a few. This appears to
> suggest that Gnucash is handling the font scaling mostly correctly but it
> is broken for certain widgets.
>
> On Sat, Feb 13, 2021 at 6:37 PM John Ralls <jralls at ceridwen.us> wrote:
>
>> HiDPI Display?
>> Make sure that application scaling is enabled in System>Display>Advanced
>> settings. If that doesn't do it there are some more settings that you can
>> get to on the compatibility tab of the start menu shortcut properties:
>> There's a button called Change high DPI settings.
>>
>> Regards,
>> John Ralls
>>
>>
>> > On Feb 13, 2021, at 2:30 PM, David Carlson <david.carlson.417 at gmail.com>
>> wrote:
>> >
>> > I seem to recall that GnuCash uses a couple of fonts that are not
>> available
>> > in Windows, so Windows substitutes something else.  If you can find
>> those
>> > and make your own substitutions that may solve your problem.  I am not
>> sure
>> > if those are hard coded in the program or how to implement them.
>> >
>> > On Sat, Feb 13, 2021 at 2:58 PM Taull Boi <taullboi at gmail.com> wrote:
>> >
>> >> Hi,
>> >>
>> >> I have just started using gnucash 4.4 (after upgrading from 2.6.21) on
>> >> Windows 10. While most text has sharp fonts, I see a few locations
>> (header
>> >> row of the gnucash register, calendar in the scheduled transactions
>> window)
>> >> that have blurry fonts, as shown in the attached images. I have not
>> made
>> >> any changes via CSS to the default fonts that gnucash is using (I
>> think it
>> >> is using the "Segoe UI" font).
>> >>
>> >> I am wondering why most fonts in gnucash look sharp but a few are
>> blurry.
>> >> Is this a known problem/is there a way to fix this problem?
>> >>
>> >> My default laptop display resolution is 2560x1440. I am using 200%
>> scaling
>> >> on Windows. When I use 100% scaling, the blurry font issue goes away,
>> but
>> >> then all fonts on my laptop are really small and unreadable, and so
>> this is
>> >> not a viable solution.
>> >>
>> >> Thanks for your help.
>> >> _______________________________________________
>> >> gnucash-user mailing list
>> >> gnucash-user at gnucash.org
>> >> To update your subscription preferences or to unsubscribe:
>> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> >> If you are using Nabble or Gmane, please see
>> >> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> >> -----
>> >> Please remember to CC this list on all your replies.
>> >> You can do this by using Reply-To-List or Reply-All.
>> >>
>> >
>> >
>> > --
>> > David Carlson
>> > _______________________________________________
>> > gnucash-user mailing list
>> > gnucash-user at gnucash.org
>> > To update your subscription preferences or to unsubscribe:
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> > If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> > -----
>> > Please remember to CC this list on all your replies.
>> > You can do this by using Reply-To-List or Reply-All.
>>
>>


More information about the gnucash-user mailing list