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

Francois Cartegnie git at videolan.org
Fri May 4 15:01:00 CEST 2018


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May  4 14:35:13 2018 +0200| [232058fb428d931da046cb69642e412c6549d20e] | committer: Hugo Beauzée-Luyssen

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

(cherry picked from commit 7207e6fadf737f7b8647bf113658c91291a51df3)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=232058fb428d931da046cb69642e412c6549d20e
---

 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 0761ef3cbe..6952573312 100644
--- a/modules/text_renderer/freetype/text_layout.c
+++ b/modules/text_renderer/freetype/text_layout.c
@@ -1399,7 +1399,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