From d71bde90d2d19544f89dfab98711987cc54d9f86 Mon Sep 17 00:00:00 2001
From: Simon Kindhauser <simon.kindhauser@ost.ch>
Date: Mon, 8 Mar 2021 14:00:18 +0100
Subject: [PATCH] just make it work

---
 theme/beamerfontthemeost.sty | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/theme/beamerfontthemeost.sty b/theme/beamerfontthemeost.sty
index 94adff5..7099ff8 100644
--- a/theme/beamerfontthemeost.sty
+++ b/theme/beamerfontthemeost.sty
@@ -1,16 +1,9 @@
 \mode<presentation>
 
 \usepackage{fontspec}
-\IfFontExistsTF{Arial}{
-    \newcommand{\ostmainfont}{Arial}
-} {
-    \newcommand{\ostmainfont}{Liberation Sans}
-}
-\IfFontExistsTF{Courier New}{
-    \newcommand{\ostmonofont}{Courier New}
-} {
-    \newcommand{\ostmonofont}{Nimbus Mono PS}
-}
+
+\newcommand{\ostmainfont}{Liberation Sans}
+\newcommand{\ostmonofont}{Courier New}
 
 
 \setbeamerfont*{title}{family={\fontspec{\ostmainfont}},series=\bfseries,size={\fontsize{32}{36}}}
-- 
GitLab