You are not logged in.
Hi, I'm using on a website google font "Roboto" height 16px, thin 100 and it's very ugly in FF. In Chromium it is ok, in win7 (all browsers) ok, on Mac it is ok. Only on my arch in FF it looks bad. The letter "S" is the worst. Have you any idea what's wrong with FF? Tried also news blank profile in profilemanager but didn't help.
Thanks a lot
Left Chromium / right Firefox
Last edited by 5ulo (2013-12-14 14:52:33)
Offline
Have you tried changing the value of layout.css.dpi to 0 or your laptop's dpi from about:config in firefox?
Offline
Yes, layout.css.dpi is 0 (previous state was -1). Did not help
Offline
Have you disabled bitmap fonts
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Yes Trilby, tried that too.. no change
Offline
A while ago I added a fontconfig rule:
<!-- http://androidforums.com/alpha-beta-testing/684654-learn2leitner-flashcard-app-not-ios.html
To stop ugly 's'. Is medium but looks bold! -->
<match target="font">
<test name="family"><string>@font-face:RobotoMedium</string></test>
<edit mode="assign" name="autohint"><bool>false</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
</match>This is with Infinality's rendering.
Offline
Hi brebs, where should I put that piece of code? Thanks!
Offline
As a conveniently-simple answer: /etc/fonts/conf.d/
Offline
/etc/fonts/conf.d/60-robotofont.conf .. did not help :-/ maybe I'm doing something wrong
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- http://androidforums.com/alpha-beta-testing/684654-learn2leitner-flashcard-app-not-ios.html To stop ugly 's'. Is medium but looks bold! -->
<match target="font">
<test name="family"><string>@font-face:RobotoMedium</string></test>
<edit mode="assign" name="autohint"><bool>false</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
</match>
</fontconfig>Offline
Edit the rule to set antialias to false - that makes the font stand out, and is great for debugging - to check that the match is working.
Maybe you have the font installed locally, in which case add a new match section, which matches on RobotoMedium rather than @font-face:RobotoMedium
Offline
I haven't installed roboto font locally. My .conf file looks now like this and the Roboto font looks unaliased (sharp)
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- http://androidforums.com/alpha-beta-testing/684654-learn2leitner-flashcard-app-not-ios.html To stop ugly 's'. Is medium but looks bold! -->
<match target="font">
<test name="family"><string>@font-face:Roboto</string></test>
<edit mode="assign" name="autohint"><bool>false</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
<edit mode="assign" name="antialias"><bool>false</bool></edit>
</match>
</fontconfig>All fonts ok, roboto un-antialiased
Offline
Use bohoomil's packages.
Everyone who has to stare at a computer screen, should be using Infinality's rendering.
Offline
The webfont looks good to me on the following page (I use the infinality patchset). I haven't installed the ttf files.
http://www.google.com/fonts/specimen/Roboto
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Use bohoomil's packages.
Everyone who has to stare at a computer screen, should be using Infinality's rendering.
This helped me! Thanks brebs!
Problem solved ![]()
Offline