How to change the font in Tryton 5 + GTK 3

Some users of our application are asking to increase the font size.
In Tryton4 + GTK2 we used the file \etc\gtk-2.0\gtkrc for this purpose.
In Tryton5 + GTK3 we have tried to use the file \etc\gtk-3.0\settings.ini:

[Settings]
gtk-font-name=Sans 10

But this does not work. What are we doing wrong?

For me editing ~/.config/gtk-3.0/settings.ini works.

Is the file settings.ini on the server?
We are using Desktop Client 5.2 for Windows.
Is it possible to change the font only for some Windows users?

Not it is on the client system.

Apparently there are some options to place the file: https://stackoverflow.com/a/39041558/687601

Some paths are linked to the username.

There was no settings.ini file in these places, so we had to create it ourselves.
We tried all these options to place the file settings.ini, but the font did not change.

The problem was solved this way.
We created the following file: ~\.config\tryton\5.2\theme.css

box * {
  font: 10px Sans;
}

~ means the home directory of the user (on Windows system it is the APPDATA directory):
http://docs.tryton.org/projects/client-desktop/en/latest/usage.html#css

P.S. With our solution bold and italic font-styles are gone.
So it is better to use the following file ~\.config\tryton\5.2\theme.css:

box * {
  font-size: 12px;
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.