{"action":"created","issue":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/349","labels_url":"https://api.github.com/repos/freeorion/freeorion/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/freeorion/freeorion/issues/349/comments","events_url":"https://api.github.com/repos/freeorion/freeorion/issues/349/events","html_url":"https://github.com/freeorion/freeorion/issues/349","id":106663240,"number":349,"title":"Support different font directories on Linux systems","user":{"login":"raptor","id":6452412,"avatar_url":"https://avatars.githubusercontent.com/u/6452412?v=3","gravatar_id":"","url":"https://api.github.com/users/raptor","html_url":"https://github.com/raptor","followers_url":"https://api.github.com/users/raptor/followers","following_url":"https://api.github.com/users/raptor/following{/other_user}","gists_url":"https://api.github.com/users/raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptor/subscriptions","organizations_url":"https://api.github.com/users/raptor/orgs","repos_url":"https://api.github.com/users/raptor/repos","events_url":"https://api.github.com/users/raptor/events{/privacy}","received_events_url":"https://api.github.com/users/raptor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freeorion/freeorion/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-15T22:46:16Z","updated_at":"2015-09-16T03:38:39Z","closed_at":null,"body":"Many Linux distros (Fedora, Debian, openSUSE) forbid or discourage including fonts within a package and instead force or encourage you to load them from the system dir `/usr/share/fonts` and its subdirectories.  \r\n\r\nRemoving fonts from a package will introduce a problem:  the greek letters on star names disappear and it looks like there are repeated star names everywhere.\r\n\r\nHere is a hard-coded fix that I just employed in a package:\r\nhttps://build.opensuse.org/package/view_file/games/freeorion/freeorion-fontdir.diff?expand=1"},"comment":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/comments/140616546","html_url":"https://github.com/freeorion/freeorion/issues/349#issuecomment-140616546","issue_url":"https://api.github.com/repos/freeorion/freeorion/issues/349","id":140616546,"user":{"login":"raptor","id":6452412,"avatar_url":"https://avatars.githubusercontent.com/u/6452412?v=3","gravatar_id":"","url":"https://api.github.com/users/raptor","html_url":"https://github.com/raptor","followers_url":"https://api.github.com/users/raptor/followers","following_url":"https://api.github.com/users/raptor/following{/other_user}","gists_url":"https://api.github.com/users/raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptor/subscriptions","organizations_url":"https://api.github.com/users/raptor/orgs","repos_url":"https://api.github.com/users/raptor/repos","events_url":"https://api.github.com/users/raptor/events{/privacy}","received_events_url":"https://api.github.com/users/raptor/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T03:38:39Z","updated_at":"2015-09-16T03:38:39Z","body":"In theory, upon package installation, I could iterate through all users and set-up a `config.xml` in a `$HOME/.freeorion/` folder, but that is quite cumbersome and incurs significant package maintenance overhead as the file can change from release-to-release.  It would also clutter non-players home directories.  This type of set-up is typically left to upstream.\r\n\r\nI just tested the soft-links on openSUSE.  RPMLint didn't give any warnings, the fonts work on first install, and an end-user still can change the paths.   So this is the best workaround yet.  Thanks!"}}