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
dad75559
Commit
dad75559
authored
Oct 24, 2004
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype.c: fixed two size/position related bugs.
parent
67d4cb69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/misc/freetype.c
modules/misc/freetype.c
+2
-1
No files found.
modules/misc/freetype.c
View file @
dad75559
...
@@ -533,6 +533,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
...
@@ -533,6 +533,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
result
.
x
=
__MAX
(
result
.
x
,
line
.
xMax
);
result
.
x
=
__MAX
(
result
.
x
,
line
.
xMax
);
result
.
y
+=
face
->
size
->
metrics
.
height
>>
6
;
result
.
y
+=
face
->
size
->
metrics
.
height
>>
6
;
i_pen_x
=
0
;
i_pen_x
=
0
;
i_previous
=
0
;
line
.
xMin
=
0
;
line
.
xMin
=
0
;
line
.
xMax
=
0
;
line
.
xMax
=
0
;
line
.
yMin
=
0
;
line
.
yMin
=
0
;
...
@@ -576,7 +577,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
...
@@ -576,7 +577,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_line
->
pp_glyphs
[
i
]
=
(
FT_BitmapGlyph
)
tmp_glyph
;
p_line
->
pp_glyphs
[
i
]
=
(
FT_BitmapGlyph
)
tmp_glyph
;
/* Do rest */
/* Do rest */
line
.
xMax
=
p_line
->
p_glyph_pos
[
i
].
x
+
glyph_size
.
xMax
-
glyph_size
.
xMin
;
line
.
xMax
=
p_line
->
p_glyph_pos
[
i
].
x
+
glyph_size
.
xMax
-
glyph_size
.
xMin
+
((
FT_BitmapGlyph
)
tmp_glyph
)
->
left
;
line
.
yMax
=
__MAX
(
line
.
yMax
,
glyph_size
.
yMax
);
line
.
yMax
=
__MAX
(
line
.
yMax
,
glyph_size
.
yMax
);
line
.
yMin
=
__MIN
(
line
.
yMin
,
glyph_size
.
yMin
);
line
.
yMin
=
__MIN
(
line
.
yMin
,
glyph_size
.
yMin
);
...
...
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