From owner-freebsd-ports@FreeBSD.ORG Tue Mar 3 17:02:18 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7653D1065673 for ; Tue, 3 Mar 2009 17:02:18 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mx1.freebsd.org (Postfix) with ESMTP id F18E68FC13 for ; Tue, 3 Mar 2009 17:02:16 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-15-z2.arcor-online.net (mail-in-15-z2.arcor-online.net [151.189.8.32]) by mx.arcor.de (Postfix) with ESMTP id 229D139A61D for ; Tue, 3 Mar 2009 18:02:15 +0100 (CET) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-15-z2.arcor-online.net (Postfix) with ESMTP id 0C983724294 for ; Tue, 3 Mar 2009 18:02:15 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-092-075-201-109.pools.arcor-ip.net [92.75.201.109]) by mail-in-14.arcor-online.net (Postfix) with ESMTPS id 6D93328B149 for ; Tue, 3 Mar 2009 18:02:14 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.6.0 mail-in-14.arcor-online.net 6D93328B149 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.3/8.14.3) with ESMTP id n23H2DEQ007430 for ; Tue, 3 Mar 2009 18:02:13 +0100 (CET) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.3/8.14.3/Submit) id n23H2DZq007429 for freebsd-ports@freebsd.org; Tue, 3 Mar 2009 18:02:13 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Tue, 3 Mar 2009 17:02:13 +0000 (UTC) Message-ID: References: <20090221180120.1529563b.lehmann@ans-netz.de> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org X-Virus-Scanned: ClamAV 0.94.2/9065/Tue Mar 3 11:43:41 2009 on mail-in-14.arcor-online.net X-Virus-Status: Clean Subject: Re: firefox and anti aliased printouts X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 17:02:19 -0000 Oliver Lehmann wrote: > I don't know when this first occured (maybe when switching from firefox 2 > to 3) but all the printouts I'm doing from a webpage have their fonts > displayed extremly grainy. It is hard to read anything on the printout. > Any idea how I can get my firefox to print nice anti aliased fonts? For web pages that want specific fonts, such as Arial, Firefox (or maybe an underlying component, i.e., cairo or fontconfig) ends up picking a bitmapped font. There are several workarounds for this. * Completely disable bitmapped fonts in fontconfig (70-no-bitmaps.conf). I'm told future versions of fontconfig will do this anyay. Right now it has the disadvantage that if you use the default X11 fonts, it kills various non-Western scripts. For instance, no more Japanese in Firefox. * Do what OpenBSD did for its upcoming 4.5 release and gently force fontconfig to map Arial and friends to Bitstream fonts. http://www.openbsd.org/cgi-bin/cvsweb/xenocara/lib/fontconfig/conf.d/31-nonmst.conf?rev=1.2 * Install x11-fonts/liberation-fonts-ttf and write a fontconfig configuration file that maps Arial and friends to their Liberation equivalents. * Install x11-fonts/webfonts to get the original Microsoft fonts if you don't mind being touched by evil. -- Christian "naddy" Weisgerber naddy@mips.inka.de