Merge pull request #23935 from barredterra/print-font
fix: use system font for printing
This commit is contained in:
commit
bedf270bc4
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ def get_print_style(
|
|||
def get_font(
|
||||
print_settings: "PrintSettings", print_format: Optional["PrintFormat"] = None, for_legacy=False
|
||||
) -> str:
|
||||
default = 'Inter, "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif'
|
||||
default = "var(--font-stack)"
|
||||
if for_legacy:
|
||||
return default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue