From cac3ca619cd75d1a07a995fe998d92978da2d25e Mon Sep 17 00:00:00 2001 From: André Breves Date: Mon, 20 Apr 2020 16:51:20 -0300 Subject: [PATCH] Sets Courier New as default print font for macOS --- src/dialogs/print/settings.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/dialogs/print/settings.c b/src/dialogs/print/settings.c index 9d00ef8..7ace2bd 100644 --- a/src/dialogs/print/settings.c +++ b/src/dialogs/print/settings.c @@ -79,7 +79,11 @@ static void V3270PrintSettings_init(V3270PrintSettings *widget) }; size_t f; - widget->font = v3270_font_selection_new("monospace"); + #ifdef __APPLE__ + widget->font = v3270_font_selection_new("Courier New"); + #else + widget->font = v3270_font_selection_new("monospace"); + #endif widget->color = v3270_color_scheme_new(); widget->selected = gtk_check_button_new_with_label( _("Print selection box") ); -- libgit2 0.21.2