[vlc-commits] freetype: fix ruby line layout size after paragraph reshape
Francois Cartegnie
git at videolan.org
Mon Aug 17 23:43:10 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Aug 17 18:34:54 2020 +0200| [1538fb4ace3fa41cf65b0765b51d9920b50fc2a0] | committer: Francois Cartegnie
freetype: fix ruby line layout size after paragraph reshape
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1538fb4ace3fa41cf65b0765b51d9920b50fc2a0
---
modules/text_renderer/freetype/text_layout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/text_renderer/freetype/text_layout.c b/modules/text_renderer/freetype/text_layout.c
index 3cdbffd5f3..15ac84f041 100644
--- a/modules/text_renderer/freetype/text_layout.c
+++ b/modules/text_renderer/freetype/text_layout.c
@@ -1667,7 +1667,7 @@ static int LayoutRubyText( filter_t *p_filter,
}
if( LayoutLine( p_filter, p_paragraph,
- 0, i_uchars - 1,
+ 0, p_paragraph->i_size - 1,
false, pp_line ) )
{
for( int i = 0; i < p_paragraph->i_size; ++i )
More information about the vlc-commits
mailing list