gtk windows question

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

gtk windows question

Wojciech Puchar
How to (if it is possible) actually FORCE some font size when windows
user sets "change the size of text, apps and other items".

Windows simply scale up every font i choose in GTK. Program is made for
constant size window.


is it possible?

_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: gtk windows question

Bill Kelly
Hi,

Wojciech Puchar wrote:
> How to (if it is possible) actually FORCE some font size when windows
> user sets "change the size of text, apps and other items".

We ran into this recently.

Setting the following environment variable provides some control over
the font scaling:

  GDK_WIN32_FONT_RESOLUTION

E.g. 96 being default DPI.


Regards,

Bill


_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list