Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f5ab208c
Commit
f5ab208c
authored
Jan 11, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Jan 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Handle an offset of the first glyph.
parent
83cbc071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
usp10.c
dlls/usp10/usp10.c
+13
-5
No files found.
dlls/usp10/usp10.c
View file @
f5ab208c
...
...
@@ -3275,12 +3275,20 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN
lpDx
[
i
*
2
]
=
piAdvance
[
i
];
lpDx
[
i
*
2
+
1
]
=
0
;
if
(
pGoffset
&&
i
>
0
)
if
(
pGoffset
)
{
lpDx
[(
i
-
1
)
*
2
]
+=
pGoffset
[
i
].
du
;
lpDx
[(
i
-
1
)
*
2
+
1
]
+=
pGoffset
[
i
].
dv
;
lpDx
[
i
*
2
]
-=
pGoffset
[
i
].
du
;
lpDx
[
i
*
2
+
1
]
-=
pGoffset
[
i
].
dv
;
if
(
i
==
0
)
{
x
+=
pGoffset
[
i
].
du
;
y
+=
pGoffset
[
i
].
dv
;
}
else
{
lpDx
[(
i
-
1
)
*
2
]
+=
pGoffset
[
i
].
du
;
lpDx
[(
i
-
1
)
*
2
+
1
]
+=
pGoffset
[
i
].
dv
;
}
lpDx
[
i
*
2
]
-=
pGoffset
[
i
].
du
;
lpDx
[
i
*
2
+
1
]
-=
pGoffset
[
i
].
dv
;
}
}
...
...
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