From 409b77c210e05b24c50be45b6b18d008e00a7ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Wed, 26 Feb 2025 20:07:17 +0100 Subject: [PATCH] FIX: Default size should be 13 pixels --- base/src/types.rs | 2 +- bindings/wasm/tests/test.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/src/types.rs b/base/src/types.rs index a4b0109..50e4800 100644 --- a/base/src/types.rs +++ b/base/src/types.rs @@ -407,7 +407,7 @@ impl Default for Font { u: false, b: false, i: false, - sz: 11, + sz: 13, color: Some("#000000".to_string()), name: "Calibri".to_string(), family: 2, diff --git a/bindings/wasm/tests/test.mjs b/bindings/wasm/tests/test.mjs index 468322e..3746699 100644 --- a/bindings/wasm/tests/test.mjs +++ b/bindings/wasm/tests/test.mjs @@ -49,7 +49,7 @@ test('Styles work', () => { num_fmt: 'general', fill: { pattern_type: 'none' }, font: { - sz: 11, + sz: 13, color: '#000000', name: 'Calibri', family: 2, @@ -64,7 +64,7 @@ test('Styles work', () => { num_fmt: 'general', fill: { pattern_type: 'none' }, font: { - sz: 11, + sz: 13, color: '#000000', name: 'Calibri', family: 2,