You are not logged in.
I have been trying out the uzbl browser, i.e. uzbl-tabbed, a few times, but I'm having some problems, especially with font rendering on a few pages. For instance, GitHub looks like this:
I'm using the default configuration of uzbl. I have the following font packages installed (I believe that is all, though I'm not completely sure):
gsfonts
ttf-dejavu
xorg-fonts-miscHave anybody experienced something like this before or maybe have an idea about what the issue can be?
Thank you
Last edited by akh (2013-05-03 19:37:11)
Offline
Does it affect any browser? Webkit-based browsers? Or just uzbl?
Offline
I had this problem, apparently it is because of the clean font. I made that userscript to fix it :
// ==UserScript==
// @name noclean
// @description deletes that ugly 'clean' font
// @match *://*/*
// ==/UserScript==
elements = document.getElementsByTagName("*");
for(var i = 0 ; i < elements.length ; i++) {
style = getComputedStyle(elements[i], null).fontFamily;
elements[i].style.fontFamily = style.replace(/,?\s+clean/i, "");
}Offline
Does it affect any browser? Webkit-based browsers? Or just uzbl?
Actually it also affects vimprobable2, which I have installed but not really used much yet. It looks fine in firefox. I guess it is an issue with WebKit-based browser then.
I had this problem, apparently it is because of the clean font. I made that userscript to fix it :
// ==UserScript== // @name noclean // @description deletes that ugly 'clean' font // @match *://*/* // ==/UserScript== elements = document.getElementsByTagName("*"); for(var i = 0 ; i < elements.length ; i++) { style = getComputedStyle(elements[i], null).fontFamily; elements[i].style.fontFamily = style.replace(/,?\s+clean/i, ""); }
Can you explain how this is to be used? I haven't really looked much into configuring uzbl yet. I tried adding:
@on_event LOAD_COMMIT script /path/to/script.jsto my ~/.config/uzbl/config file, but that didn't change anything. I'm sorry if I should have looked more into this beforehand.
Last edited by akh (2013-05-03 19:12:26)
Offline
I don't use uzbl, so I don't know how userscripts work with this browser.
If you read the CSS of Github, you can see that the fonts priority is 'Helvetica, arial, freesans, clean, sans-serif' so another solution would be to install one of the 3 first fonts (I think the ttf-freefont package contains freesans), but this may not work on other sites.
Offline
I just installed ttf-freefont and that seems to have solved the problem completely. Thank you for the help! Now I know where to look next time.
I don't know if this is the "best" solution, but it definitely works, so I'm going to mark this thread solved.
Last edited by akh (2013-05-03 19:36:31)
Offline