[vlc-commits] text_renderer: freetype: don't consolidate space (fix #20397)

Francois Cartegnie git at videolan.org
Fri May 4 14:39:24 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May  4 14:35:13 2018 +0200| [7207e6fadf737f7b8647bf113658c91291a51df3] | committer: Francois Cartegnie

text_renderer: freetype: don't consolidate space (fix #20397)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7207e6fadf737f7b8647bf113658c91291a51df3
---

 modules/text_renderer/freetype/text_layout.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/text_renderer/freetype/text_layout.c b/modules/text_renderer/freetype/text_layout.c
index 5321ffbf56..83395a96ab 100644
--- a/modules/text_renderer/freetype/text_layout.c
+++ b/modules/text_renderer/freetype/text_layout.c
@@ -1564,7 +1564,6 @@ static int LayoutParagraph( filter_t *p_filter, paragraph_t *p_paragraph,
 
             if( i_last_space == i - 1 )
             {
-                p_paragraph->p_glyph_bitmaps[ i - 1 ].i_x_advance = 0;
                 i_last_space = i;
                 continue;
             }



More information about the vlc-commits mailing list