From 34b4410838e3b391fac721582b9430438ee500d5 Mon Sep 17 00:00:00 2001 From: rghvdberg Date: Sat, 9 Feb 2019 13:00:32 +0100 Subject: [PATCH] use sans-serif on linux (#549) makes the gui load on ubuntu 16.04 / mint 18 --- src/common/gui/SurgeGUIEditor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/gui/SurgeGUIEditor.cpp b/src/common/gui/SurgeGUIEditor.cpp index e1bdd97dcf0..38e3d3c418e 100644 --- a/src/common/gui/SurgeGUIEditor.cpp +++ b/src/common/gui/SurgeGUIEditor.cpp @@ -46,6 +46,9 @@ using namespace std; #if MAC SharedPointer minifont = new CFontDesc("Lucida Grande", 9); SharedPointer patchfont = new CFontDesc("Lucida Grande", 14); +#elif LINUX +SharedPointer minifont = new CFontDesc("sans-serif", 9); +SharedPointer patchfont = new CFontDesc("sans-serif", 14); #else SharedPointer minifont = new CFontDesc("Microsoft Sans Serif", 9); SharedPointer patchfont = new CFontDesc("Arial", 14);