[GNC] Change text color

Adrien Monteleone adrien.monteleone at lusfiber.net
Wed Aug 1 23:46:17 EDT 2018


Oh, and if ‘font-family: Arial Bold;’ works, but ‘font-weight: bold;’ on the regular Arial font does not, then ‘font-weight: bold;’ is likely not working at all.

‘Arial Bold’ is it’s own distinct font. (though the original ‘Arial’ can be made to look bold in most applications. There are several other variants of Arial as well.)

Most web browsers will first try to use a natural bold variant if found before doing their own font weighting, but Gtk may not be getting either of these methods right.

Regards,
Adrien

> On Aug 1, 2018, at 4:53 PM, GT-I9070 H <gti9070h at gmail.com> wrote:
> 
> Em qua, 1 de ago de 2018 às 16:54, Adrien Monteleone <adrien.monteleone at lusfiber.net> escreveu:
> font-weight: bold might depend on the font file itself, though Arial pretty much includes the kitchen sink and a dishwasher for good measure.
> 
> Try:
> 
> font-weight: 600;
> 
> You can use #s instead of names in increments of 100. (100,200,300...900) I think 400 is the same as ’normal’.
> 
> I had forgotten to say that this
> 
>  #account_tree header button {
>   font-family: Arial Bold;
> }
> 
> and
> 
>  #account_tree {
>   font-weight: 600;
> }
> 
> works, and I had already tested this
> 
> #account_tree header button {
>   font-weight: 600;
> }
> 
> for several values and does not work.
> See: https://www.w3schools.com/cssref/pr_font_weight.asp
> 
> 
> Regards
> GTI




More information about the gnucash-user mailing list