From owner-freebsd-questions@freebsd.org Sun Jan 7 17:40:43 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5821E77A70 for ; Sun, 7 Jan 2018 17:40:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21B7D6F99F for ; Sun, 7 Jan 2018 17:40:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPA (Nemesis) id 0MhPmw-1eBbTX3pRK-00Me4m; Sun, 07 Jan 2018 18:40:34 +0100 Date: Sun, 7 Jan 2018 18:40:33 +0100 From: Polytropon To: Christian Weisgerber Cc: freebsd-questions@freebsd.org Subject: Re: Poor default fonts in Firefox Message-Id: <20180107184033.04b66209.freebsd@edvax.de> In-Reply-To: <20180107155832.GA84935@lorvorc.mips.inka.de> References: <20171227174525.cc1e9047.freebsd@edvax.de> <20180107155832.GA84935@lorvorc.mips.inka.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:R7os/X8dqfnQEASW0r5UBE9Ekz0S6kow4tUX39xjxQJAo1W49ar Zrwf1+2OsE4PlM1JEQkHo7dlqjltTZJY3p6V2d9ESMsS6SKZAOv8zHM2OnkIkGXBadMK0kf ThlxhuXNfHnwKfAD7090GeV12LPRlLM1zw4BY6sp0Mx43ugwpkE5VqzAtVbHYvh/bMMOSNk 0jhYuKj+1fuu5PHG5x1ow== X-UI-Out-Filterresults: notjunk:1;V01:K0:WtxtM9ILxpk=:KhPgp4sF3YprOS6DP+YJOI BibXePvZqcDR1LPRujszxFYJae2oaGs6ZYPL6KjCTMvTIcqppDEi14FjTKSo2bPYzKfoYr+g0 SMumal6m28Lx1eegvk4lCwP0sMHD1UsncEqwkREQAqYpxD/WY9bwpdaigXxLiIj+GNUj1pmB8 OO+Sg9LAtlN7E4/FkG3OoruNhQF9IDQ9oijXWGoDc7psBDGNoIln8dOWZQ24eIKmNNrRUWgk9 I1tXMHfEQWKzto5hTx9z37yR2MpyY2N+M/iENDSc+1vwhPFwLn9wYjGv5mFw+SPzDxoRfCh40 HUNNgf7OukyGDW+IFbfmkC1ar6X3FScVbHixL0+9tAdOiE7R/L9v42D83Zg93RvU4YiKmG3uP 6dy9yCtgURR8es88qNlL5TWCitqkyyLH67y8BwLe6WlAJ3UtdHGS7wl31HJcQIr170VC38OJ8 0OYrOg77ZnhzAAKUfOSAg4cHCFy3iNQfPIc9UtbpLpudyxyGGo1m7re9k+uaJL/nd49yUqbdR 064+HMUrna9Y0ucAzuIih+yCliCR0/MfXOovwKG99SHfPBvL2nb16A91B/6o3TkktSkUrqmGD 6mfgHgLVnKYTj2htOknYtiPzV0pbaHsfDbs+9bBKUDZ1Mv9iDngY1rXSqvpDfIXvowAyHHl1P njGZAbdQpW0Ghqa+Pa96ALMu/bdLVmQ8TuSTCnCbsPBfjnQVfvEdw9OcdAhScz08fGLTTH1PE yGhVujZ1636gtjxM6LkPvWeMES9H72SQmLGTCpSYcJkoM9KuYBLGg9Dy5b4= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 17:40:43 -0000 On Sun, 7 Jan 2018 16:58:32 +0100, Christian Weisgerber wrote: > Polytropon: > > > > You install a new FreeBSD machine with a graphics display, install > > > the xorg and firefox ports on it, all default options, start browsing > > > the web... and you see that some sites (e.g. http://www.bbc.com/news) > > > are presented with pixelated fonts like something out of the 1990s. > > > > > > What do you do? > > > > You install the recommended font packages. :-) > > Well, there is no such recommendation. It is an "implicit recommendation" which is used so frequently that nobody mentions itanymore . "If you want usable fonts, then go ahead and install them!" ;-) > > > My personal solution for the last few years has been to pinch > > > OpenBSD's etc/fonts/conf.avail/31-nonmst.conf file... > > > > This isn't needed as soon as the webfonts package has > > been installed. And even the DejaVu fonts need to be > > installed manually, if I remember correctly. > > No, Deja Vu is a standard dependency: > x11/xorg > -> x11-fonts/xorg-fonts > -> x11-fonts/x11-fonts/xorg-fonts-truetype > -> x11-fonts/dejavu Good to know. I don't know the exact dependency trees for the different fonts and how they might have changed over time, so maybe my assumption is no longer true. > Installing webfonts does NOT fix the problem. fc-match shows that > popular font names like "Helvetica" and "Times" are still mapped > to the same bitmap fonts as before and that's what you still get > in Firefox. Maybe there is a different problem: Maybe the page in question supplies its own font, and this font just gets rendered in a really terrible manner by the browser's font rendering engine? There could also be a setting within the browser that handles fonts (and prevents the correct usage of a font that is already present on the system). I don't have much experience in "pixel-perfect web publishing as if it was a printed material", because I usually work with printed material. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...