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
41eb7f4e
Commit
41eb7f4e
authored
Oct 25, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: split Win32 code in its own file
parent
0c76db2e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
433 additions
and
359 deletions
+433
-359
modules/text_renderer/Makefile.am
modules/text_renderer/Makefile.am
+4
-0
modules/text_renderer/fonts/win32.c
modules/text_renderer/fonts/win32.c
+418
-0
modules/text_renderer/platform_fonts.c
modules/text_renderer/platform_fonts.c
+5
-359
modules/text_renderer/platform_fonts.h
modules/text_renderer/platform_fonts.h
+6
-0
No files found.
modules/text_renderer/Makefile.am
View file @
41eb7f4e
...
...
@@ -8,6 +8,10 @@ libfreetype_plugin_la_SOURCES = \
text_renderer/freetype.c text_renderer/freetype.h
\
text_renderer/text_layout.c text_renderer/text_layout.h
if
HAVE_WIN32
libfreetype_plugin_la_SOURCES
+=
text_renderer/fonts/win32.c
endif
libfreetype_plugin_la_CPPFLAGS
=
$(AM_CPPFLAGS)
$(FREETYPE_CFLAGS)
libfreetype_plugin_la_LIBADD
=
$(LIBM)
$(FREETYPE_LIBS)
if
HAVE_FREETYPE
...
...
modules/text_renderer/fonts/win32.c
0 → 100644
View file @
41eb7f4e
This diff is collapsed.
Click to expand it.
modules/text_renderer/platform_fonts.c
View file @
41eb7f4e
This diff is collapsed.
Click to expand it.
modules/text_renderer/platform_fonts.h
View file @
41eb7f4e
...
...
@@ -241,4 +241,10 @@ 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
);
/* Only for fonts implementors */
vlc_family_t
*
SearchFallbacks
(
filter_t
*
p_filter
,
vlc_family_t
*
p_fallbacks
,
uni_char_t
codepoint
);
FT_Face
GetFace
(
filter_t
*
p_filter
,
vlc_font_t
*
p_font
);
#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