[Ffmpeg-devel] [PATCH] drawtext.c: 09 fix draw_glyph

Gustavo Sverzut Barbieri barbieri
Sun Sep 10 21:29:56 CEST 2006


This fix the other major remaining bug with drawtext.c: drawing glyphs.

The previous code was flawed due over-complicated outline detection,
this is much more simple: while visiting a glyph pixel, check if
neighbours are not pixels, in this case they're border and should be
draw as outline if this is the case.

I believe this is the last patch to fix bugs and improve code. If
they're all ok then I'll post a "code cleanup" series of patches.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawtext_09-fix_draw_glyph.patch
Type: text/x-patch
Size: 5116 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060910/037966d1/attachment.bin>



More information about the ffmpeg-devel mailing list