[GNC] Changing typeface using CSS (Windows 10)

TERRENCE BRANSCOMBE tlbranscombe at shaw.ca
Wed Dec 21 00:15:58 EST 2022


Yeah, had precisely what you had in your screenshot. 

Here is what is now in my gtk-3.0.css file: 

/* Application wide font setting */ 
* { 
font: 18px Microsoft Consolas; 
} 

No visible result, I'm afraid. 

Cheers, 
Terry 


From: "Glenn Fowler" <gfowler1 at outlook.com> 
To: "TERRENCE BRANSCOMBE" <tlbranscombe at shaw.ca> 
Cc: "GnuCash users group" <gnucash-user at gnucash.org> 
Sent: Tuesday, December 20, 2022 6:18:54 PM 
Subject: Re: [GNC] Changing typeface using CSS (Windows 10) 

It would be the "Roaming" folder. There is probably a syntax error. Just copy/paste the whole thing, save, and restart GnuCash. 


On Tue, Dec 20, 2022 at 2:34 PM TERRENCE BRANSCOMBE < [ mailto:tlbranscombe at shaw.ca | tlbranscombe at shaw.ca ] > wrote: 



Thanks for the suggestion, Glenn. 

I tried this in both the "Roaming" and the "Local" versions of the gtk-3.0.css file; but, neither had any effect on the typeface I see. 

Also, I did see you used "24px" whereas I had "24pt" originally, so I went with your suggestion. 

Terry 


From: "Glenn Fowler" < [ mailto:gfowler1 at outlook.com | gfowler1 at outlook.com ] > 
To: "TERRENCE BRANSCOMBE" < [ mailto:tlbranscombe at shaw.ca | tlbranscombe at shaw.ca ] > 
Cc: "gnucash-user" < [ mailto:gnucash-user at gnucash.org | gnucash-user at gnucash.org ] > 
Sent: Monday, December 19, 2022 3:43:07 PM 
Subject: Re: [GNC] Changing typeface using CSS (Windows 10) 

This should work: 

/* Application wide font setting */ 

* { 
font : 24px Microsoft Calibri; 
} 

On Mon, Dec 19, 2022 at 6:33 PM TERRENCE BRANSCOMBE < [ mailto:tlbranscombe at shaw.ca | tlbranscombe at shaw.ca ] > wrote: 

BQ_BEGIN
Hello all, 

I've been a user for all of 2 weeks, so I apologize to everyone if this question/subject has been beaten to death in the past. My research online has not resulted in a fix, though, so I'd like to ask: has anyone running gnucash 4.12 or 4.13 on Windows 10 managed to change font families using CSS ? The documentation I've found on the subject suggests Windows users can change typefaces using CSS by editing the file GNC_CONFIG_HOME/gtk-3.0.css by adding a section like this : 

/* Application wide font setting */ 
gnc-id-main-window { 
font-family: Microsoft Calibri; 
font-size: 24pt; 
} 

Following these directions I edited the file gtk-3.0.css in the folder C:\Users\<username>\AppData\Roaming\GnuCash with the setting shown above; but, upon restarting gnucash I see absolutely no font change whatsoever. For grins, I copied this file to the AppData\Local\GnuCash directory as well, and again restarted gnucash. Sadly, same non-result. 

Any hints greatly appreciated, 

Terry 
_______________________________________________ 
gnucash-user mailing list 
[ mailto:gnucash-user at gnucash.org | gnucash-user at gnucash.org ] 
To update your subscription preferences or to unsubscribe: 
[ https://lists.gnucash.org/mailman/listinfo/gnucash-user | https://lists.gnucash.org/mailman/listinfo/gnucash-user ] 
----- 
Please remember to CC this list on all your replies. 
You can do this by using Reply-To-List or Reply-All. 




BQ_END




More information about the gnucash-user mailing list