From owner-freebsd-questions@freebsd.org Thu Oct 20 18:04:47 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 34171C19138 for ; Thu, 20 Oct 2016 18:04:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 EC7D5A2B for ; Thu, 20 Oct 2016 18:04:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.106.161] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bxHhr-0005BF-J5 for freebsd-questions@freebsd.org; Thu, 20 Oct 2016 20:04:43 +0200 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u9KI4eH4002044 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 20 Oct 2016 20:04:40 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u9KI4d3U002043 for freebsd-questions@freebsd.org; Thu, 20 Oct 2016 20:04:39 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 20 Oct 2016 20:04:39 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: firefox printing very ugly Message-ID: <20161020180439.GA1906@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20161020102520.GA4665@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.161 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 18:04:47 -0000 El día Thursday, October 20, 2016 a las 11:38:06AM -0400, Anton Yuzhaninov escribió: > 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. Thanks for digging into this. > > If it shows: > Foo Bar system > used as Helvetica It shows: Helvetica Regular system Used as: "Helvetica" > your can check via > $ fc-match 'Foo Bar' > which font file selected by fontconfig for this font name. $ fc-match 'Helvetica Regular' DejaVuSans.ttf: "DejaVu Sans" "Book" > Is font shown by fc-match is TTF/OTF font? Seems to be a TTF one, isn't it? > 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. Will check this hint too. Thanks. > > 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? Yes, looks fine. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Einheitsfeier? Nein, danke! Kann ich bitte mein Land wiederhaben und am 7. Oktober feiern. Wie bitte? Warum? Weiterlesen: http://www.unixarea.de/privateEn.html