Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
047af27e
Commit
047af27e
authored
May 30, 2012
by
Sébastien Toque
Committed by
Jean-Baptiste Kempf
May 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libass: add android default font
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
a4e7d801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/codec/libass.c
modules/codec/libass.c
+5
-0
No files found.
modules/codec/libass.c
View file @
047af27e
...
...
@@ -210,8 +210,13 @@ static int Create( vlc_object_t *p_this )
ass_set_font_scale
(
p_renderer
,
1
.
0
);
ass_set_line_spacing
(
p_renderer
,
0
.
0
);
#if defined( __ANDROID__ )
const
char
*
psz_font
=
"/system/fonts/DroidSans-Bold.ttf"
;
const
char
*
psz_family
=
"Droid Sans Bold"
;
#else
const
char
*
psz_font
=
NULL
;
/* We don't ship a default font with VLC */
const
char
*
psz_family
=
"Arial"
;
/* Use Arial if we can't find anything more suitable */
#endif
#ifdef HAVE_FONTCONFIG
#if defined(WIN32)
...
...
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