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
5b143370
Commit
5b143370
authored
Nov 23, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: code cosmetics
parent
1e11d864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
modules/text_renderer/freetype/freetype.h
modules/text_renderer/freetype/freetype.h
+5
-3
modules/text_renderer/freetype/platform_fonts.h
modules/text_renderer/freetype/platform_fonts.h
+5
-5
No files found.
modules/text_renderer/freetype/freetype.h
View file @
5b143370
...
...
@@ -75,9 +75,9 @@ typedef uint32_t uni_char_t;
typedef
struct
vlc_family_t
vlc_family_t
;
struct
filter_sys_t
{
FT_Library
p_library
;
/* handle to library */
FT_Face
p_face
;
/* handle to face object */
FT_Stroker
p_stroker
;
/* handle to path stroker object */
FT_Library
p_library
;
/* handle to library */
FT_Face
p_face
;
/* handle to face object */
FT_Stroker
p_stroker
;
/* handle to path stroker object */
text_style_t
*
p_default_style
;
text_style_t
*
p_forced_style
;
/* Renderer overridings */
...
...
@@ -112,6 +112,8 @@ struct filter_sys_t
vlc_dictionary_t
face_map
;
int
i_fallback_counter
;
/* Current scaling of the text, default is 100 (%) */
int
i_scale
;
/**
...
...
modules/text_renderer/freetype/platform_fonts.h
View file @
5b143370
...
...
@@ -97,16 +97,16 @@
typedef
struct
vlc_font_t
vlc_font_t
;
struct
vlc_font_t
{
vlc_font_t
*
p_next
;
/**< next font in the chain */
vlc_font_t
*
p_next
;
/**< next font in the chain */
/**
* path to the font file on disk, or ":/x" for font attachments, where x
* is the attachment index within \ref filter_sys_t::pp_font_attachments
*/
char
*
psz_fontfile
;
int
i_index
;
/**< index of the font in the font file, starts at 0 */
bool
b_bold
;
/**< if the font is a bold version */
bool
b_italic
;
/**< if the font is an italic version */
FT_Face
p_face
;
/**< the freetype structure for the font */
int
i_index
;
/**< index of the font in the font file, starts at 0 */
bool
b_bold
;
/**< if the font is a bold version */
bool
b_italic
;
/**< if the font is an italic version */
FT_Face
p_face
;
/**< the freetype structure for the font */
};
/**
...
...
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