Skip to content

Commit 1bab5e5

Browse files
committed
Prepare to merge the font family change
1 parent 812052f commit 1bab5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/wasm-demo/src/func_plot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn start_plotting(
77
) -> Result<Box<dyn Fn((i32, i32)) -> Option<(f32, f32)>>, Box<dyn std::error::Error>> {
88
let backend = CanvasBackend::new(element).unwrap();
99
let root = backend.into_drawing_area();
10-
let font: FontDesc = ("Arial", 20.0).into();
10+
let font: FontDesc = ("serif", 20.0).into();
1111

1212
root.fill(&WHITE)?;
1313

0 commit comments

Comments
 (0)