freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] lsb_delta / rsb_delta support in Linux libraries?


From: Alexander Shaduri
Subject: Re: [ft] lsb_delta / rsb_delta support in Linux libraries?
Date: Mon, 28 Jun 2010 13:15:25 +0400

Hello,
Thanks for you reply.

On Sun, 27 Jun 2010 17:01:35 -0400
James Cloos wrote:

> AFAICT, in pango-view, with --hinting=auto, the text matches ftdiff(1)’s
> results when the delta flag is set.  This suggests that pango does what
> you want.
> 
> I currently have pango-1.28.1 installed, FWIW.

Hmm, I installed pango 1.28.0 (that's the latest one I could get a package
of under openSUSE), and it still matches the no-deltas rendering of ft-view.
1.28.1's NEWS file doesn't suggest that there were any relevant changes.

http://artificialtime.com/ft/ftdiff_lsb_rsb_pangoview.png
This screenshot displays the following:
$ ftdiff -r 96 -s 8 -f ~/ft_text.txt arialbd.ttf
$ pango-view --font="Arial Bold 8" --dpi 96 --hinting=auto ~/ft_text.txt

You have to press the following keys to get that output in ftdiff: "d h r 2 r 1 
r".

> As a side note, fc-match(1) tells me that 8 pt at 96 dpi is 10⅔ px; a
> 10⅔ px font at my display’s 133 dpi is approximently 5 7/9 pt.  Tiny!

The 10pt @96dpi fonts on my display look quite large. But with web designers
hardcoding 8pt fonts (or sometimes even 8px fonts), the situation described
above (8pt @96dpi) is quite common. There's also the fact that e.g. Webkit
has hardcoded 96 dpi.

Thanks,
Alexander



reply via email to

[Prev in Thread] Current Thread [Next in Thread]