[GNC] Fonts

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] Fonts

GnuCash - User mailing list
Using V3.5 on Windows 10

 

Hi,  

 

Since upgrading to V3.5 today I have noticed that all the fonts in the
program have changed to a very thin one which doesn't stand out as on the
previous version.

 

How can I change the default text font to one which is bolder and easier to
read.

 

Many thanks,

Gareth

 

 

 

_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
Check the FAQ on the wiki. There is a set of linked pages there detailing how to set your own style sheet to change colors, fonts, padding, etc.

If you want the same font across the entire UI, you’ll want to use the * selector.

Regards,
Adrien

> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user <[hidden email]> wrote:
>
> Using V3.5 on Windows 10
>
>
>
> Hi,  
>
>
>
> Since upgrading to V3.5 today I have noticed that all the fonts in the
> program have changed to a very thin one which doesn't stand out as on the
> previous version.
>
>
>
> How can I change the default text font to one which is bolder and easier to
> read.
>
>
>
> Many thanks,
>
> Gareth

_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

GnuCash - User mailing list
Thanks Adrien for the reply,

I have looked at the Wiki, but as a layman I don’t know exactly what to do,

Regards,
Gareth


-----Original Message-----
From: gnucash-user [mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]] On Behalf Of Adrien Monteleone
Sent: 03 April 2019 16:52
To: Gnucash Users <[hidden email]>
Subject: Re: [GNC] Fonts

Check the FAQ on the wiki. There is a set of linked pages there detailing how to set your own style sheet to change colors, fonts, padding, etc.

If you want the same font across the entire UI, you’ll want to use the * selector.

Regards,
Adrien

> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user <[hidden email]> wrote:
>
> Using V3.5 on Windows 10
>
>
>
> Hi,
>
>
>
> Since upgrading to V3.5 today I have noticed that all the fonts in the
> program have changed to a very thin one which doesn't stand out as on
> the previous version.
>
>
>
> How can I change the default text font to one which is bolder and
> easier to read.
>
>
>
> Many thanks,
>
> Gareth

_______________________________________________
gnucash-user mailing list
[hidden email]
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
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
Create a file using a text editor. (not Notepad) Be certain the editor uses linux/unix line endings.

Name it gtk-3.0.css

Put this in the file:

* {
font: 12px arial, sans-serif;
}

Save it in C:\Users\{your user name}\AppData\Roaming\GnuCash

Start or restart GnuCash.

Adjust the font size and font name in the file as desired, that was just an example. You can also use other font size units like em or pt if you prefer. The font property takes a size and a list of fonts. Generic names like ’sans-serif’ will use the system font of that type. The app will try to use the fonts in the order you give, so if it can’t find or use your first choice, it will fall back to the next one on the list.

Regards,
Adrien

> On Apr 4, 2019, at 6:49 AM, Gareth Davies <[hidden email]> wrote:
>
> Thanks Adrien for the reply,
>
> I have looked at the Wiki, but as a layman I don’t know exactly what to do,
>
> Regards,
> Gareth
>
>
> -----Original Message-----
> From: gnucash-user [mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]] On Behalf Of Adrien Monteleone
> Sent: 03 April 2019 16:52
> To: Gnucash Users <[hidden email]>
> Subject: Re: [GNC] Fonts
>
> Check the FAQ on the wiki. There is a set of linked pages there detailing how to set your own style sheet to change colors, fonts, padding, etc.
>
> If you want the same font across the entire UI, you’ll want to use the * selector.
>
> Regards,
> Adrien
>
>> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user <[hidden email]> wrote:
>>
>> Using V3.5 on Windows 10
>>
>>
>>
>> Hi,
>>
>>
>>
>> Since upgrading to V3.5 today I have noticed that all the fonts in the
>> program have changed to a very thin one which doesn't stand out as on
>> the previous version.
>>
>>
>>
>> How can I change the default text font to one which is bolder and
>> easier to read.
>>
>>
>>
>> Many thanks,
>>
>> Gareth
>


_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Timothy B. Taylor
For what it's worth ... Notepad worked just fine for me ... GnuCash 3.5,
Windows 10 Pro version 1803 ...

After trying a few variations ... various fonts and sizes ... I ended up
with

* { font: 10pt verdana, arial, sans-serif; }

... and by the way it works fine on one line ... Thanks! Tim


On Thu, Apr 4, 2019 at 12:39 PM Adrien Monteleone <
[hidden email]> wrote:

> Create a file using a text editor. (not Notepad) Be certain the editor
> uses linux/unix line endings.
>
> Name it gtk-3.0.css
>
> Put this in the file:
>
> * {
> font: 12px arial, sans-serif;
> }
>
> Save it in C:\Users\{your user name}\AppData\Roaming\GnuCash
>
> Start or restart GnuCash.
>
> Adjust the font size and font name in the file as desired, that was just
> an example. You can also use other font size units like em or pt if you
> prefer. The font property takes a size and a list of fonts. Generic names
> like ’sans-serif’ will use the system font of that type. The app will try
> to use the fonts in the order you give, so if it can’t find or use your
> first choice, it will fall back to the next one on the list.
>
> Regards,
> Adrien
>
> > On Apr 4, 2019, at 6:49 AM, Gareth Davies <[hidden email]>
> wrote:
> >
> > Thanks Adrien for the reply,
> >
> > I have looked at the Wiki, but as a layman I don’t know exactly what to
> do,
> >
> > Regards,
> > Gareth
> >
> >
> > -----Original Message-----
> > From: gnucash-user [mailto:gnucash-user-bounces+gareth.davies.1=
> [hidden email]] On Behalf Of Adrien Monteleone
> > Sent: 03 April 2019 16:52
> > To: Gnucash Users <[hidden email]>
> > Subject: Re: [GNC] Fonts
> >
> > Check the FAQ on the wiki. There is a set of linked pages there
> detailing how to set your own style sheet to change colors, fonts, padding,
> etc.
> >
> > If you want the same font across the entire UI, you’ll want to use the *
> selector.
> >
> > Regards,
> > Adrien
> >
> >> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user <
> [hidden email]> wrote:
> >>
> >> Using V3.5 on Windows 10
> >>
> >>
> >>
> >> Hi,
> >>
> >>
> >>
> >> Since upgrading to V3.5 today I have noticed that all the fonts in the
> >> program have changed to a very thin one which doesn't stand out as on
> >> the previous version.
> >>
> >>
> >>
> >> How can I change the default text font to one which is bolder and
> >> easier to read.
> >>
> >>
> >>
> >> Many thanks,
> >>
> >> Gareth
> >
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
Good to know about Notepad. It could be that older versions of the app weren’t as versatile with line endings.

And yes, multi vs. single line css is just a style convention.


Regards,
Adrien

> On Apr 4, 2019, at 12:49 PM, Timothy B. Taylor <[hidden email]> wrote:
>
> For what it's worth ... Notepad worked just fine for me ... GnuCash 3.5, Windows 10 Pro version 1803 ...
>
> After trying a few variations ... various fonts and sizes ... I ended up with
>
> * { font: 10pt verdana, arial, sans-serif; }
>
> ... and by the way it works fine on one line ... Thanks! Tim
>
>
> On Thu, Apr 4, 2019 at 12:39 PM Adrien Monteleone <[hidden email]> wrote:
> Create a file using a text editor. (not Notepad) Be certain the editor uses linux/unix line endings.
>
> Name it gtk-3.0.css
>
> Put this in the file:
>
> * {
> font: 12px arial, sans-serif;
> }
>
> Save it in C:\Users\{your user name}\AppData\Roaming\GnuCash
>
> Start or restart GnuCash.
>
> Adjust the font size and font name in the file as desired, that was just an example. You can also use other font size units like em or pt if you prefer. The font property takes a size and a list of fonts. Generic names like ’sans-serif’ will use the system font of that type. The app will try to use the fonts in the order you give, so if it can’t find or use your first choice, it will fall back to the next one on the list.
>
> Regards,
> Adrien
>
> > On Apr 4, 2019, at 6:49 AM, Gareth Davies <[hidden email]> wrote:
> >
> > Thanks Adrien for the reply,
> >
> > I have looked at the Wiki, but as a layman I don’t know exactly what to do,
> >
> > Regards,
> > Gareth
> >
> >
> > -----Original Message-----
> > From: gnucash-user [mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]] On Behalf Of Adrien Monteleone
> > Sent: 03 April 2019 16:52
> > To: Gnucash Users <[hidden email]>
> > Subject: Re: [GNC] Fonts
> >
> > Check the FAQ on the wiki. There is a set of linked pages there detailing how to set your own style sheet to change colors, fonts, padding, etc.
> >
> > If you want the same font across the entire UI, you’ll want to use the * selector.
> >
> > Regards,
> > Adrien
> >
> >> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user <[hidden email]> wrote:
> >>
> >> Using V3.5 on Windows 10
> >>
> >>
> >>
> >> Hi,
> >>
> >>
> >>
> >> Since upgrading to V3.5 today I have noticed that all the fonts in the
> >> program have changed to a very thin one which doesn't stand out as on
> >> the previous version.
> >>
> >>
> >>
> >> How can I change the default text font to one which is bolder and
> >> easier to read.
> >>
> >>
> >>
> >> Many thanks,
> >>
> >> Gareth
> >


_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

George Riner
In many windows versions there are 2 apps: notepad.exe and wordpad.exe.

Notepad is a 'text editor'.
Wordpad is a relic of the days of RTF-formatted text. It frequently trips up people thinking it looks like a text editor.

Be sure which one you intend to use.

: George

-- -- --
Sent by Droid.

On April 4, 2019 11:19:01 AM PDT, Adrien Monteleone <[hidden email]> wrote:

>Good to know about Notepad. It could be that older versions of the app
>weren’t as versatile with line endings.
>
>And yes, multi vs. single line css is just a style convention.
>
>
>Regards,
>Adrien
>
>> On Apr 4, 2019, at 12:49 PM, Timothy B. Taylor <[hidden email]>
>wrote:
>>
>> For what it's worth ... Notepad worked just fine for me ... GnuCash
>3.5, Windows 10 Pro version 1803 ...
>>
>> After trying a few variations ... various fonts and sizes ... I ended
>up with
>>
>> * { font: 10pt verdana, arial, sans-serif; }
>>
>> ... and by the way it works fine on one line ... Thanks! Tim
>>
>>
>> On Thu, Apr 4, 2019 at 12:39 PM Adrien Monteleone
><[hidden email]> wrote:
>> Create a file using a text editor. (not Notepad) Be certain the
>editor uses linux/unix line endings.
>>
>> Name it gtk-3.0.css
>>
>> Put this in the file:
>>
>> * {
>> font: 12px arial, sans-serif;
>> }
>>
>> Save it in C:\Users\{your user name}\AppData\Roaming\GnuCash
>>
>> Start or restart GnuCash.
>>
>> Adjust the font size and font name in the file as desired, that was
>just an example. You can also use other font size units like em or pt
>if you prefer. The font property takes a size and a list of fonts.
>Generic names like ’sans-serif’ will use the system font of that type.
>The app will try to use the fonts in the order you give, so if it can’t
>find or use your first choice, it will fall back to the next one on the
>list.
>>
>> Regards,
>> Adrien
>>
>> > On Apr 4, 2019, at 6:49 AM, Gareth Davies
><[hidden email]> wrote:
>> >
>> > Thanks Adrien for the reply,
>> >
>> > I have looked at the Wiki, but as a layman I don’t know exactly
>what to do,
>> >
>> > Regards,
>> > Gareth
>> >
>> >
>> > -----Original Message-----
>> > From: gnucash-user
>[mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]]
>On Behalf Of Adrien Monteleone
>> > Sent: 03 April 2019 16:52
>> > To: Gnucash Users <[hidden email]>
>> > Subject: Re: [GNC] Fonts
>> >
>> > Check the FAQ on the wiki. There is a set of linked pages there
>detailing how to set your own style sheet to change colors, fonts,
>padding, etc.
>> >
>> > If you want the same font across the entire UI, you’ll want to use
>the * selector.
>> >
>> > Regards,
>> > Adrien
>> >
>> >> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user
><[hidden email]> wrote:
>> >>
>> >> Using V3.5 on Windows 10
>> >>
>> >>
>> >>
>> >> Hi,
>> >>
>> >>
>> >>
>> >> Since upgrading to V3.5 today I have noticed that all the fonts in
>the
>> >> program have changed to a very thin one which doesn't stand out as
>on
>> >> the previous version.
>> >>
>> >>
>> >>
>> >> How can I change the default text font to one which is bolder and
>> >> easier to read.
>> >>
>> >>
>> >>
>> >> Many thanks,
>> >>
>> >> Gareth
>> >
>
>
>_______________________________________________
>gnucash-user mailing list
>[hidden email]
>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
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Rare Bear
In reply to this post by Adrien Monteleone-2
WOW!

I have to admit that I've had to squint a little bit more with some of the
latest versions of Gnucash.  Most of the solutions that you see are so much
more involved that, even with past experience in coding & Linux, I've
decided not to mess with it.

This solution was so quick and effective that it's almost unbelievable!

Thank you so very much,

Denny

On Thu, Apr 4, 2019 at 1:20 PM Adrien Monteleone <
[hidden email]> wrote:

> Good to know about Notepad. It could be that older versions of the app
> weren’t as versatile with line endings.
>
> And yes, multi vs. single line css is just a style convention.
>
>
> Regards,
> Adrien
>
> > On Apr 4, 2019, at 12:49 PM, Timothy B. Taylor <[hidden email]>
> wrote:
> >
> > For what it's worth ... Notepad worked just fine for me ... GnuCash 3.5,
> Windows 10 Pro version 1803 ...
> >
> > After trying a few variations ... various fonts and sizes ... I ended up
> with
> >
> > * { font: 10pt verdana, arial, sans-serif; }
> >
> > ... and by the way it works fine on one line ... Thanks! Tim
> >
> >
> > On Thu, Apr 4, 2019 at 12:39 PM Adrien Monteleone <
> [hidden email]> wrote:
> > Create a file using a text editor. (not Notepad) Be certain the editor
> uses linux/unix line endings.
> >
> > Name it gtk-3.0.css
> >
> > Put this in the file:
> >
> > * {
> > font: 12px arial, sans-serif;
> > }
> >
> > Save it in C:\Users\{your user name}\AppData\Roaming\GnuCash
> >
> > Start or restart GnuCash.
> >
> > Adjust the font size and font name in the file as desired, that was just
> an example. You can also use other font size units like em or pt if you
> prefer. The font property takes a size and a list of fonts. Generic names
> like ’sans-serif’ will use the system font of that type. The app will try
> to use the fonts in the order you give, so if it can’t find or use your
> first choice, it will fall back to the next one on the list.
> >
> > Regards,
> > Adrien
> >
> > > On Apr 4, 2019, at 6:49 AM, Gareth Davies <
> [hidden email]> wrote:
> > >
> > > Thanks Adrien for the reply,
> > >
> > > I have looked at the Wiki, but as a layman I don’t know exactly what
> to do,
> > >
> > > Regards,
> > > Gareth
> > >
> > >
> > > -----Original Message-----
> > > From: gnucash-user [mailto:gnucash-user-bounces+gareth.davies.1=
> [hidden email]] On Behalf Of Adrien Monteleone
> > > Sent: 03 April 2019 16:52
> > > To: Gnucash Users <[hidden email]>
> > > Subject: Re: [GNC] Fonts
> > >
> > > Check the FAQ on the wiki. There is a set of linked pages there
> detailing how to set your own style sheet to change colors, fonts, padding,
> etc.
> > >
> > > If you want the same font across the entire UI, you’ll want to use the
> * selector.
> > >
> > > Regards,
> > > Adrien
> > >
> > >> On Apr 3, 2019, at 7:10 AM, Gareth Davies via gnucash-user <
> [hidden email]> wrote:
> > >>
> > >> Using V3.5 on Windows 10
> > >>
> > >>
> > >>
> > >> Hi,
> > >>
> > >>
> > >>
> > >> Since upgrading to V3.5 today I have noticed that all the fonts in
> the
> > >> program have changed to a very thin one which doesn't stand out as on
> > >> the previous version.
> > >>
> > >>
> > >>
> > >> How can I change the default text font to one which is bolder and
> > >> easier to read.
> > >>
> > >>
> > >>
> > >> Many thanks,
> > >>
> > >> Gareth
> > >
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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
[hidden email]
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.
Liz
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Liz
In reply to this post by Timothy B. Taylor
On Thu, 4 Apr 2019 13:49:20 -0400
"Timothy B. Taylor" <[hidden email]> wrote:

> For what it's worth ... Notepad worked just fine for me ... GnuCash
> 3.5, Windows 10 Pro version 1803 ...
>
> After trying a few variations ... various fonts and sizes ... I ended
> up with
>
> * { font: 10pt verdana, arial, sans-serif; }
>
> ... and by the way it works fine on one line ... Thanks! Tim

However, if you had tried to split the line, you may not have had the
same success.
Could you try with the original


* {
font: 12px arial, sans-serif;
}


using notepad?

Liz
_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

GnuCash - User mailing list
Widows 10 V3.5

I know this is probably a stupid question, but where do I put the line
below, and do I put everything in including the asterisk and brackets. e.g
* { font: 10pt verdana, arial, sans-serif; }

Regards,
Gareth



-----Original Message-----
From: gnucash-user
[mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]] On
Behalf Of Liz
Sent: 05 April 2019 09:19
To: [hidden email]
Subject: Re: [GNC] Fonts

On Thu, 4 Apr 2019 13:49:20 -0400
"Timothy B. Taylor" <[hidden email]> wrote:

> For what it's worth ... Notepad worked just fine for me ... GnuCash
> 3.5, Windows 10 Pro version 1803 ...
>
> After trying a few variations ... various fonts and sizes ... I ended
> up with
>
> * { font: 10pt verdana, arial, sans-serif; }
>
> ... and by the way it works fine on one line ... Thanks! Tim

However, if you had tried to split the line, you may not have had the same
success.
Could you try with the original


* {
font: 12px arial, sans-serif;
}


using notepad?

Liz
_______________________________________________
gnucash-user mailing list
[hidden email]
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
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
Gareth,

Yes, everything *between* the ` but not including the ` (if that helps):

`* { font: 10pt verdana, arial, sans-serif; }`

You put the line in a *plain* text file named:

gtk-3.0.css

and place it in:

C:\Users\<your user name>\AppData\Roaming\GnuCash

Then start or re-start GnuCash. You’ll need to restart each time you alter the size or font.

The `*` is a CSS selector indicating ALL elements of the UI. (or of the HTML for a report or webpage) If you only want to target certain elements, you can use those selectors instead.

CSS rules are enclosed in {}.

CSS declarations begin with a property name followed by a `:` and then the values you want to set. The declaration is ended with a `;`.

The above is a shorthand version of separate rules:

font-size:
font-family:

You could specify them separately if you like, as so:

* {
  font-size: 10pt;
  font-family: verdana, arial, sans-serif;
}

Note, capitalization on fonts is usually sensitive, so those *might* have to be:

`Verdana` and `Arial` respectively.

Finally, rules can be on a single line if you like, but I write it on separate lines as a readability convention, even for short declarations so they all look the same in a larger file. This allows the selector and the individual declarations to easily stand out. It also makes editing and comment masking much easier, but all of that is well beyond the immediate task here.

Regards,
Adrien



> On Apr 5, 2019, at 7:16 AM, Gareth Davies via gnucash-user <[hidden email]> wrote:
>
> Widows 10 V3.5
>
> I know this is probably a stupid question, but where do I put the line
> below, and do I put everything in including the asterisk and brackets. e.g
> * { font: 10pt verdana, arial, sans-serif; }
>
> Regards,
> Gareth
>
>
>
> -----Original Message-----
> From: gnucash-user
> [mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]] On
> Behalf Of Liz
> Sent: 05 April 2019 09:19
> To: [hidden email]
> Subject: Re: [GNC] Fonts
>
> On Thu, 4 Apr 2019 13:49:20 -0400
> "Timothy B. Taylor" <[hidden email]> wrote:
>
>> For what it's worth ... Notepad worked just fine for me ... GnuCash
>> 3.5, Windows 10 Pro version 1803 ...
>>
>> After trying a few variations ... various fonts and sizes ... I ended
>> up with
>>
>> * { font: 10pt verdana, arial, sans-serif; }
>>
>> ... and by the way it works fine on one line ... Thanks! Tim
>
> However, if you had tried to split the line, you may not have had the same
> success.
> Could you try with the original
>
>
> * {
> font: 12px arial, sans-serif;
> }
>
>
> using notepad?
>
> Liz

_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
In reply to this post by Liz
Good call. Since it was a one-line file it might still fly. While I haven’t written CSS on Windows in years, I seem to recall needing to download a separate editor because Notepad couldn’t do it. (and I think that was one of the early reasons why Notepad++ was released) I don’t have a Win10 installation to test if MS changed the line-ending behavior or at least added the Unix/Linux option.

Update - before sending this I did a little web search. It seems MS sort of fixed this in Win10. Notepad will now correctly *open* an existing file saved with LF or CR only endings created by apps in Unix/Linux. BUT, for newly created files, will default to the traditional CR+LF endings Windows Notepad has always used. No info on if they ever added a preference to default to LF or CR for new files however. Also no info on if you open an existing Unix/Linux file and edit it, which ending will be used. (mixed endings? what a mess!)

In addition to Notepad++ there is also an app called Notepad2, both of which can be set to use either LF by default for new files. (among many other editors of course)

Regards,
Adrien

> On Apr 5, 2019, at 3:18 AM, Liz <[hidden email]> wrote:
>
> On Thu, 4 Apr 2019 13:49:20 -0400
> "Timothy B. Taylor" <[hidden email]> wrote:
>
>> For what it's worth ... Notepad worked just fine for me ... GnuCash
>> 3.5, Windows 10 Pro version 1803 ...
>>
>> After trying a few variations ... various fonts and sizes ... I ended
>> up with
>>
>> * { font: 10pt verdana, arial, sans-serif; }
>>
>> ... and by the way it works fine on one line ... Thanks! Tim
>
> However, if you had tried to split the line, you may not have had the
> same success.
> Could you try with the original
>
>
> * {
> font: 12px arial, sans-serif;
> }
>
>
> using notepad?
>
> Liz

_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Timothy B. Taylor
Apologies if this seems to be getting a little off topic. Yesterday when I
was experimenting, I found no mess. It just worked.

Started by cutting and pasting the three lines * { ... } from the email
into a blank notepad file. Saved it with the appropriate name in the
appropriate place. Opened GnuCash, it worked.

Closed GnuCash, opened Notepad again, deleted the line breaks to make it
just one line, resaved it, it still worked.

Closed GnuCash, opened Notepad again, hit return at the appropriate spots
to recreate the three-line file, saved it, it still worked.

Tried various capitalized and lower-case font names, and "px" and "pt" and
various numbers for the font size. It always worked. I settled on 10pt
Verdana. Others may end up elsewhere.

GnuCash 3.5 Windows Pro 10 v 1803

No complaints at all from me. Thanks for making this easy. Tim

Timothy B. Taylor • [hidden email] • (571) 252-9024 •
http://taylortb.com


On Fri, Apr 5, 2019 at 1:07 PM Adrien Monteleone <
[hidden email]> wrote:

> Good call. Since it was a one-line file it might still fly. While I
> haven’t written CSS on Windows in years, I seem to recall needing to
> download a separate editor because Notepad couldn’t do it. (and I think
> that was one of the early reasons why Notepad++ was released) I don’t have
> a Win10 installation to test if MS changed the line-ending behavior or at
> least added the Unix/Linux option.
>
> Update - before sending this I did a little web search. It seems MS sort
> of fixed this in Win10. Notepad will now correctly *open* an existing file
> saved with LF or CR only endings created by apps in Unix/Linux. BUT, for
> newly created files, will default to the traditional CR+LF endings Windows
> Notepad has always used. No info on if they ever added a preference to
> default to LF or CR for new files however. Also no info on if you open an
> existing Unix/Linux file and edit it, which ending will be used. (mixed
> endings? what a mess!)
>
> In addition to Notepad++ there is also an app called Notepad2, both of
> which can be set to use either LF by default for new files. (among many
> other editors of course)
>
> Regards,
> Adrien
>
> > On Apr 5, 2019, at 3:18 AM, Liz <[hidden email]> wrote:
> >
> > On Thu, 4 Apr 2019 13:49:20 -0400
> > "Timothy B. Taylor" <[hidden email]> wrote:
> >
> >> For what it's worth ... Notepad worked just fine for me ... GnuCash
> >> 3.5, Windows 10 Pro version 1803 ...
> >>
> >> After trying a few variations ... various fonts and sizes ... I ended
> >> up with
> >>
> >> * { font: 10pt verdana, arial, sans-serif; }
> >>
> >> ... and by the way it works fine on one line ... Thanks! Tim
> >
> > However, if you had tried to split the line, you may not have had the
> > same success.
> > Could you try with the original
> >
> >
> > * {
> > font: 12px arial, sans-serif;
> > }
> >
> >
> > using notepad?
> >
> > Liz
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
In reply to this post by Adrien Monteleone-2
Good to know Tim, thanks!

Since you copy-pasted, my guess would be you copied the invisible LF ending from the e-mail, which Notepad now dutifully honors, and now you’ve shown by experiment that it also retains that line ending even when editing the file. That’s good news.

When you have a few minutes, for completeness, can you test what happens if you create a new file in Notepad and *type* the multi-line rule instead of copy-paste? (be certain to rename or move your current .css file out of that directory and restart GnuCash)

That would definitively establish that Notepad has moved to LF only line endings and can be used to write CSS. I’ll then add this info to the wiki page on GTK3.

Regards,
Adrien

> On Apr 5, 2019, at 12:30 PM, Timothy B. Taylor <[hidden email]> wrote:
>
> Apologies if this seems to be getting a little off topic. Yesterday when I was experimenting, I found no mess. It just worked.
>
> Started by cutting and pasting the three lines * { ... } from the email into a blank notepad file. Saved it with the appropriate name in the appropriate place. Opened GnuCash, it worked.
>
> Closed GnuCash, opened Notepad again, deleted the line breaks to make it just one line, resaved it, it still worked.
>
> Closed GnuCash, opened Notepad again, hit return at the appropriate spots to recreate the three-line file, saved it, it still worked.
>
> Tried various capitalized and lower-case font names, and "px" and "pt" and various numbers for the font size. It always worked. I settled on 10pt Verdana. Others may end up elsewhere.
>
> GnuCash 3.5 Windows Pro 10 v 1803
>
> No complaints at all from me. Thanks for making this easy. Tim
>
>
> On Fri, Apr 5, 2019 at 1:07 PM Adrien Monteleone <[hidden email]> wrote:
> Good call. Since it was a one-line file it might still fly. While I haven’t written CSS on Windows in years, I seem to recall needing to download a separate editor because Notepad couldn’t do it. (and I think that was one of the early reasons why Notepad++ was released) I don’t have a Win10 installation to test if MS changed the line-ending behavior or at least added the Unix/Linux option.
>
> Update - before sending this I did a little web search. It seems MS sort of fixed this in Win10. Notepad will now correctly *open* an existing file saved with LF or CR only endings created by apps in Unix/Linux. BUT, for newly created files, will default to the traditional CR+LF endings Windows Notepad has always used. No info on if they ever added a preference to default to LF or CR for new files however. Also no info on if you open an existing Unix/Linux file and edit it, which ending will be used. (mixed endings? what a mess!)
>
> In addition to Notepad++ there is also an app called Notepad2, both of which can be set to use either LF by default for new files. (among many other editors of course)
>
> Regards,
> Adrien
>
> > On Apr 5, 2019, at 3:18 AM, Liz <[hidden email]> wrote:
> >
> > On Thu, 4 Apr 2019 13:49:20 -0400
> > "Timothy B. Taylor" <[hidden email]> wrote:
> >
> >> For what it's worth ... Notepad worked just fine for me ... GnuCash
> >> 3.5, Windows 10 Pro version 1803 ...
> >>
> >> After trying a few variations ... various fonts and sizes ... I ended
> >> up with
> >>
> >> * { font: 10pt verdana, arial, sans-serif; }
> >>
> >> ... and by the way it works fine on one line ... Thanks! Tim
> >
> > However, if you had tried to split the line, you may not have had the
> > same success.
> > Could you try with the original
> >
> >
> > * {
> > font: 12px arial, sans-serif;
> > }
> >
> >
> > using notepad?
> >
> > Liz


_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Ken Pyzik
In reply to this post by Timothy B. Taylor
   Ditto Tim's remarks.  I used the instructions Adrian gave and I am
   happy as a clam with my 12 pt Verdana as the font for GnuCash.
_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Timothy B. Taylor
Just to close the loop, I tried Adrien's recipe, typing the little
three-line file into a blank Notepad file and then saving it with the
appropriate name in the appropriate place. It worked just fine. Tim

On Fri, Apr 5, 2019 at 1:48 PM Ken Pyzik <[hidden email]> wrote:

> Ditto Tim's remarks.  I used the instructions Adrian gave and I am happy
> as a clam with my 12 pt Verdana as the font for GnuCash.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Adrien Monteleone-2
Thanks Tim!

I’ll add this to the wiki.

This is good news and makes life less complicated for the Windows user base.

Regards,
Adrien

> On Apr 5, 2019, at 12:57 PM, Timothy B. Taylor <[hidden email]> wrote:
>
> Just to close the loop, I tried Adrien's recipe, typing the little three-line file into a blank Notepad file and then saving it with the appropriate name in the appropriate place. It worked just fine. Tim
>
> On Fri, Apr 5, 2019 at 1:48 PM Ken Pyzik <[hidden email]> wrote:
> Ditto Tim's remarks.  I used the instructions Adrian gave and I am happy as a clam with my 12 pt Verdana as the font for GnuCash.


_______________________________________________
gnucash-user mailing list
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

GnuCash - User mailing list
In reply to this post by Adrien Monteleone-2
Adrien,

Thanks for guiding me through the "Way to do it"

It worked a treat.

Many thanks for helping me,
Regards,
Gareth


-----Original Message-----
From: gnucash-user [mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]] On Behalf Of Adrien Monteleone
Sent: 05 April 2019 17:52
To: GnuCash Users <[hidden email]>
Subject: Re: [GNC] Fonts

Gareth,

Yes, everything *between* the ` but not including the ` (if that helps):

`* { font: 10pt verdana, arial, sans-serif; }`

You put the line in a *plain* text file named:

gtk-3.0.css

and place it in:

C:\Users\<your user name>\AppData\Roaming\GnuCash

Then start or re-start GnuCash. You’ll need to restart each time you alter the size or font.

The `*` is a CSS selector indicating ALL elements of the UI. (or of the HTML for a report or webpage) If you only want to target certain elements, you can use those selectors instead.

CSS rules are enclosed in {}.

CSS declarations begin with a property name followed by a `:` and then the values you want to set. The declaration is ended with a `;`.

The above is a shorthand version of separate rules:

font-size:
font-family:

You could specify them separately if you like, as so:

* {
  font-size: 10pt;
  font-family: verdana, arial, sans-serif; }

Note, capitalization on fonts is usually sensitive, so those *might* have to be:

`Verdana` and `Arial` respectively.

Finally, rules can be on a single line if you like, but I write it on separate lines as a readability convention, even for short declarations so they all look the same in a larger file. This allows the selector and the individual declarations to easily stand out. It also makes editing and comment masking much easier, but all of that is well beyond the immediate task here.

Regards,
Adrien



> On Apr 5, 2019, at 7:16 AM, Gareth Davies via gnucash-user <[hidden email]> wrote:
>
> Widows 10 V3.5
>
> I know this is probably a stupid question, but where do I put the line
> below, and do I put everything in including the asterisk and brackets.
> e.g
> * { font: 10pt verdana, arial, sans-serif; }
>
> Regards,
> Gareth
>
>
>
> -----Original Message-----
> From: gnucash-user
> [mailto:gnucash-user-bounces+gareth.davies.1=[hidden email]]
> On Behalf Of Liz
> Sent: 05 April 2019 09:19
> To: [hidden email]
> Subject: Re: [GNC] Fonts
>
> On Thu, 4 Apr 2019 13:49:20 -0400
> "Timothy B. Taylor" <[hidden email]> wrote:
>
>> For what it's worth ... Notepad worked just fine for me ... GnuCash
>> 3.5, Windows 10 Pro version 1803 ...
>>
>> After trying a few variations ... various fonts and sizes ... I ended
>> up with
>>
>> * { font: 10pt verdana, arial, sans-serif; }
>>
>> ... and by the way it works fine on one line ... Thanks! Tim
>
> However, if you had tried to split the line, you may not have had the
> same success.
> Could you try with the original
>
>
> * {
> font: 12px arial, sans-serif;
> }
>
>
> using notepad?
>
> Liz

_______________________________________________
gnucash-user mailing list
[hidden email]
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
[hidden email]
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 | Threaded
Open this post in threaded view
|

Re: [GNC] Fonts

Fred Bone
In reply to this post by Adrien Monteleone-2
On Friday, April 5, 2019 at 13:05, Adrien Monteleone said:

> Thanks Tim!
>
> I’ll add this to the wiki.
>
> This is good news and makes life less complicated for the Windows user
> base.

Assuming the CSS parser is obeying the rules, it should make no
difference whatsoever whether the line end is LF, CR, CRLF, or LFCR. Both
CR and LF are to be treated as whitespace and CSS is, by design, agnostic
about line boundaries.


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