freetype
[Top][All Lists]
Advanced

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

Re: [ft] Fw: [ft-devel] fitting a text


From: Lawrence D'Oliveiro
Subject: Re: [ft] Fw: [ft-devel] fitting a text
Date: Mon, 8 Jun 2015 12:47:40 +1200

On Sun, 7 Jun 2015 11:45:34 +0200, folkert wrote:

> Lawrence:
> 
>> You have to add the maximum ascender and the maximum descender of
>> allt the glyphs to get the minimum bitmap height. For example:
>> <https://github.com/ldo/python_freetype_examples/blob/master/render_text>
> 
> I converted it but that seems to fail too.

It is not very helpful to say that your converted version fails. The
problem could be in my code, or it could be in your conversion of my
code.

What you need to do is try my code as is, to see if that works. Then we
can proceed from there.



reply via email to

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