Followup: I found that using selector #gnc-id-main-window let me set the 
font-family globally on Windows.

Regards,
John Ralls


> On Dec 5, 2020, at 5:32 PM, John Ralls <[email protected]> wrote:
> 
> Sigh, it looks like the Gtk Windows Devs have broken using settings.ini, see 
> https://gitlab.gnome.org/GNOME/gtk/-/issues/1774.
> 
> I was able to get the register font to change to Times New Roman in the 
> register by creating 
> C:\Users\John Ralls\AppData\Local\gtk-3.0\gtk.css
> with the contents
> gnc-id-sheet {
>    font-family: Times New Roman;
>    font-size: 12pt;
> }
> 
> Putting the file in Roaming instead of Local didn't work. Using '*' instead 
> of 'gnc-id-sheet' changed the font size for everything but the font family 
> was ignored. Note that the css class names have changed since the wiki page 
> was written so you'll need to use the Gtk Inspector to find the current 
> classes if you want to style other things.
> 
> Regards,
> John Ralls
> 
> 
>> On Dec 5, 2020, at 3:49 PM, Carlo Pelandini <[email protected]> wrote:
>> 
>> John:
>> I must be missing something:  I created settings.ini in %LOCALAPPDATA% 
>> (C:\Users\Steve\AppData\Local\gtk-3.0) to include:
>> 
>> [Settings]
>> gtk-font-name=Arial 14
>> 
>> Per the instructions you pointed me to.   It made no difference to the font 
>> displayed in the Register.  Is there another location I’m missing, or 
>> another file that points to this location that needs to be edited?
>> 
>> Thanks for any info….
>> 
>> Carlo
>> 
>> 
>>> On Dec 5, 2020, at 10:27 AM, Carlo Pelandini <[email protected]> wrote:
>>> 
>>> I just upgraded to GnuCash v. 4.2 from v. 3.1 on Windows 10.
>>> 
>>> In version 3.1, my Register font was bold (and I’m guessing) Arial 12 
>>> point. 
>>> In version 4.2, it seems to have defaulted to  some unknown 8 point font.  
>>> 
>>> I cannot find any Help manual or Wiki subject that describes how to change 
>>> the Register fonts on Windows 10, other than referencing the Display 
>>> settings under User Access.  Since these settings do not tell you what the 
>>> font is (Thanks Windows for making things so obtuse) – only the 
>>> magnification, I do not know what my default settings really are. 
>>> 
>>> So, how do I set default Register fonts in GnuCash on my Windows 10 OS? 
>> 
>> https://wiki.gnucash.org/wiki/GTK3#Typefaces
>> 
>> 
>> Carlo
>> 
>> From: John Ralls
>> Sent: Saturday, December 5, 2020 10:59 AM
>> To: Carlo Pelandini
>> Cc: [email protected]
>> Subject: Re: [GNC] Silly font question?
>> 
>> 
>> 
>> 
>> 
>> 
>>      
>> This email has been checked for viruses by AVG antivirus software. 
>> www.avg.com
>> 
> 
> _______________________________________________
> gnucash-user mailing list
> [email protected]
> 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.

_______________________________________________
gnucash-user mailing list
[email protected]
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.

Reply via email to