Commit ab0b7eb4 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

text_renderer: freetype: fix invalid codepoint

parent f490af0c
......@@ -934,7 +934,8 @@ static int LoadGlyphs( filter_t *p_filter, paragraph_t *p_paragraph,
FT_Face p_face = 0;
if( !p_run->p_face )
{
p_face = SelectAndLoadFace( p_filter, p_style, p_paragraph->p_code_points );
p_face = SelectAndLoadFace( p_filter, p_style,
p_paragraph->p_code_points[p_run->i_start_offset] );
if( !p_face )
{
/* Uses the default font and style */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment