I'm not sure I understand... I mean the top two are objectively better, no?
Whether they cover same pixels but with different colors seems irrelevant since if the eyes see it differently.

My understanding was that it was not possible to achieve better result with Athens/Cairo than currently is and Pango/Cairo seems to produce better result.

What am I missing?

Thanks,
Peter

On Thu, Jul 30, 2015 at 9:55 PM, Nicolai Hess <nicolaihess@web.de> wrote:


2015-07-29 9:14 GMT+02:00 Peter Uhn��k <i.uhnak@gmail.com>:
... I should really stop clicking <Reply> instead of <Reply to all>.... sorry for the double mails Nicolai.


Platform - Debian Linux 64 bit (mix of stable/testing/experimental)
Font - DejaVu Sans Regular 10 (I wanted to use Source Sans Pro, but my system is behaving weirdly about this font, so I used DejaVu, but in principle its same)
libcairo2 1.14.2-2


Morphic is screen from Morphic world (with hinting on normal)
Pango/Cairo generated with this script http://pastebin.com/Fx0r4XWJ (I found the code in this discussion http://ubuntuforums.org/archive/index.php/t-2120175.html )
Bloc is from Bloc world.

Apart from antialiasing, in ���the Bloc one you can also see that kerning is wrong; noticeable for example in q-uic-k, br-o-wn, l-azy or Config-uration.

I don't think it uses different kerning. If you enlarge the image, it looks like the characters cover the same pixel but with
different colors. And this appears as different thickness and distance.

��

Peter

On Tue, Jul 28, 2015 at 11:36 PM, Nicolai Hess <nicolaihess@web.de> wrote:


2015-07-28 20:51 GMT+02:00 Peter Uhn��k <i.uhnak@gmail.com>:
So apparently Firefox uses Pango on top of Cairo to render fonts. Is that something we can apply?
Because the results from pangocairo looks much better than what is currently in Bloc.

Can you show an example.
with some info about:
what platform
cairo version
the font
��

Or maybe I should be looking into Athens-based solution?
What is Athens thens? I thought that it's vector canvas, but that's what cairo is. Is athens just Smalltalk binding? Where is the line?

Yes, Athens is the API and cairo is the backend. All rendering happens through cairo (and freetype).
��

Thanks,
Peter

On Tue, Jul 28, 2015 at 8:47 PM, Peter Uhn��k <i.uhnak@gmail.com> wrote:
but I don't know if we will do this ever or if it is possible at all.
��
��What do you mean not possible? That Bloc will have ugly jagged font without kerning?

I mean whole Firefox (Gecko) is rendered on Cairo, so surely the issue can't be in Cairo. So maybe we just need to implement/wrap/bridge something somewhere?

So if I want usable fonts I will need to start studying athens/cairo internals?

Peter