]> granicus.if.org Git - libass/commit
Skip border generation if glyph is collapsed
authorGrigori Goronzy <greg@blackbox>
Thu, 21 Jan 2010 05:31:45 +0000 (06:31 +0100)
committerGrigori Goronzy <greg@blackbox>
Thu, 21 Jan 2010 05:31:45 +0000 (06:31 +0100)
commit2ad2ebe573469b5c9c76e3c7826ff6106c5ba5a6
tree5acdc5816a02670fdb6eb8e21783195576c00445
parent3f7a51356dd674c51787865bbcc091a815538794
Skip border generation if glyph is collapsed

If a character is completely collapsed in x or y direction (\fscx0,
\fscy0), the rasterizer will not generate any visible pixels. This also
means vsfilter will never draw any border in this case, since it works
on the pixel data. FreeType's stroker OTOH happily draws a border around
a character, no matter how collapsed it is. Emulate vsfilter's behavior
by skipping border generation if the glyph is collapsed.
libass/ass_render.c