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
adb79e33
Commit
adb79e33
authored
Oct 25, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: add comments to platform_fonts header
parent
fae6bc21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
16 deletions
+19
-16
modules/text_renderer/platform_fonts.c
modules/text_renderer/platform_fonts.c
+15
-13
modules/text_renderer/platform_fonts.h
modules/text_renderer/platform_fonts.h
+4
-3
No files found.
modules/text_renderer/platform_fonts.c
View file @
adb79e33
...
...
@@ -36,18 +36,18 @@
#include <vlc_common.h>
#include <vlc_filter.h>
/* filter_sys_t */
#include <vlc_text_style.h>
/* text_style_t
*/
#include <vlc_input.h>
/* vlc_input_attachment_* */
#include <vlc_text_style.h>
/* text_style_t
*/
#include <vlc_input.h>
/* vlc_input_attachment_* */
#include <ctype.h>
/* apple stuff */
#ifdef __APPLE__
#include <TargetConditionals.h>
#if !TARGET_OS_IPHONE
#include <Carbon/Carbon.h>
#endif
#include <sys/param.h>
/* for MAXPATHLEN */
#undef HAVE_FONTCONFIG
#
include <TargetConditionals.h>
#
if !TARGET_OS_IPHONE
#
include <Carbon/Carbon.h>
#
endif
#
include <sys/param.h>
/* for MAXPATHLEN */
#
undef HAVE_FONTCONFIG
#endif
/* Win32 GDI */
...
...
@@ -56,6 +56,13 @@
# include <shlobj.h>
# include <usp10.h>
# include <vlc_charset.h>
/* FromT */
# undef HAVE_FONTCONFIG
#endif
#ifdef __ANDROID__
# include <vlc_xml.h>
# include <vlc_stream.h>
# undef HAVE_FONTCONFIG
#endif
/* FontConfig */
...
...
@@ -63,11 +70,6 @@
# include <fontconfig/fontconfig.h>
#endif
#ifdef __ANDROID__
#include <vlc_xml.h>
#include <vlc_stream.h>
#endif
#include "platform_fonts.h"
#include "freetype.h"
...
...
modules/text_renderer/platform_fonts.h
View file @
adb79e33
...
...
@@ -127,7 +127,7 @@ vlc_family_t *FontConfig_GetFallbacks( filter_t *p_filter, const char *psz_famil
uni_char_t
codepoint
);
const
vlc_family_t
*
FontConfig_GetFamily
(
filter_t
*
p_filter
,
const
char
*
psz_family
);
int
FontConfig_Prepare
(
filter_t
*
p_filter
);
#endif
#endif
/* FONTCONFIG */
#if defined( _WIN32 ) && !VLC_WINSTORE_APP
vlc_family_t
*
Win32_GetFallbacks
(
filter_t
*
p_filter
,
const
char
*
psz_family
,
...
...
@@ -142,14 +142,14 @@ char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
bool
b_bold
,
bool
b_italic
,
int
*
i_idx
,
uni_char_t
codepoint
);
#endif
#endif
#endif
/* __APPLE__ */
#ifdef __ANDROID__
const
vlc_family_t
*
Android_GetFamily
(
filter_t
*
p_filter
,
const
char
*
psz_family
);
vlc_family_t
*
Android_GetFallbacks
(
filter_t
*
p_filter
,
const
char
*
psz_family
,
uni_char_t
codepoint
);
int
Android_Prepare
(
filter_t
*
p_filter
);
#endif
#endif
/* __ANDROID__ */
char
*
Dummy_Select
(
filter_t
*
p_filter
,
const
char
*
family
,
bool
b_bold
,
bool
b_italic
,
...
...
@@ -238,6 +238,7 @@ void DumpDictionary( filter_t *p_filter, const vlc_dictionary_t *p_dict,
/* String helpers */
char
*
ToLower
(
const
char
*
psz_src
);
/* Size helper, depending on the scaling factor */
int
ConvertToLiveSize
(
filter_t
*
p_filter
,
const
text_style_t
*
p_style
);
#endif //PLATFORM_FONTS_H
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