Commit d43dfe57 authored by Laurent Aimar's avatar Laurent Aimar

Fixed text rendering with empty line in freetype.

parent 80676aa4
......@@ -2180,7 +2180,8 @@ static int ProcessLines( filter_t *p_filter,
/* Update our baseline */
if( i_face_height_previous > 0 )
i_base_line += __MAX(i_face_height, i_face_height_previous);
i_face_height_previous = i_face_height;
if( i_face_height > 0 )
i_face_height_previous = i_face_height;
/* Update the line bbox with the actual base line */
if (line_bbox.yMax > line_bbox.yMin) {
......
Markdown is supported
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