Fix for missing FontAwesome font

This commit is contained in:
Martin Müller 2019-07-01 23:49:03 +02:00
parent 90c22def1d
commit d38eaa5ffd

View File

@ -5,12 +5,15 @@
\RequirePackage[l2tabu,orthodox]{nag} \RequirePackage[l2tabu,orthodox]{nag}
\documentclass[12pt, usegeometry]{scrartcl} \documentclass[12pt, usegeometry]{scrartcl}
\usepackage{fontawesome}
% Needed for fonts % Needed for fonts
% Replaces fontenc and inputenc for XeLaTeX and LuaTex % Replaces fontenc and inputenc for XeLaTeX and LuaTex
\usepackage{fontspec} \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 % Enables translations for packages
% Replaces babel for XeLaTeX and LuaTeX (requires fontspec) % Replaces babel for XeLaTeX and LuaTeX (requires fontspec)
@ -18,9 +21,6 @@
% Attention: Call this as soon as possible to translate packages! % Attention: Call this as soon as possible to translate packages!
\setmainlanguage[spelling=new,babelshorthands=true]{german} \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[left=1.5cm,right=1.5cm,top=1cm,bottom=1cm,includefoot=true]{geometry}
\usepackage{geometry} \usepackage{geometry}
\geometry{left=1.5cm,right=1.5cm,top=1cm,bottom=2cm,includefoot=true} \geometry{left=1.5cm,right=1.5cm,top=1cm,bottom=2cm,includefoot=true}