When fonts on Linux are installed in a specific way (when path from fontconfig root folder to font file includes a symbolic link), some text is displayed in bold by Java application, even though plain font is requested.
Here are the steps to reproduce the issue on a clean installation of Ubuntu 14.04.4:
1) mkdir ~/fonts
2) Copy attached font files (consola.ttf and consolab.ttf) into ~/fonts
3) cd; ln -s fonts .fonts
5) Execute attached program (BoldTest.java)
Expected result: text in first line is displayed in plain font, text in the second line is displayed in bold font
Actual result: text in both lines is displayed in bold font