This is a bug with Atom: https://github.com/atom/atom/issues/3790
A workaround is to strip spaces and add a hyphen between the font name and the weight.
Envy Code R Bold == EnvyCodeR-Bold
ref: https://github.com/Microsoft/vscode/issues/381#issuecomment-163356103