Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
84b939ba
Commit
84b939ba
authored
Feb 17, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: reindent
parent
8e74bfbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
modules/misc/freetype.c
modules/misc/freetype.c
+15
-15
No files found.
modules/misc/freetype.c
View file @
84b939ba
...
...
@@ -1200,13 +1200,13 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
i_error
=
FT_Load_Glyph
(
face
,
i_glyph_index
,
FT_LOAD_NO_BITMAP
|
FT_LOAD_DEFAULT
);
if
(
i_error
)
{
i_error
=
FT_Load_Glyph
(
face
,
i_glyph_index
,
FT_LOAD_DEFAULT
);
if
(
i_error
)
{
msg_Err
(
p_filter
,
"unable to render text FT_Load_Glyph returned"
" %d"
,
i_error
);
goto
error
;
}
i_error
=
FT_Load_Glyph
(
face
,
i_glyph_index
,
FT_LOAD_DEFAULT
);
if
(
i_error
)
{
msg_Err
(
p_filter
,
"unable to render text FT_Load_Glyph returned"
" %d"
,
i_error
);
goto
error
;
}
}
i_error
=
FT_Get_Glyph
(
glyph
,
&
tmp_glyph
);
if
(
i_error
)
...
...
@@ -1460,14 +1460,14 @@ static int RenderTag( filter_t *p_filter, FT_Face p_face, int i_font_color,
i_error
=
FT_Load_Glyph
(
p_face
,
i_glyph_index
,
FT_LOAD_NO_BITMAP
|
FT_LOAD_DEFAULT
);
if
(
i_error
)
{
i_error
=
FT_Load_Glyph
(
p_face
,
i_glyph_index
,
FT_LOAD_DEFAULT
);
if
(
i_error
)
{
msg_Err
(
p_filter
,
"unable to render text FT_Load_Glyph returned %d"
,
i_error
);
p_line
->
pp_glyphs
[
i
]
=
NULL
;
return
VLC_EGENERIC
;
}
i_error
=
FT_Load_Glyph
(
p_face
,
i_glyph_index
,
FT_LOAD_DEFAULT
);
if
(
i_error
)
{
msg_Err
(
p_filter
,
"unable to render text FT_Load_Glyph returned %d"
,
i_error
);
p_line
->
pp_glyphs
[
i
]
=
NULL
;
return
VLC_EGENERIC
;
}
}
/* Do synthetic styling now that Freetype supports it;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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