[GNC] Changing Global Font to Aptos Narrow

Gilberto Reis Filho gilberto.reis.filho at gmail.com
Fri Feb 28 07:31:44 EST 2025


Hi John, I just took a deeper dive on this.

This is what is within the fonts directory in Win11 (C:\Windows\Fonts):

https://1drv.ms/i/c/a80dbceece13ec4e/EbJ3eZx9BfZEnBGx1wr-zWQB5dvZ9DOgO5WDIWzMKTeBdw?e=baFPEM

Aptos Narrow seems to be within the Aptos ttf file (bear with me here
because I am not savvy on how windows fonts work).

Thanks.

On Fri, Feb 28, 2025 at 12:54 AM John Ralls <jralls at ceridwen.us> wrote:

> Are you sure that Aptos-Narrow.ttf exists in a directory on the fontconfig
> path? That’s a distinct file from Aptos.ttf.
>
> Regards,
> John Ralls
>
>
>
> > On Feb 27, 2025, at 14:53, Gilberto Reis Filho <
> gilberto.reis.filho at gmail.com> wrote:
> >
> > Thanks. Does not work either. The CSS part I am interested in is this
> (just
> > to change the global font):
> >
> > * {
> >  font: 10pt calibri, sans-serif;
> > }
> >
> > It works for most of the installed fonts (lucida, courier new, times new
> > roman etc. etc.) however, as you said, for some reason it does not work
> for
> > all fonts installed.
> >
> > Not a big deal though. Thanks.
> >
> > On Thu, Feb 27, 2025 at 7:41 PM Fross, Michael <michael at fross.org>
> wrote:
> >
> >> Here is my gtk-3.0.css.  I'm on windows and I have it in my
> >> appdata\roaming\gnucash folder.  GNUCash Help|About will tell you the
> >> GNC_USERCONFIG_DIR you should put the file in.
> >>
> >> I have found that not every font works.  Also, this changes some of the
> >> register colors (I don't care for the default ones.)  Simply delete
> those
> >> bit if they are not to your liking.
> >>
> >> Regards,
> >>
> >> Michael
> >>
> >>
> >> /* Frosty's GTK file for GnuCash colors
> >> *
> >> * Reference:
> >> *   Color Picker: https://htmlcolorcodes.com/color-picker/
> >> *   Palettes: https://www.colorhunt.co/palettes/
> >> *   GnuCash Reference:
> >> https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css
> >> *
> >> */
> >>
> >>
> >> /*
> >> * Define colors here to be used below
> >> */
> >> @define-color header #656565;
> >> @define-color reg1 #E5D8C6;
> >> @define-color reg2 #C5BAAA;
> >> @define-color highlighted #FFC67A;
> >> @define-color split #FFC67A;
> >>
> >>
> >> /* Overall Appearance */
> >> * {
> >> font: 20px "Segoe UI Light", sans-serif;
> >> }
> >>
> >>
> >> /* Register Header :Color */
> >> .gnc-class-user-register-header {
> >> background-color: @header;
> >> color: white;
> >> }
> >>
> >> /*
> >> * Register Primary
> >> */
> >> .gnc-class-user-register-primary {
> >> background-color: @reg1;
> >> color: black;
> >> }
> >>
> >> .gnc-class-user-register-primary:disabled {
> >> background-color: @reg1;
> >> color: black;
> >> }
> >>
> >>
> >> /*
> >> * Register secondary
> >> */
> >> .gnc-class-user-register-secondary {
> >> background-color: @reg2;
> >> color: black;
> >> }
> >>
> >> .gnc-class-user-register-secondary:disabled {
> >> background-color: @reg2;
> >> color: black;
> >> }
> >>
> >> /*
> >> * Highlighted Row
> >> */
> >> .gnc-class-user-register-cursor {
> >> background-color: @highlighted;
> >> color: black;
> >> border-radius: 2px;
> >> }
> >>
> >> /*
> >> * Drop down split colors
> >> */
> >> .gnc-class-user-register-split {
> >>  background-color: @split;
> >>  color: black;
> >> }
> >>
> >> .gnc-class-user-register-split:disabled {
> >>  background-color: @spit;
> >>  color: black;
> >> }
> >>
> >> On Thu, Feb 27, 2025 at 4:29 PM Gilberto Reis Filho <
> >> gilberto.reis.filho at gmail.com> wrote:
> >>
> >>> Hello, I already tried this, however it does not work.
> >>>
> >>> --------
> >>>
> >>> Maybe you need to enclose the font name in quotes, since it contains a
> >>> space? "aptos narrow" instead of just aptos narrow. That's what I had
> to
> >>> do to use "Lucida Grande"
> >>>
> >>>
> >>> On Tue, Feb 25, 2025 at 6:45 PM Gilberto Reis Filho <
> >>> gilberto.reis.filho at gmail.com> wrote:
> >>>
> >>>> Hello. I cannot change the global font of Gnucash to Aptos Narrow. I
> use
> >>>> the gtk-3.0.css method.
> >>>>
> >>>> This is the current contents of the css text file:
> >>>>
> >>>> *{
> >>>>  font: 10pt calibri, sans-serif;
> >>>> }
> >>>>
> >>>> If I change "calibri" above to "aptos" it works fine. If I change it
> to
> >>>> "aptos narrow" ou "aptos-narrow" it does not work.
> >>>>
> >>>> The Aptos Font Family is installed system wide.
> >>>>
> >>>> Any help is appreciated.
> >>>>
> >>>> Regards.
> >>>>
> >>> _______________________________________________
> >>> 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
> >>> -----
> >>> 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
> > gnucash-user at gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > 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.
>
>


More information about the gnucash-user mailing list