Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2016 11:38:06 -0400
From:      Anton Yuzhaninov <citrin+bsd@citrin.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: firefox printing very ugly
Message-ID:  <d9b9fcb0-b670-2c5c-446b-2e23a038e7b5@citrin.ru>
In-Reply-To: <20161020102520.GA4665@c720-r292778-amd64>
References:  <20161020102520.GA4665@c720-r292778-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/20/16 06:25, Matthias Apitz wrote:
> <body style="font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;">

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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9b9fcb0-b670-2c5c-446b-2e23a038e7b5>