Skip to content

Commit

Permalink
Change PDF cover font to DejaVu Sans (#45290)
Browse files Browse the repository at this point in the history
(cherry picked from commit c65e56f)
  • Loading branch information
mortenpi authored and KristofferC committed Aug 26, 2022
1 parent ffe7ea7 commit 21a53fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/src/assets/custom.sty
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ contents={
}}%

% ---- Heading font style
\DeclareFixedFont{\MainHeading}{T1}{phv}{b}{n}{1.5cm}
\DeclareFixedFont{\SecondaryHeading}{T1}{phv}{b}{n}{0.8cm}
\usepackage{anyfontsize}
\newcommand{\MainHeading}{\fontspec{DejaVu Sans}\fontsize{40}{40}\selectfont\bfseries}
\newcommand{\SecondaryHeading}{\fontspec{DejaVu Sans}\LARGE}
%% cover page END -------------------------------------------------------------

0 comments on commit 21a53fb

Please sign in to comment.