[Ffmpeg-devel] Re: [PATCH] drawtext.c: 08 fix process measure and cache code

Gustavo Sverzut Barbieri barbieri
Sat Sep 23 18:27:27 CEST 2006


On 9/10/06, Gustavo Sverzut Barbieri <barbieri at gmail.com> wrote:
> This fix one of most broken code present in drawtext: measure and
> cache of glyphs in order to draw them on picture. This also fix
> background drawing for single-line strings and avoid out-of-buffer
> drawing.
>
> It defines 2 extra functions to help code readability:
>
>  - get_kerning() given 2 char index (current and previous) get the
> pixel offset for kerning.
>  - get_offset_based_on_previous(): given characters and context, check
> if kerning is possible and use get_kerning().

ok, no objections to it in 13 days, could someone apply?

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692 at sip.stanaphone.com
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net




More information about the ffmpeg-devel mailing list