We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0000d72 commit 82a2100Copy full SHA for 82a2100
internal/renderers/femtovg/lib.rs
@@ -298,7 +298,7 @@ impl<B: GraphicsBackend> RendererSealed for FemtoVGRenderer<B> {
298
..Default::default()
299
},
300
);
301
- LogicalSize::new(layout.width(), layout.height())
+ PhysicalSize::new(layout.width(), layout.height()) / scale_factor
302
}
303
304
fn font_metrics(
0 commit comments