native-windows-gui icon indicating copy to clipboard operation
native-windows-gui copied to clipboard

Plotters canvas scales incorrectly with hdpi awareness enabled

Open evshiron opened this issue 2 years ago • 2 comments

evshiron avatar Sep 27 '21 02:09 evshiron

Will look into this.

gabdube avatar Sep 27 '21 18:09 gabdube

I think #210 might fix the issue, but it causes more problem. With some experiments, I found that layouts will be messed up if I enable the high-dpi feature and hdpi awareness at the same time. Maybe inlining high_dpi::physical_to_logical in &PlottersBackend::get_size is a better way to go.

HareInWeed avatar Nov 12 '21 13:11 HareInWeed