Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b6716b49
Commit
b6716b49
authored
Mar 09, 2005
by
gbazin
Browse files
* modules/misc/freetype.c: don't display only the last line.
parent
84b053b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/misc/freetype.c
View file @
b6716b49
...
...
@@ -501,7 +501,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
{
FT_Set_Pixel_Sizes
(
p_sys
->
p_face
,
0
,
p_sys
->
i_font_size
);
}
else
else
{
i_error
=
FT_Set_Pixel_Sizes
(
p_sys
->
p_face
,
0
,
i_font_size
);
if
(
i_error
)
...
...
@@ -684,7 +684,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
p_region_out
->
i_x
=
p_region_in
->
i_x
;
p_region_out
->
i_y
=
p_region_in
->
i_y
;
Render
(
p_filter
,
p_region_out
,
p_line
,
result
.
x
,
result
.
y
);
Render
(
p_filter
,
p_region_out
,
p_line
s
,
result
.
x
,
result
.
y
);
if
(
psz_unicode_orig
)
free
(
psz_unicode_orig
);
FreeLines
(
p_lines
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment