discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Font issues


From: Fred Kiefer
Subject: Re: Font issues
Date: Tue, 6 Jan 2015 12:22:54 +0100

David is correct about the toy API of cairo that we are using.

Do I understand you correctly that the only problem you have is with the font 
metrics, that the letters get positioned at the wrong points. Or is there 
something else that you don't like about the way we currently display text?

The reason for the metrics problem is most likely a cairo bug that I reported 
sometime ago. In cairo fonts get cached internaly and we may get back a font 
object for a different size then the one we request. The cairo developers 
didn't see this as a probelm worth fixing, as it only seems to affect GNUstep. 
Maybe because we use the toy interface.

Fred

On the road

Am 06.01.2015 um 11:27 schrieb David Chisnall <theraven@sucs.org>:

> On 6 Jan 2015, at 10:19, Lundberg, Johannes <johannes@brilliantservice.co.jp> 
> wrote:
>> 
>> The text rendering does not look correct to me. You can see in the font 
>> panel how ee, re and ra stick together with no space between.
> 
> I believe that this is because the Cairo back end uses the 'toy' font API, 
> which does not do anything clever with respect to kerning.  To fix it, we 
> really need to move to using the proper one, ideally with Pango.
> 
> David
> 
> --
> This email complies with ISO 3103
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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