freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] problems with pitch value


From: Werner LEMBERG
Subject: Re: [ft-devel] problems with pitch value
Date: Tue, 17 Aug 2010 08:31:50 +0200 (CEST)

> In the documentation is written that "The pitch's absolute value is
> the number of bytes taken by one bitmap row, including padding".
> Either I misunderstand what you mean with "padding" or Freetype2
> doesn't work correctly at me.  In my test program, I load a glyph
> and convert it to a bitmap.  The pitch value has a value of "82" by
> resolution 128x128, but by a bitmap a row of pixels is extended to a
> (4-byte) boundary.  In my opinion the value should be "84".

Please post a small code snippet.


    Werner



reply via email to

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