From 6b09ea42f1e893b9f37ae1bb734e6dba4638773f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 28 May 2021 21:02:26 +0200 Subject: [PATCH] Loudness conformity UTF8 font compatibility for macOS --- gtk2_ardour/export_report.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/export_report.cc b/gtk2_ardour/export_report.cc index 71b3cbfa61..b2d3a32789 100644 --- a/gtk2_ardour/export_report.cc +++ b/gtk2_ardour/export_report.cc @@ -715,7 +715,7 @@ ExportReport::init (const AnalysisResults & ar, bool with_file) || (pi->enable[1] && dbtp > pi->level[1]) ) { cr->set_source_rgba (1, 0, .0, 1.0); -#ifdef PLATFORM_WINDOWS +#if (defined PLATFORM_WINDOWS || defined __APPLE__) layout->set_text ("X"); #else layout->set_text ("\u274C"); // cross mark @@ -729,7 +729,11 @@ ExportReport::init (const AnalysisResults & ar, bool with_file) #endif } else { cr->set_source_rgba (.1, 1, .1, 1.0); +#ifdef __APPLE__ + layout->set_text ("\u2713"); // check mark +#else layout->set_text ("\u2714"); // heavy check mark +#endif } int ww, hh; layout->get_pixel_size (ww, hh);