From 291bcfad884b91441677d16c0458c67c0a4eecda Mon Sep 17 00:00:00 2001 From: GenevensiS <66968533+G-e-n-e-v-e-n-s-i-S@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:48:18 +0200 Subject: [PATCH] restore font_size override (#94) --- data/magic-genevensis-10-saga.mse-style/style | 4 +++- data/magic-genevensis-11-class.mse-style/style | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/data/magic-genevensis-10-saga.mse-style/style b/data/magic-genevensis-10-saga.mse-style/style index 8beb5ae3f..2b52852d0 100644 --- a/data/magic-genevensis-10-saga.mse-style/style +++ b/data/magic-genevensis-10-saga.mse-style/style @@ -42,6 +42,8 @@ init script: corners_default := { "diagonal" } + font_size := { if styling.font_size == "" then 26 else to_number_lax(styling.font_size) or else 26 } + swap_font := { true } swap_fonts_name_src := { styling.name_font } @@ -68,7 +70,7 @@ init script: swap_fonts_body_default := [ name: {"MPlantin"}, - size: {if styling.font_size == "" then 26 else to_number_lax(styling.font_size) or else 26}, + size: {font_size()}, color: {"black"}, vertical: {0}, italic: {"MPlantin-Italic"} diff --git a/data/magic-genevensis-11-class.mse-style/style b/data/magic-genevensis-11-class.mse-style/style index 5cdc9d9bb..01f8a2bc7 100644 --- a/data/magic-genevensis-11-class.mse-style/style +++ b/data/magic-genevensis-11-class.mse-style/style @@ -45,6 +45,8 @@ init script: corners_default := { "diagonal" } + font_size := { if styling.font_size == "" then 26 else to_number_lax(styling.font_size) or else 26 } + swap_font := { true } swap_fonts_name_src := { styling.name_font } @@ -71,7 +73,7 @@ init script: swap_fonts_body_default := [ name: {"MPlantin"}, - size: {if styling.font_size == "" then 26 else to_number_lax(styling.font_size) or else 26}, + size: {font_size()}, color: {"black"}, vertical: {0}, italic: {"MPlantin-Italic"}