You are not logged in.
Offline
I don't understand the question here: the syntax highlighting looks identical in the two images.
Font rendering looks a bit different. Is that what you are asking about? There are font-config settings around to fix that. Search "font rendering github" for those solutions.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't understand the question here: the syntax highlighting looks identical in the two images.
Font rendering looks a bit different. Is that what you are asking about? There are font-config settings around to fix that. Search "font rendering github" for those solutions.
Yep thats exactly what I'm looking for
. I have edited the topic title and my question.
Offline
Trilby, do you think this should go into https://wiki.archlinux.org/index.php/Fo … leshooting or is there a better place for this fix?
Offline
A pertinent question that I'm sure has been asked before is why does github, which is built around the idea of hosting open source projects, asking for specific fonts in their css that are missing in a lot of base OS installs? If you ask me it's unfriendly towards their user base.
Another pertinent question would be why is the fallback something that's so blurry and unreadable? And is that a fontconfig issue or a webkit issue? I had the same problem with DWB and have seen it come up with a number of other webkit browsers. Always it's the "clean" font.
I'm only posting because workarounds tend to annoy the user, no matter the experience level. They shouldn't be necessary on the open web.
Rant mode off.
Offline
OP wrote that github looks bad in firefox too, so it's not webkit-only issue.
Offline
Hmm, I can't find references to this in the wiki - I thought it was there. I have definitely see many github-font issues in the forums, most of them are quickly solved with font-config settings. Some are their own threads like here but many seem to crop up in the browser-specific threads (eg luakit and dwb).
I really don't have any great insight on this though as I know just enough about font-configuration to know how to listen to know more, and copy their configs. I've used settings in forum posts to solve similar issues of ugly github font rendering.
More directly to Karol's question: Karol if you are confident in writing this up, that troubleshooting section looks like a good place to me. But perhaps "github" deserves it's own section under troubleshooting font configuration as it is a commonly recurring topic.
Last edited by Trilby (2013-09-20 17:49:57)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
As per bohoomil's recommendation, I created and installed the ttf-ms-win8 font package. At some point, I had an issue with libreoffice actually not actually showing any fonts at all. After much browsing, I found others who reported the same thing and that the removal of the ms fonts solved the issue (it turned out to be segoe I think). In the mean time, I tried using the google fonts (ttf-google-fonts-git) and was quite pleased with them… until I navigated to the github page, which was awful. So in the end, I resintalled the ttf-ms-win8 font package, as the free fonts were apparently insufficient.
So the point of this story is that although I think you can "fix" things to a degree by modifying the font configurations, this is actually a simple case of not having the available font on one's system (and github defaulting to something crappy, as mentioned by nfisher.sr above).
Take this story/post with a pinch of salt though, as I simply put my font configuration needs in the hands of the amazingly capable bohoomil and his infinality-bundle. I just do what he tells me to do, and my fonts look amazing.
Offline
Thanks for your input.
I'll play a bit around and see if I can fix this.
When I have found a solution I'm going to post it here ![]()
Offline
This seems to be a problem with the ttf-ms-win8 fonts.
After removing it, the font on github looks normal again. Should I mark it as solved?
Offline
It is your thread, and if you feel that it is solved, then mark it as such.
I am quite preplexed as to why the removal of ttf-ms-win8 would make this better. I have this package, and it seems to be working great for me. I'm not sure how font crazy you are, but if you want some nice fonts that someone with know-how maintains, I would recommend you have a look at bohoomil's infinality-bundle. It is an unofficial repo with signed packages from a prominent member of these forums and community.
Offline