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
22bfea61
Commit
22bfea61
authored
Nov 23, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype: add default font list optimized for embedded Darwin
parent
da1b496d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/text_renderer/freetype.c
modules/text_renderer/freetype.c
+6
-1
No files found.
modules/text_renderer/freetype.c
View file @
22bfea61
...
@@ -1263,8 +1263,13 @@ static int Create( vlc_object_t *p_this )
...
@@ -1263,8 +1263,13 @@ static int Create( vlc_object_t *p_this )
p_sys
->
pf_get_fallbacks
=
FontConfig_GetFallbacks
;
p_sys
->
pf_get_fallbacks
=
FontConfig_GetFallbacks
;
FontConfig_Prepare
(
p_filter
);
FontConfig_Prepare
(
p_filter
);
#elif defined( __APPLE__ )
#elif defined( __APPLE__ )
#if TARGET_OS_IPHONE
const
char
*
const
ppsz_darwin_default
[]
=
const
char
*
const
ppsz_darwin_default
[]
=
{
"Helvetica Neue"
,
"Arial"
,
"GungSeo"
,
"Arial Unicode MS"
,
"PingFang SC"
,
"MalayalamMN"
};
{
"Helvetica Neue"
,
"Arial"
,
"Heiti SC"
,
"Heiti TC"
,
"Hiragino Mincho ProN"
,
"Malayalam Sangam MN"
};
#else
const
char
*
const
ppsz_darwin_default
[]
=
{
"Helvetica Neue"
,
"Arial"
,
"Heiti SC"
,
"Heiti TC"
,
"GungSeo"
,
"Arial Unicode MS"
,
"Malayalam Sangam MN"
};
#endif
p_sys
->
pf_select
=
Generic_Select
;
p_sys
->
pf_select
=
Generic_Select
;
p_sys
->
pf_get_family
=
CoreText_GetFamily
;
p_sys
->
pf_get_family
=
CoreText_GetFamily
;
p_sys
->
pf_get_fallbacks
=
CoreText_GetFallbacks
;
p_sys
->
pf_get_fallbacks
=
CoreText_GetFallbacks
;
...
...
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