You are not logged in.
Screenshot: http://imgur.com/x6kIE
URW Palladio L has differing heights for its characters at the same font size. Judging by screenshots of this font on the web, this is not how the font looks elsewhere.
This occurs at least in Firefox and in LibreOffice.
Does this happen to everybody on Arch? Any ideas what the problem is?
Last edited by Markus00000 (2012-01-21 09:43:36)
Offline
It renders well for me. Perhaps you're not using the correct hinting/autohint values? Also if you use any non-standard font packages such the infinality stuff, you should mention it.
Last edited by lolilolicon (2012-01-21 09:16:38)
This silver ladybug at line 28...
Offline
Thanks for your answer. I have not consciously installed anything except ttf-dejavu and ttf-liberation.
$ pacman -Qs ttf
local/sdl_ttf 2.0.11-1
local/ttf-dejavu 2.33-1
local/ttf-freefont 20100919-1
local/ttf-liberation 1.07.1-1
What are the correct (or your) hinting/autohint values? I don't think I have ever modified any font settings except in .Xresources. Also I don't have a ~/.fonts.conf.
Edit: Well, I just put everything that sounded helpful from the wiki (Font configuration) into a ~/.fonts.conf and URW Palladio L looks normal now. Thank you very much for the tip!
Last edited by Markus00000 (2012-01-21 09:35:19)
Offline
instead you could install infinality patches from AUR.infinality looks better than wiki Font configuration settings in my notebook.
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
I assume the fix was:
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
Yes?
Offline
I assume the fix was:
<edit name="embeddedbitmap" mode="assign"> <bool>false</bool> </edit>
Yes?
No. I don't have this rule and it renders well for me; I also don't see any bitmap font in that screenshot...
This silver ladybug at line 28...
Offline
I was asking the person for whom it was broken... The screenshot is of the *broken* font rendering.
Scalable fonts can have embedded bitmaps.
Offline
I get what you say.
Since I don't see any bitmap font in the screenshot, I don't see how disabling embedded bitmap would fix it.
This silver ladybug at line 28...
Offline
True.
Well, it's still bizarre, and it would be interesting to narrow down the cure from "everything that sounded helpful"
Offline
Sorry for the late reply, my Internet provider decided that I didn't need Internet over the weekend.
1) The "embeddedbitmap" setting does not seem to change anything.
2) It looks ugly with the following settings:
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
Note: "autohint" is missing here.
3) It looks fixed with the following settings:
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
Are there any reasons why one shouldn't combine the settings from 2) and 3)?
Edit: One thing I notice is that headlines like those on the forum index page become very bold when "autohint" is on. If one doesn't like that, disabling "autohint" and replacing ugly fonts could be a solution.
Last edited by Markus00000 (2012-01-23 13:03:38)
Offline
Are there any reasons why one shouldn't combine the settings
Nope. It's the only way to get the best out of each font. Infinality has lotsa fontconfig rules.
Offline
infinality from AUR gives you all the options.Its much easier,than the mangling with fonts.conf
Last edited by hadrons123 (2012-01-23 13:34:10)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
I think I will settle with "autohint" enabled for specific fonts only (like URW Palladio L). This way I don't get overly bold bold fonts and don't need to install any packages.
<match target="pattern" name="family">
<test name="family" qual="any">
<string>URW Palladio L</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
Thanks for all your help!
Offline