From d38eaa5ffd99e3ce600727ef68d4c100796f5321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Mon, 1 Jul 2019 23:49:03 +0200 Subject: [PATCH] Fix for missing FontAwesome font --- klopapier.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/klopapier.tex b/klopapier.tex index 70e6a45..c0feb51 100644 --- a/klopapier.tex +++ b/klopapier.tex @@ -5,12 +5,15 @@ \RequirePackage[l2tabu,orthodox]{nag} \documentclass[12pt, usegeometry]{scrartcl} - -\usepackage{fontawesome} % Needed for fonts % Replaces fontenc and inputenc for XeLaTeX and LuaTex \usepackage{fontspec} -\fontspec [Path=font/]{FontAwesome5Free-Regular-400.otf} +% Set fonts +%\setmainfont[Path=fonts/,UprightFont=*-Regular,BoldFont=*-Bold]{SourceSerifPro} +\defaultfontfeatures{Extension=.otf} + +\fontspec[Path=font/,UprightFont=*-Regular-400]{FontAwesome5Free} +\usepackage{fontawesome} % Enables translations for packages % Replaces babel for XeLaTeX and LuaTeX (requires fontspec) @@ -18,9 +21,6 @@ % Attention: Call this as soon as possible to translate packages! \setmainlanguage[spelling=new,babelshorthands=true]{german} -% Set fonts -%\setmainfont[Path=./fonts/,UprightFont=*-Regular,BoldFont=*-Bold]{SourceSerifPro} - %\usepackage[left=1.5cm,right=1.5cm,top=1cm,bottom=1cm,includefoot=true]{geometry} \usepackage{geometry} \geometry{left=1.5cm,right=1.5cm,top=1cm,bottom=2cm,includefoot=true}