
\documentclass{scrartcl}
\usepackage{lipsum}
\usepackage{fontspec}

\setcounter{secnumdepth}{7}

%%% http://www.alice-dsl.net/ralfstubner/fplneu-otf.html
%%% This is the old name for \setmainfont, retained for backwards compatibility.
%\setromanfont[Numbers=Lowercase]{FPL Neu}
\setmainfont[Numbers=Lowercase]{FPL Neu}
\setsansfont{MgOpen Cosmetica}
\setmonofont{Inconsolata}

\newfontface\mytitlefont{M+ 1p black}
\newfontface\mysubtitlefont{M+ 1p heavy}

\newfontface\mysectionfont{M+ 1p black}
\newfontface\mysubsectionfont{M+ 1p heavy}
\newfontface\mysubsubsectionfont{M+ 1p bold}
\newfontface\myparagraphfont{M+ 1p medium}
\newfontface\mysubparagraphfont{M+ 1p regular}

\addtokomafont{title}{\mytitlefont}
\addtokomafont{subtitle}{\mysubtitlefont}
\addtokomafont{section}{\mysectionfont}
\addtokomafont{subsection}{\mysubsectionfont}
\addtokomafont{subsubsection}{\mysubsubsectionfont}
\addtokomafont{paragraph}{\myparagraphfont}
\addtokomafont{subparagraph}{\mysubparagraphfont}

\title{Foo}
\subtitle{Bar}
\author{Joe Random}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% FIXME
%%% If you comment away next line, my bug will not show up
\KOMAoptions{headings=big}


\begin{document}
\maketitle

\section{foo}

\lipsum[1]

\textsf{
\lipsum[2]
}

\texttt{
\lipsum[3]
}


\subsection{bar}

\lipsum[4]


\subsubsection{baz}

\lipsum[5]


\paragraph{qux}

\lipsum[6]


\subparagraph{quux}

\lipsum[7]


\end{document}


%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
