Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f2badf63
Commit
f2badf63
authored
Feb 24, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: Compatibility with Fribidi 0.10
parent
4bbf2d42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/misc/freetype.c
modules/misc/freetype.c
+8
-0
No files found.
modules/misc/freetype.c
View file @
f2badf63
...
@@ -1123,7 +1123,11 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
...
@@ -1123,7 +1123,11 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
}
}
if
(
pos
>
start_pos
)
if
(
pos
>
start_pos
)
{
{
#if (FRIBIDI_MINOR_VERSION < 19) && (FRIBIDI_MAJOR_VERSION == 0)
FriBidiCharType
base_dir
=
FRIBIDI_TYPE_LTR
;
#else
FriBidiParType
base_dir
=
FRIBIDI_PAR_LTR
;
FriBidiParType
base_dir
=
FRIBIDI_PAR_LTR
;
#endif
fribidi_log2vis
((
FriBidiChar
*
)
psz_unicode
+
start_pos
,
fribidi_log2vis
((
FriBidiChar
*
)
psz_unicode
+
start_pos
,
pos
-
start_pos
,
pos
-
start_pos
,
&
base_dir
,
&
base_dir
,
...
@@ -1809,7 +1813,11 @@ static int ProcessLines( filter_t *p_filter,
...
@@ -1809,7 +1813,11 @@ static int ProcessLines( filter_t *p_filter,
}
}
if
(
pos
>
start_pos
)
if
(
pos
>
start_pos
)
{
{
#if (FRIBIDI_MINOR_VERSION < 19) && (FRIBIDI_MAJOR_VERSION == 0)
FriBidiCharType
base_dir
=
FRIBIDI_TYPE_LTR
;
#else
FriBidiParType
base_dir
=
FRIBIDI_PAR_LTR
;
FriBidiParType
base_dir
=
FRIBIDI_PAR_LTR
;
#endif
fribidi_log2vis
((
FriBidiChar
*
)
psz_text
+
start_pos
,
fribidi_log2vis
((
FriBidiChar
*
)
psz_text
+
start_pos
,
pos
-
start_pos
,
&
base_dir
,
pos
-
start_pos
,
&
base_dir
,
(
FriBidiChar
*
)
p_fribidi_string
+
start_pos
,
(
FriBidiChar
*
)
p_fribidi_string
+
start_pos
,
...
...
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