diff --git a/examples/template-es.pdf b/examples/template-es.pdf index ca9da36..ca3cf90 100644 Binary files a/examples/template-es.pdf and b/examples/template-es.pdf differ diff --git a/examples/template-zh.pdf b/examples/template-zh.pdf index 11ade98..2fea17f 100644 Binary files a/examples/template-zh.pdf and b/examples/template-zh.pdf differ diff --git a/examples/template.pdf b/examples/template.pdf index 751a67a..e9d5727 100644 Binary files a/examples/template.pdf and b/examples/template.pdf differ diff --git a/examples/template_banking_black.pdf b/examples/template_banking_black.pdf index a4d0652..56c82a6 100644 Binary files a/examples/template_banking_black.pdf and b/examples/template_banking_black.pdf differ diff --git a/examples/template_banking_red.pdf b/examples/template_banking_red.pdf index 7bb59b6..0d0c651 100644 Binary files a/examples/template_banking_red.pdf and b/examples/template_banking_red.pdf differ diff --git a/examples/template_casual_orange.pdf b/examples/template_casual_orange.pdf index 98e0f81..f396d05 100644 Binary files a/examples/template_casual_orange.pdf and b/examples/template_casual_orange.pdf differ diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index 54f22f2..551c6a4 100644 Binary files a/examples/template_classic_green.pdf and b/examples/template_classic_green.pdf differ diff --git a/examples/template_multibib.pdf b/examples/template_multibib.pdf index fbe1e5a..c06b5e0 100644 Binary files a/examples/template_multibib.pdf and b/examples/template_multibib.pdf differ diff --git a/examples/template_oldstyle_grey.pdf b/examples/template_oldstyle_grey.pdf index 12bb9bf..b52cd56 100644 Binary files a/examples/template_oldstyle_grey.pdf and b/examples/template_oldstyle_grey.pdf differ diff --git a/moderncv.cls b/moderncv.cls index 7dee9d4..5c32588 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -51,15 +51,15 @@ \DeclareOption{12pt}{\renewcommand\@ptsize{2}} % font type options -\DeclareOption{sans}{\renewcommand{\familydefault}{\sfdefault}} -\DeclareOption{roman}{\renewcommand{\familydefault}{\rmdefault}} +\DeclareOption{sans}{\AtBeginDocument{\renewcommand{\familydefault}{\sfdefault}}} +\DeclareOption{roman}{\AtBeginDocument{\renewcommand{\familydefault}{\rmdefault}}} % draft/final option \DeclareOption{draft}{\setlength\overfullrule{5pt}} \DeclareOption{final}{\setlength\overfullrule{0pt}} % execute default options -\ExecuteOptions{a4paper,11pt,sans,final} +\ExecuteOptions{a4paper,11pt,final} % process given options \ProcessOptions\relax