f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Detect High DPI screen automatically to adjust font scaling

Open mwestphal opened this issue 6 months ago • 6 comments

Is your feature request related to a problem? Please describe. F3D currently let user set the font scale, which is essential for user on High DPI screens. However this is not ideal, users should not really care about the fact that the screen is High DPI.

Let's detect automatically if the screen is High DPI and multiply the font scale if needed

Describe the solution you'd like

  • In vtkF3DRenderer::ConfigureTextActors() detect the DPI and how much it should be scaled using vtkWindow::GetDPI. Default should be 72.
  • Adapt the fontscale computation accordingly
  • Update documentation
  • As this feature will not be testable in CI, add a note in the release issue template to test this on release

mwestphal avatar Jun 29 '25 12:06 mwestphal

Hi, can i get assigned?

armoredvortex avatar Sep 16 '25 13:09 armoredvortex

Need any help moving forward @armoredvortex ?

mwestphal avatar Oct 05 '25 05:10 mwestphal

Need any help moving forward @armoredvortex ?

mwestphal avatar Oct 15 '25 20:10 mwestphal

Hi, I'm unable to work on this as of now, feel free to unassign me so someone else can continue. Thanks!

armoredvortex avatar Oct 15 '25 20:10 armoredvortex

Hi, may I work on this issue?

davidwuluetang avatar Nov 12 '25 21:11 davidwuluetang

Of course!

mwestphal avatar Nov 12 '25 22:11 mwestphal