improve iterate parameter

This commit is contained in:
cajun
2024-10-07 17:35:01 -05:00
parent 67ee280c32
commit 5ab2a404ed
4 changed files with 21 additions and 7 deletions

View File

@@ -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"}