Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fa664b54
Commit
fa664b54
authored
Dec 10, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Tweak some metrics to make the tests pass on Wine.
parent
50835b41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
graphics.c
dlls/gdiplus/tests/graphics.c
+2
-2
No files found.
dlls/gdiplus/tests/graphics.c
View file @
fa664b54
...
...
@@ -3055,7 +3055,7 @@ static void test_string_functions(void)
expect
(
3
,
linesfilled
);
/* Cut off everything including the first space. */
rc
.
Width
=
char_bounds
.
Width
+
char_width
*
1
.
5
;
rc
.
Width
=
char_bounds
.
Width
+
char_width
*
1
.
7
;
status
=
GdipMeasureString
(
graphics
,
teststring
,
6
,
font
,
&
rc
,
NULL
,
&
bounds
,
&
codepointsfitted
,
&
linesfilled
);
expect
(
Ok
,
status
);
...
...
@@ -3067,7 +3067,7 @@ static void test_string_functions(void)
expect
(
3
,
linesfilled
);
/* Cut off everything after the first character. */
rc
.
Width
=
char_bounds
.
Width
+
char_width
*
0
.
5
;
rc
.
Width
=
char_bounds
.
Width
+
char_width
*
0
.
8
;
status
=
GdipMeasureString
(
graphics
,
teststring
,
6
,
font
,
&
rc
,
NULL
,
&
bounds
,
&
codepointsfitted
,
&
linesfilled
);
expect
(
Ok
,
status
);
...
...
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