GDK_SCALE GDK_SCALE是一个环境变量,用于在 GTK 程序中设置全局缩放因子。它可以用来处理不同 DPI 的情况。 当GDK_SCALE环境变量设置为 1 时,程序会按照系统的默认 DPI 进行显示。如果将GDK_SCALE设置为大于 1 的值(如 2),则程序会以更高的缩放因子进行显示,从而适应更高密度的屏幕。 例如,在 Linux 系统上...
Type: Bug It's normally recommended to set GDK_SCALE and GDK_DPI_SCALE environment variables in Linux to make UI work better in HiDPI environments: GDK_SCALE=2 GDK_DPI_SCALE=0.5 As of version of 1.98 these values seem to be ignored by VS...
modern fonts are already rendered in a way that takes into account the dpi of the screen. Somewhat surprisingly for me, libreoffice, as opposed to other Gnome apps, already looks reasonable on a high dpi screen with GDK_SCALE=1 and GDK_DPI_SCALE=1. So a workaround for the reported probl...