[GNC] Changing Global Font to Aptos Narrow
John Ralls
jralls at ceridwen.us
Fri Feb 28 15:12:13 EST 2025
Please remember to copy the list on all replies. After all, I’m not the one who needs to know this, Gilberto is.
Regards,
John Ralls
> On Feb 28, 2025, at 9:20 AM, Lance Kibblewhite <lance at kibblewhite.net> wrote:
>
> On my Windows 11, I have installed the Aptos fonts.
>
> Download from: https://www.microsoft.com/en-us/download/details.aspx?id=106087
> File name: Microsoft Aptos Fonts.zip
>
> Narrow shows as a variant of the Aptos font, but it is in its own file:
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9210 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20250228/0cdf8957/attachment.png>
-------------- next part --------------
>
> Aptos.ttf
> Aptos-Black.ttf
> Aptos-Black-Italic.ttf
> Aptos-Bold.ttf
> Aptos-Bold-Italic.ttf
> Aptos-Display.ttf
> Aptos-Display-Bold.ttf
> Aptos-Display-Bold-Italic.ttf
> Aptos-Display-Italic.ttf
> Aptos-ExtraBold.ttf
> Aptos-ExtraBold-Italic.ttf
> Aptos-Italic.ttf
> Aptos-Light.ttf
> Aptos-Light-Italic.ttf
> Aptos-Mono.ttf
> Aptos-Mono-Bold.ttf
> Aptos-Mono-Bold-Italic.ttf
> Aptos-Mono-Italic.ttf
> Aptos-Narrow.ttf
> Aptos-Narrow-Bold.ttf
> Aptos-Narrow-Bold-Italic.ttf
> Aptos-Narrow-Italic.ttf
> Aptos-SemiBold.ttf
> Aptos-SemiBold-Italic.ttf
> Aptos-Serif.ttf
> Aptos-Serif-Bold.ttf
> Aptos-Serif-Bold-Italic.ttf
> Aptos-Serif-Italic.ttf
>
>
>
> From: gnucash-user <gnucash-user-bounces+lance=kibblewhite.net at gnucash.org> on behalf of John Ralls <jralls at ceridwen.us>
> Sent: Friday, February 28, 2025 13:20
> To: Gilberto Reis Filho <gilberto.reis.filho at gmail.com>
> Cc: gnucash-user at gnucash.org <gnucash-user at gnucash.org>
> Subject: Re: [GNC] Changing Global Font to Aptos Narrow
> Gilberto,
>
> Nope, every variation is its own file, see https://learn.microsoft.com/en-us/typography/font-list/aptos. GnuCash can’t use Aptos narrow because you don’t have it.
>
> https://support.microsoft.com/en-us/office/cloud-fonts-in-office-f7b009fe-037f-45ed-a556-b5fe6ede6adb may explain why you’re able to use it in Microsoft applications without actually installing it on your computer, and of course Microsoft Office 365 is software-as-a-service that runs on Microsoft’s servers.
>
> Regards,
> John Ralls
>
> > On Feb 28, 2025, at 04:31, Gilberto Reis Filho <gilberto.reis.filho at gmail.com> wrote:
> >
> > 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.
> >>
> >>
> > _______________________________________________
> > 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