Andrew Talbot
8059576c8b
gdi/tests: Write-strings warnings fix.
2006-06-26 12:37:04 +02:00
Michael Kaufmann
d23b83a026
gdi32: SetWinMetaFileBits: Use the whole device surface if the METAFILEPICT parameter is NULL.
...
Also use the whole device surface if one of the extents is zero or
negative and the mapping mode is MM_ANISOTROPIC or MM_ISOTROPIC.
New tests.
2006-06-21 12:15:33 +02:00
Alexandre Julliard
1a2417d9bc
gdi32: Get rid of the no longer needed DIB_CreateDIBSection export.
2006-06-19 11:25:42 +02:00
Alexandre Julliard
e19f31b682
gdi/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:02:13 +02:00
Michael Stefaniuc
fee72b607a
Yet another round of redundant NULL checks before HeapFree.
2006-06-13 11:40:23 +02:00
qingdoa daoo
9de7c3ae78
gdi: Don't treat a NULL rect as an empty rect in ExtTextOutW.
2006-06-06 11:47:19 +02:00
Michael Kaufmann
1660c504ca
gdi: New tests for GetDIBits.
...
New tests that check if GetDIBits works with a bitmap that is selected
in a device context (works in Windows, should fail according to the
API documentation)
2006-06-06 11:29:52 +02:00
Huw Davies
bae6d23c5c
gdi32: FreeType's idea of metrics has changed for bitmap fonts.
2006-06-02 10:52:03 +02:00
Mike McCormack
20c24fd3a2
gdi32: Fix an unused variable warning.
2006-05-30 12:23:25 +02:00
Huw Davies
96ce83d081
gdi32: The font cache needs to discriminate whether the device can cope with bitmap fonts or not.
2006-05-26 20:15:55 +02:00
Dmitry Timoshkov
0a4f4b23cf
gdi: Add more const qualifiers.
2006-05-26 11:56:24 +02:00
Andrew Ziem
122b80030f
gdi: Constify data.
2006-05-25 11:00:59 +02:00
qingdoa daoo
f77a28ee91
gdi: Get correct horizontal spacing value in the presence of ETO_PDY flag.
2006-05-25 11:00:45 +02:00
Mike McCormack
d20c6cf8ca
Fixed more boolean comparisons against TRUE.
2006-05-24 14:38:20 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Michael Kaufmann
f6097f5b51
gdi: Fix GetObject for bitmaps.
...
- GetObject(): Set the bmBits member of the BITMAP structure to NULL
for device-dependent bitmaps.
- New test case.
2006-05-17 11:45:36 +02:00
qingdoa daoo
4d7655a84e
gdi: Duplicate extent value for the second byte of a DBCS char.
2006-05-15 16:03:56 +02:00
Francois Gouget
17689c07bb
Fix some winapi_check documentation warnings.
2006-05-15 15:05:15 +02:00
Francois Gouget
f7c24f37ad
Various trace fixes.
...
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Louis. Lenders
ad2b0a0fd7
gdi32: Add stub for GetCharWidthI and GetFontUnicodeRanges.
2006-05-09 12:39:58 +02:00
qingdoa daoo
1440eb5a35
gdi: A-to-W conversion should be font-independent.
2006-05-08 14:46:42 +02:00
Troy Rollo
73c7420c5a
gdi: Fix GetTextExentExPointW to return values consistent with GetTextExtentPointW.
2006-05-05 21:46:11 +02:00
Huw Davies
0a01f37eb8
gdi32: FcPatternGet( FC_FILE ) only returns the basename as of fontconfig 2.3.92 .
...
FcPatternGetString( FC_FILE ) returns the whole path. Go figure.
2006-05-05 16:38:19 +02:00
Alexandre Julliard
80634596a5
gdi: Added WineEngGetCharABCWidthsI stub for the non-freetype case.
2006-04-21 11:27:38 +02:00
Jeff Latimer
07767bfd28
gdi: Added implementation of GetCharABCWidthsI.
2006-04-19 20:04:25 +02:00
Huw Davies
7f8ad07ee0
gdi32: Fix return values in BitBlt/StretchBlt.
2006-04-19 11:59:53 +02:00
Huw Davies
bf23ad0da7
gdi32: Fix {Bit,Stretch}Blt fallbacks to StretchDIBits.
2006-04-18 21:26:07 +02:00
Jean-Philippe Theriault
6e4b960a1c
gdi32: Fix for PlayEnhMetaFileRecord support of EMR_SELECTPALETTE record.
2006-04-12 12:54:20 +02:00
Peter Oberndorfer
1ed3382438
gdi: Do not convert string paramter when rendering glyph indexes.
2006-04-12 11:16:42 +02:00
Peter Oberndorfer
e1f74ad5c7
gdi: Write out glyph count correctly in GetCharacterPlacementA.
2006-04-12 11:16:30 +02:00
Huw Davies
aa25176974
gdi32: Add support for ttc indices in the font link list.
2006-04-10 16:32:40 +02:00
Hans Leidekker
c4f4b01b05
gdi32: GetCharABCWidthsW should not crash on a NULL handle.
2006-04-10 15:56:43 +02:00
Mike Hearn
8122173abf
gdi: Protect GetEnhMetaFilePaletteEntries against bad handles.
2006-04-07 20:01:55 +02:00
Gerald Pfeifer
ac6d4f7e94
gdi: Also initialize a variable in the failure case.
2006-04-07 20:00:59 +02:00
Huw Davies
f8cb60f6c5
gdi32: Always consume the subst structure.
2006-04-05 20:16:30 +02:00
Huw Davies
2c7867a1c0
gdi32: Use the localised family name if present
...
(based on a patch on Byeong-Sik Jeon).
2006-04-05 20:16:10 +02:00
Huw Davies
c76af0d3b3
gdi32: Move a few functions around. Should be a nop.
2006-04-05 20:15:53 +02:00
Dmitry Timoshkov
140eabf3f4
gdi32: Add tests for GetBitmapBits and GetObject for a DIB section.
...
Make them pass under Wine.
2006-04-05 20:15:35 +02:00
Huw Davies
9ae3f1dcfe
gdi32: Use a function to add entries to the substitution list
...
(based on a patch by Byeong-Sik Jeon).
2006-04-04 20:01:51 +02:00
Huw Davies
d8a2fb971b
gdi32: Use RtlUshortByteSwap to read big endian words.
2006-04-04 20:01:31 +02:00
Alexandre Julliard
1b7600c60b
gdi: Change ReadFontDir error into a warning.
2006-04-04 11:54:14 +02:00
Dmitry Timoshkov
48bb687dfb
gdi: Separate GDI tests by moving them into appropriate files.
...
Separate GDI tests by moving them into appropriate files:
bitmap tests to bitmap.c, font test to font.c, pen tests to pen.c.
2006-04-03 21:35:03 +02:00
Dmitry Timoshkov
fd2ed6fffe
gdi: Move WineEngInit call before stock fonts creation.
...
Move WineEngInit call before stock fonts creation, otherwise we end up
caching wrong fonts before loading built-in bitmap fonts.
2006-04-03 21:34:23 +02:00
Huw Davies
edc34a3cbc
gdi32: Add tests for 'Small Fonts'.
2006-04-03 11:40:10 +02:00
Alexandre Julliard
eb7ef83357
gdi: In metafile test only print debug output if enabled.
2006-03-31 21:03:41 +02:00
Dmitry Timoshkov
d53ad9c3f7
gdi32: Add a test for WMF->EMF conversions performed by SetWinMetaFileBits.
...
These tests currently fail in Wine.
2006-03-30 17:27:16 +02:00
Huw Davies
ea42bb7703
gdi32: Move the font substitution list to a standard Wine list
...
(based on a patch by Byeong-Sik Jeon).
2006-03-30 16:24:27 +02:00
Huw Davies
130a0e4f41
fonts: Use the EBLC table to retrieve the ascent of the bitmap font.
2006-03-21 20:01:55 +01:00
Dmitry Timoshkov
e6f16250b2
gdi: Fix a couple of todos in the bitmap test.
2006-03-21 11:05:27 +01:00
Alexandre Julliard
ddc60c85f6
x11drv: Clear new bitmaps if they don't contain any data.
2006-03-20 16:00:34 +01:00