Goldendict: GoldenDict on Windows w/High DPI Screen

Created on 5 Oct 2014  ·  8Comments  ·  Source: goldendict/goldendict

The "result" pane is too small.

image

Most helpful comment

@gitbuh1 @lamtung add QT_AUTO_SCREEN_SCALE_FACTOR=1 to your system variables.

All 8 comments

What GD version do you use?

Was 1.0.1. Tried 1.5.0-RC-424, still the same.

image

Did you mean results pane size or font size? Font size you can increase via View->Zoom menu, pane size via View->Search pane.

I have the same problem here on my Lenovo Y50-70 laptop with 4K screen. I know that I can increase the font size of the result section. However, I also often use an external screen with only HD resolution, on which I need to reduce the font size again. This is really time consuming. Is there any beta version of GoldenDict that has proper support for high DPI screen? Thanks
goldendict_high_dpi_problem

I don't have a 4k screen to test on - but can we use css like this to change the font on high-resolution screens?

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { /* Retina-specific stuff here */ }

@gitbuh1 @lamtung add QT_AUTO_SCREEN_SCALE_FACTOR=1 to your system variables.

@gitbuh1 @lamtung add QT_AUTO_SCREEN_SCALE_FACTOR=1 to your system variables.

Seems doesn't work now.

$ systeminfo
Microsoft Windows 10 Home
OS Version:                10.0.19041

$ scoop info goldendict
Name: goldendict
Description: A feature-rich dictionary lookup program.
Version: 1.5.0-RC2-372-gc3ff15f

Is that because scoop installs a portable version of goldendict?

@gitbuh1 @lamtung add QT_AUTO_SCREEN_SCALE_FACTOR=1 to your system variables.

Seems doesn't work now.

$ systeminfo
Microsoft Windows 10 Home
OS Version:                10.0.19041

$ scoop info goldendict
Name: goldendict
Description: A feature-rich dictionary lookup program.
Version: 1.5.0-RC2-372-gc3ff15f

Is that because scoop installs a portable version of goldendict?

I think I got the reason. scoop install QT4 version of goldendict and the fix only applies to QT5 version as per this issue addressed.

I tried QT5 version and it works, but it seems not working if I use powershell or cmd to invoke the goldendict.exe. Still wondering why...

Was this page helpful?
0 / 5 - 0 ratings