I am trying to emulate the font below:

Apparently it can be done with:
\renewcommand*{\firstnamefont}{\fontsize{34}{36}\sffamily\mdseries\upshape}
This is from the moderncv package, more specifically the file moderncvstyleclassic.sty
In my case, I thought I could get it with:
{\fontencoding{T1}\fontfamily{cmss}\fontseries{b}\selectfont This is a test}
But it doesn't work. Instead I get:

which by the way is also what I get with:
{\fontencoding{T1}\fontfamily{cmss}\fontseries{m}\selectfont This is a test}
Notice that the difference between both code snippets is using \fontseries{b} instead of \fontseries{m}
With this:
- How can I get the font in the first image?
- Why is it that
\fontseries{b}and\fontseries{m}yield the same result above?
Update 1:
If I use
{\fontencoding{T1}\fontfamily{cmss}\fontseries{bx}\selectfont This is a test}
I get:

which is still different from what I show in the top image.



\fontseries{bx}\selectfont? – cgnieder Feb 04 '12 at 20:38\fontseries{bx}\selectfontis not doing the trick. – Amelio Vazquez-Reina Feb 04 '12 at 20:45balso is a common font series. – cgnieder Feb 04 '12 at 20:46\fontseries{bx}\selectfontworks if I'm not mistaken? – cgnieder Feb 04 '12 at 20:52\fontseries{bx}\selectfontgives a result different from the font that I am trying to emulate (shown in the top image). – Amelio Vazquez-Reina Feb 04 '12 at 20:53cm-superwithoutfix-cm. Loadingfix-cm, switching tolmodernor removingT1(which has other downsides) fixes the problem (but affects the whole document), see https://tex.stackexchange.com/a/1396/1340. – Blaisorblade Jul 17 '17 at 03:29