You are not logged in.
Pages: 1
I succeeded to get rid of font fringe in Firefox by using:
$ cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcdlegacy</const></edit>
<edit name="rgba" mode="assign"><const>none</const></edit>
</match>
</fontconfig>
but I can't get rid of it in any terminal where I can set the font size and background color, which means lxterminal and gnome-terminal.
I really need this, please tell me how could you set up your terminal with no font fringe, a normal 12 points font and white on black colors in X Window?
Last edited by doru001 (2013-02-03 10:33:15)
Offline
Your rules are far too simple. Look at Infinality's fontconfig rules.
You haven't specified which font.
If you care about how your fonts look, I strongly recommend setting up Infinality's rendering.
Offline
I was under the assumption that most terminals rely on .XResources for their font settings? Like:
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.autohint: 0
etc...
or?
Offline
I was under the assumption that most terminals rely on .XResources for their font settings? Like:
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.autohint: 0
etc...or?
I tried .Xresources but it does not influence the font in lxterminal, either.
Last edited by doru001 (2013-02-01 08:17:14)
Offline
Your rules are far too simple. Look at Infinality's fontconfig rules.
You haven't specified which font.
If you care about how your fonts look, I strongly recommend setting up Infinality's rendering.
The font is specified in lxterminal > properties, but I don't know what should I do.
`pacman -Ss infinality` returns nothing. Have you installed the patch from http://www.infinality.net/blog/infinali … e-patches/?
Do you know for sure that infinality influences lxterminal?
Last edited by doru001 (2013-02-01 08:12:15)
Offline
Well, looking at your fonts.conf I see you are using 'lcdlegacy' as lcdfilter, iirc that filter could cause alot of color fringing, have you tried lcddefault or lcdlight (the latter 'should' have the least amount of color fringing)?
Also when you change your .Xresources settings, I believe you need to do 'xrdb -merge ~/.Xresources' for them to take effect.
That's all I can think of, if it still looks weird please post a screenshot.
Offline
See packages in AUR.
Dunno what lxterminal uses - I use xfce4-terminal. It's pretty sad that some terminals are still stuck in the dark ages of *not* using fontconfig's flexibility
One way of trying to identify a font is e.g.:
lsof | grep firefox | grep ttf
Offline
Well, looking at your fonts.conf I see you are using 'lcdlegacy' as lcdfilter, iirc that filter could cause alot of color fringing, have you tried lcddefault or lcdlight (the latter 'should' have the least amount of color fringing)?
Also when you change your .Xresources settings, I believe you need to do 'xrdb -merge ~/.Xresources' for them to take effect.
That's all I can think of, if it still looks weird please post a screenshot.
I believe that lcdlegacy was the best for firefox - I just changed those options randomly around.
I used `xrdb ~/.Xresources` and then `xrdb -q` to make sure that the settings have been loaded. After that I restarted lxterminal and I checked again that `xrdb -q` did not change.
Last edited by doru001 (2013-02-01 08:55:05)
Offline
See packages in AUR.
Dunno what lxterminal uses - I use xfce4-terminal. It's pretty sad that some terminals are still stuck in the dark ages of *not* using fontconfig's flexibility
One way of trying to identify a font is e.g.:
lsof | grep firefox | grep ttf
No problem, I'll use xfce4-terminal, just tell me that it listens to infinality and that you have no font fringes on it, when white on black at 12 points.
Thanks for the lsof. (It does not work in console, though.)
Last edited by doru001 (2013-02-01 09:07:01)
Offline
I fixed it with `lxappearance` > Font > uncheck Enable antialiasing and check Enable hinting:
fringe2 screenshot (no more direct link, where are they going to stop?)
Last edited by doru001 (2013-02-01 10:17:32)
Offline
just tell me that it listens to infinality
Yes.
and that you have no font fringes on it
Wrong. There is no simple, magic button marked "remove font fringes" that you can press.
The sad reality is that font rendering is a horrendous historical mess of compromises, becauses monitors are roughly 100 dots-per-inch rather than the 600 DPI that we would like.
What you get with Infinality is better rendering in general, and more tweaking ability. But this takes effort, on your part.
The compromise ends up being a little bit of fringing. E.g. with small, bold Helvetica. An option is to turn the sub-pixel rendering off, to remove the fringing, but that looks worse to me.
Fonts also vary wildly in quality. In my terminal I've been happy for years with the Liberation Mono font.
Offline
Wrong. There is no simple, magic button marked "remove font fringes" that you can press.
The sad reality is that font rendering is a horrendous historical mess of compromises, becauses monitors are roughly 100 dots-per-inch rather than the 600 DPI that we would like.
What you get with Infinality is better rendering in general, and more tweaking ability. But this takes effort, on your part.
The compromise ends up being a little bit of fringing. E.g. with small, bold Helvetica. An option is to turn the sub-pixel rendering off, to remove the fringing, but that looks worse to me.
Fonts also vary wildly in quality. In my terminal I've been happy for years with the Liberation Mono font.
I finally begin to understand. Thank you.
P.S. Where is this lxappearance saving its configs? Of course, no man.
EDIT: By using find to search for modified config files while I modified settings in lxappearance I found out that the settings for fonts are modified in `/home/user/.config/lxsession/LXDE/desktop.conf` (and they are full of references to gtk).
Last edited by doru001 (2013-02-01 11:02:44)
Offline
Pages: 1