Frédéric Delanoy
259cb3c8cd
gdi32/tests: Use BOOL type where appropriate.
2013-11-07 13:13:12 +01:00
Frédéric Delanoy
4da17dbf5d
gdi32/tests: Align return type from SetVirtualResolution prototype with its definition.
2013-11-07 13:12:42 +01:00
Akihiro Sagawa
99ceb599bb
gdi32: Synthesize bold glyphs for outline fonts.
2013-10-21 20:23:55 +02:00
Akihiro Sagawa
cab2cacb8e
gdi32: Adjust fake bold outline font metrics.
2013-10-21 20:23:55 +02:00
Akihiro Sagawa
b6666014c5
gdi32/tests: Add tests for fake bold outline fonts.
2013-10-21 20:23:54 +02:00
Dmitry Timoshkov
87ae85f1b4
gdi32/tests: Enable gdi32 tests compilation with __WINESRC__ defined.
2013-10-17 10:47:00 +02:00
Dmitry Timoshkov
8c22e66217
gdi32/tests: Fix font tests compilation with __WINESRC__ defined.
2013-10-17 10:46:51 +02:00
Dmitry Timoshkov
f81c2e1caf
gdi32/tests: Fix pen tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
0c63f40bdc
gdi32/tests: Fix metafile tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
c58072833e
gdi32/tests: Fix GDI object tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
85b42085a4
gdi32/tests: Fix DIB tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
120ee4e058
gdi32/tests: Fix DC tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
dd579e4c78
gdi32/tests: Fix brush tests compilation with __WINESRC__ defined.
2013-10-16 11:41:20 +02:00
Dmitry Timoshkov
c99b264300
gdi32/tests: Fix bitmap tests compilation with __WINESRC__ defined.
2013-10-16 11:41:20 +02:00
Dmitry Timoshkov
352c8d0215
tools/winapi: Remove OLDFONTENUMPROC from the list of tested types.
2013-10-16 11:41:20 +02:00
Akihiro Sagawa
0b58ab7ac9
gdi32/tests: Skip linked font like SimSun-ExtB in fixed-pitch font selection.
2013-10-09 10:08:06 +02:00
Akihiro Sagawa
88acc9c899
gdi32: Don't modify output glyph metrics unless the function succeeds.
2013-10-03 20:06:51 +02:00
Frédéric Delanoy
3b2f85e0b6
gdi32/tests: Use BOOL type where appropriate.
2013-10-03 12:54:23 +02:00
Akihiro Sagawa
042b39a82b
gdi32: Fix the B spacing value of empty glyph.
2013-10-02 20:17:03 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Akihiro Sagawa
db86409db6
gdi32: Return fake BBox when requesting empty glyph metrics.
2013-10-01 19:26:17 +02:00
Akihiro Sagawa
24e0e4d150
gdi32/tests: Fix copy&paste issues related to gmBlackBoxY.
2013-10-01 19:25:25 +02:00
Francois Gouget
d3672524ed
Assorted spelling fixes.
2013-10-01 19:09:08 +02:00
Akihiro Sagawa
e2bce62a6d
gdi32: Return GDI_ERROR when requested empty glyph bitmaps.
2013-09-26 19:56:57 +02:00
Akihiro Sagawa
cc7b39681d
gdi32/tests: Add more empty glyph tests.
2013-09-23 20:32:23 +02:00
Aric Stewart
3f4ef58b0f
gdi32: ABC value signs remain the same despite any changes in layout direction or viewport.
2013-09-12 21:31:09 +02:00
Alexandre Julliard
69abf20fcd
gdi32: Add a check for overflow in DIB dimensions.
2013-09-11 18:33:06 +02:00
Aric Stewart
4a300d2423
gdi32: GetCharWidth32A/W return positive widths for all layouts and various DC transforms.
2013-09-11 18:33:04 +02:00
Huw Davies
774f57ca24
gdi32/tests: Add vdmx tests.
2013-08-28 16:14:40 +02:00
Huw Davies
7310bdb498
gdi32/tests: Mark some tests as exact.
2013-08-28 16:14:40 +02:00
Huw Davies
18edb16ace
gdi32/tests: Add an option to match metrics exactly.
2013-08-28 16:14:38 +02:00
Huw Davies
820c14cafc
gdi32/tests: Separate out the metrics checking code.
2013-08-28 16:14:38 +02:00
Huw Davies
2f76829c84
gdi32/tests: Split write_ttf_file() into a resource loader and tmp file writer.
2013-08-28 16:14:37 +02:00
Michael Stefaniuc
4f94913e04
gdi32/tests: Replace FIELD_OFFSET with offsetof for the sake of consistency.
2013-08-19 13:48:43 +02:00
Michael Stefaniuc
14e20162f9
gdi32/tests: Use offsetof instead of sizeof on structs with VLA.
2013-08-19 13:30:43 +02:00
Michael Stefaniuc
da425748bb
gdi32/tests: Use the standard way of allocating a struct with VLA on the stack.
2013-08-19 13:30:11 +02:00
Huw Davies
cf9cb6c118
gdi32: Ignore max_extent if nfit is NULL.
2013-07-22 17:16:04 +02:00
Aric Stewart
37d216cc56
gdi32/tests: Add a test case for vertical fonts enumeration order.
2013-06-20 22:14:35 +02:00
Dmitry Timoshkov
924fad9d25
gdi32: ExtSelectClipRgn(hdc, 0, RGN_DIFF) is supposed to fail.
2013-06-18 10:40:34 +02:00
Dmitry Timoshkov
705a0f0238
gdi32: Scale default GUI fonts to match screen resolution changes.
2013-06-17 19:30:49 +02:00
Dmitry Timoshkov
6834a44dc4
gdi32/tests: Add a test for default font height scaling with screen resolution changes.
2013-06-17 19:30:49 +02:00
Dmitry Timoshkov
288f3be439
gdi32/tests: Skip the bitmap font max width test on not 96 dpi resolutions.
2013-06-17 19:30:48 +02:00
Aric Stewart
ceb81eee20
gdi32: Turn off tategaki if the unicode code point is outside of the rotated ranges.
2013-06-05 20:30:58 +02:00
Aric Stewart
3108f3cf3d
gdi32/tests: Do not try to test OS/2 win metrics on non-windows fonts.
2013-05-29 18:12:54 +02:00
Aric Stewart
546c587036
gdi32: GetGlyphIndices does substitute glyph.
2013-05-20 12:06:25 +02:00
Aric Stewart
adfa3c0c57
gdi32/tests: Update the vertical font to be a proper windows vertical font.
2013-05-20 12:06:21 +02:00
Akihiro Sagawa
8f8363ede6
gdi32: Ignore the lfHeight value when it exceeds the limit.
2013-05-08 14:29:06 +02:00
Sam Edwards
21dbe1c949
gdi32: Clip font glyphs to fit within text metrics.
2013-05-02 12:32:53 +02:00
Akihiro Sagawa
f50e649578
gdi32/tests: Fix tests for fixed-pitch full-width character advance. It's double of tmAveCharWidth.
...
For instance, 19 ppem "VL Gothic" on Windows, the advance value is 10
for half-width characters, but 18 for full-width characters. In this
case, tmAveCharWidth is 9. Thus using tmAveCharWidth is reasonable.
2013-04-04 19:39:00 +02:00
Alexandre Julliard
591a31ba67
gdi32: Increment the face refcount when loading the same font file multiple times.
2013-03-04 11:36:04 +01:00