From owner-freebsd-questions@freebsd.org Thu Oct 20 15:38:11 2016 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 15E18C1ADB6 for ; Thu, 20 Oct 2016 15:38:11 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [88.198.212.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFDBF61E for ; Thu, 20 Oct 2016 15:38:10 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (c-24-60-168-172.hsd1.ct.comcast.net [24.60.168.172]) by hz.citrin.ru (Postfix) with ESMTPSA id 042BF28A52E for ; Thu, 20 Oct 2016 15:38:07 +0000 (UTC) Subject: Re: firefox printing very ugly To: freebsd-questions@freebsd.org References: <20161020102520.GA4665@c720-r292778-amd64> From: Anton Yuzhaninov Message-ID: Date: Thu, 20 Oct 2016 11:38:06 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161020102520.GA4665@c720-r292778-amd64> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1476977888; bh=Gl8hpTud434HwrZzFGi1L74gAw6N6ZBlpfx01Qc+Ago=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=uNBF6e16YsW8PPrEpJvIyw+ySfX4iyax/EpGHRtLWdZv7wyXWEdwLctKhf+q0I9WJEgeBvMD5Fa86zPzNezSWzJ8EbtCw6yR1n5tboClnimlC0Ns2gkKKxkqxemcMY6no1fDHi42zd+akQV9tePOPlP/jlzkGU9S9J1W/94a1s8= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 15:38:11 -0000 On 10/20/16 06:25, Matthias Apitz wrote: > In Firefox your can open Web Inspector (Ctrl+Shift+c), point to text and then view in Font tab which font is actually selected by Firefox for given text. If it shows: Foo Bar system used as Helvetica your can check via $ fc-match 'Foo Bar' which font file selected by fontconfig for this font name. Is font shown by fc-match is TTF/OTF font? If your don't have Geneva,Helvetica,Arial fonts installed your can create aliases in fontconfig xml config, see e. g. https://seasonofcode.com/posts/how-to-set-default-fonts-and-font-aliases-on-linux.html I also use aliases for common font family names, but prefer other fonts. > It looks fine in the firefox, but when I print it to a local file > mozilla.pdf or mozilla.ps it looks very ugly. Is in "Print Preview" text rendered in readable form?