restore font_size override (#94)
This commit is contained in:
@@ -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"}
|
||||
|
||||
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user