title: Install custom font on linux (windows AddFontResource equivalent)
body: <p>How to install custom font on linux, either directly from C++ or using <a href="http://www.cplusplus.com/reference/cstdlib/system/" rel="nofollow">system</a> command?<br>
  I mean some way like <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd183326(v=vs.85).aspx" rel="nofollow">AddFontResource</a> in windows.</p>