[Tex/LaTex] Title spacing and margins in moderncv

moderncv

I just noted something weird with my resume written in moderncv (obviously): the \firstname{} is typeset slightly outside the page margins. This is most visible on the left margin, but upon close zoom it's also possible to see that the top of the A crosses the upper margin as well. When letting \familyname{} begin on the next line, it's slightly indented to the right. So is the \title{} macro. How can I get them properly aligned to the page margin?

MWE:

\documentclass[a4paper,10pt]{moderncv}

\moderncvstyle{classic}
\moderncvcolor{green}
\renewcommand{\familydefault}{\rmdefault}

\usepackage[utf8]{inputenc}
\usepackage{fouriernc}
\usepackage[scale=0.75, showframe]{geometry}

\firstname{Andrew}
\familyname{\\ Doe}
\title{Curriculum Vitae}

\begin{document}
\maketitle
\end{document}

Producing

enter image description here

EDIT:

Following Stevens feedback on fonts, I tried to skip the fouriernc package, and use Computer Modern. It solves the problem with the \title{} print, but the names are still off.

enter image description here

Best Answer

The issue is the font itself, as seen by the \fbox around "A" and "D" in this MWE below. It is typical for font designers to allow "protrusions" of letters beyond their bounding box. It is a form of trickery to (if done properly) give the appearance of uniformity by introducing a little bit of non-uniformity...a form of optical illusion. In this case, it fails. See my answer here, What is the local height of a capital letter?, for more details and a reference to the literature on the subject.

\documentclass[a4paper,10pt]{moderncv}

\moderncvstyle{classic}
\moderncvcolor{green}
\renewcommand{\familydefault}{\rmdefault}

\usepackage[utf8]{inputenc}
\usepackage{fouriernc}
\usepackage[scale=0.75, showframe]{geometry}

\fboxrule=.1pt
\fboxsep=-\fboxrule
\firstname{Andrew}
\familyname{\newline Doe}
\title{Curriculum Vitae}

\begin{document}
\maketitle

~\scalebox{3}{\fbox{\Huge A}}~\scalebox{3}{\fbox{\Huge D}}
\end{document}

enter image description here

One can manually fix it for this font by defining

\firstname{\kern.4ptAndrew}
\familyname{\\\leavevmode\kern-,9pt Doe}

enter image description here