You are not logged in.
Pages: 1
Topic closed
Hello,
straight to the point
Chrome:
http://i.imgur.com/GpjpYqo.png
Firefox:
http://i.imgur.com/PYH7pua.png
This happens only on some websites, and the workarounds found in the wiki articles[1] don't work for me.
I don't know if this is helpful, if you need more information just ask:
ls /etc/fonts/conf.d
10-autohint.conf 20-unhint-small-vera.conf 40-nonlatin.conf 51-local.conf 60-latin.conf 80-delicious.conf
20-unhint-small-dejavu-sans.conf 29-replace-bitmap-fonts.conf 45-latin.conf 57-dejavu-sans.conf 65-fonts-persian.conf 90-synthetic.conf
20-unhint-small-dejavu-sans-mono.conf 30-metric-aliases.conf 49-sansserif.conf 57-dejavu-sans-mono.conf 65-nonlatin.conf README
20-unhint-small-dejavu-serif.conf 30-urw-aliases.conf 50-user.conf 57-dejavu-serif.conf 69-unifont.conf
I don't have any fonts/local.conf nor .fonts.conf in ~.
Someone knows how to troubleshoot/resolve this?
Thanks
[1]
https://wiki.archlinux.org/index.php/Firefox
https://wiki.archlinux.org/index.php/Firefox_Tweaks
Last edited by tilde (2013-04-17 08:44:32)
Offline
Looks like you want these fontconfig options, from Infinality's config:
<!-- Prevent Gnome from using embedded bitmaps in fonts like Calibri -->
<match target="font">
<edit name="embeddedbitmap" mode="assign"><bool>false</bool></edit>
</match>
<!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
<match target="font">
<selectfont><rejectfont><pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern></rejectfont></selectfont>
</match>
<!-- Substitute truetype fonts for bitmap ones -->
<match target="font">
<edit name="prefer_outline"><bool>true</bool></edit>
</match>
Offline
Thanks for the reply.
I applyed that configuration in /etc/fonts/local.conf, the page rendering remains the same, i know for sure it was applied since my terminal is screwed up (I use GohuFont).
Do i need to install something? I only have
pacman -Qs ttf
local/ttf-dejavu 2.33-4
Font family based on the Bitstream Vera Fonts
with a wider range of characters
and
ls .fonts
baekmuk gohufont inconsolata kochi
Offline
Offline
Go go gadget Wiki
https://wiki.archlinux.org/index.php/Fi … n_webpages
Offline
Do i need to install something?
How about more Truetype fonts? Firefox can only use the fonts that you have on your system, unless the font is provided as part of the web page data.
Offline
Go go gadget Wiki
https://wiki.archlinux.org/index.php/Fi … n_webpages
see
This happens only on some websites, and the workarounds found in the wiki articles[1] don't work for me.
Offline
tilde wrote:Do i need to install something?
How about more Truetype fonts? Firefox can only use the fonts that you have on your system, unless the font is provided as part of the web page data.
I just installed
local/freetype2-ubuntu 2.4.11-1
to no avail. Do i have to configure firefox or the system to use them instead of the current one? I find the docs rather confusing on this point.
Offline
freetype2 is the font rendering library software, it does not provide any fonts.
You want packages which install truetype fonts.
Offline
freetype2 is the font rendering library software, it does not provide any fonts.
You want packages which install truetype fonts.
Sorry, i meant
local/ttf-ubuntu-font-family 0.80-4
Ubuntu font family
Offline
Ok, i played around and in the end I installed
local/ttf-win7-fonts 7.1-3
Microsoft Windows 7 TrueType Fonts
(if someone else gonna do it, read the PKGBUILD and be sure to have a windows 7 installation running or install media at hand)
and used these configs based on infinality https://github.com/bohoomil/fontconf/
Now everything is beautiful, thank you all for the help.
Offline
Looks like you want these fontconfig options, from Infinality's config:
<!-- Prevent Gnome from using embedded bitmaps in fonts like Calibri --> <match target="font"> <edit name="embeddedbitmap" mode="assign"><bool>false</bool></edit> </match> <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. --> <match target="font"> <selectfont><rejectfont><pattern> <patelt name="scalable"><bool>false</bool></patelt> </pattern></rejectfont></selectfont> </match> <!-- Substitute truetype fonts for bitmap ones --> <match target="font"> <edit name="prefer_outline"><bool>true</bool></edit> </match>
Thanks for sharing this! Your solution works almost perfectly. However, I get regularly the following terminal output (warning messages):
Fontconfig warning: "local.conf", line 36: No <test> nor <edit> elements in <match>
...which Should be simple to fix. However, forgive me. I'm not very familiar with the code itself. Any quick help is appreciated.
The problematic code string states as follows:
<!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
<match target="font">
<selectfont><rejectfont><pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern></rejectfont></selectfont>
</match>
Offline
Follow the obvious link in my sig, look at my current config, note the change:
<!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
<selectfont><rejectfont><pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern></rejectfont></selectfont>
Offline
@brebs
Thanks, works like a charm!
Offline
got it installed on ubuntu using these instructions and some of the info in this thread.
https://www.linuxbabe.com/desktop-linux … ogle-fonts
thanks guys my eyes were killing me in firefox and i thought it was the monitor brightness for the longest time until i read a thread about firefox and its crappy stock fonts.
Last edited by XeoNoX (2017-04-13 19:47:33)
Offline
These aren't the Ubuntu boards and we don't register just to necrobump: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed