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 41719fa commit 7a1a06eCopy full SHA for 7a1a06e
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