Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e93b437d
Commit
e93b437d
authored
Sep 23, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed support for font color and opacity for html rendered text.
parent
be3f9e2d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
modules/misc/freetype.c
modules/misc/freetype.c
+0
-1
modules/misc/quartztext.c
modules/misc/quartztext.c
+0
-1
modules/misc/text_renderer.h
modules/misc/text_renderer.h
+2
-1
No files found.
modules/misc/freetype.c
View file @
e93b437d
...
...
@@ -274,7 +274,6 @@ struct filter_sys_t
#define UCHAR uint32_t
#define TR_DEFAULT_FONT FC_DEFAULT_FONT
#define TR_DEFAULT_COLOR 0x00ffffff
#define TR_FONT_STYLE_PTR ft_style_t *
#include "text_renderer.h"
...
...
modules/misc/quartztext.c
View file @
e93b437d
...
...
@@ -156,7 +156,6 @@ struct filter_sys_t
#define UCHAR UniChar
#define TR_DEFAULT_FONT p_sys->psz_font_name
#define TR_DEFAULT_COLOR p_sys->i_font_color
#define TR_FONT_STYLE_PTR ATSUStyle
#include "text_renderer.h"
...
...
modules/misc/text_renderer.h
View file @
e93b437d
...
...
@@ -547,7 +547,8 @@ static int ProcessNodes( filter_t *p_filter,
rv
=
PushFont
(
&
p_fonts
,
TR_DEFAULT_FONT
,
p_sys
->
i_font_size
,
TR_DEFAULT_COLOR
,
(
p_sys
->
i_font_color
&
0xffffff
)
|
(((
255
-
p_sys
->
i_font_opacity
)
&
0xff
)
<<
24
),
0x00ffffff
);
}
if
(
rv
!=
VLC_SUCCESS
)
...
...
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