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
Dmitry Timoshkov
5c1b27a029
gdi: Add a simple test for bitmap bits/metrics
...
Add a simple test for bitmap bits/metrics, fix GetBitmapBits for an
empty (not selected into a DC) bitmap.
2006-03-20 12:27:38 +01:00
Vitaliy Margolen
9bf0080136
gdi: Handle NT style \\.\DISPLAY1 name that we return.
2006-03-20 12:03:18 +01:00
Vitaly Lipatov
a1a54e7bf7
gdi32: Look for ttf fonts in the Wine font dir.
2006-03-18 18:07:41 +01:00
Dmitry Timoshkov
89edaa7bbe
gdi: Add a test for bitmap font metrics to ensure that they match the Windows ones.
2006-03-18 18:07:07 +01:00
Alexandre Julliard
17b13bdc07
gdi: Support for loading fonts from the build directory.
2006-03-17 13:10:09 +01:00
Dmitry Timoshkov
6b49f6bd86
gdi: Load system fonts from $(datadir)/wine/fonts if loading from
...
%windir%\fonts has failed.
2006-03-09 13:11:29 +01:00
Dmitry Timoshkov
434a60ba1d
gdi: A better workaround for extended user style pens.
2006-03-09 13:11:14 +01:00
Huw Davies
b55746ab62
gdi: Better support for 1bpp dib sections.
2006-03-03 13:19:53 +01:00
Dmitry Timoshkov
69a23a608e
gdi: Use "MS Sans Serif" as default sans serif font, not Arial.
2006-02-24 11:21:20 +01:00
Huw Davies
66a05b2aec
gdi32: Fallback to StretchDIBits if the driver doesn't support BitBlt.
2006-02-24 11:21:07 +01:00
Huw Davies
d8a6c278fa
gdi32: Update due to last minute api change in freetype 2.2.0.
...
FT_Module_Get_Flags existed briefly in freetype 2.2.0.rc1 but has now
been replaced by FT_Get_TrueType_Engine_Type. There's no point in
supporting an rc1 release, so this removes support for
FT_Module_Get_Flags and adds support for FT_Get_TrueType_Engine_Type.
2006-02-22 16:20:25 +01:00
Uwe Bonnes
ee0e13923f
gdi: Show hatch brush FIXME only once.
2006-02-09 12:22:09 +01:00
Dmitry Timoshkov
1ecef1c97e
gdi: Remove StrokePath workaround for a DC transformation change bug.
2006-02-08 12:35:18 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Phil Krylov
8d643a7324
gdi: Slant font automatically if no italic variant exists.
2006-02-02 13:41:54 +01:00
Tobias Loew
58331121aa
gdi: Extended pens do not work correct with StrokePath.
2006-02-02 13:21:10 +01:00
Tobias Loew
033ca37367
gdi: viewportExt changed after call to StrokePath.
2006-01-31 12:57:14 +01:00
Michael Kaufmann
5c6301a5c9
gdi: Fixes for the isotropic mapping mode.
...
- Isotropic mapping mode: Adjust the viewport extension in
SetWindowExtEx, handle negative extents.
- Support the isotropic mapping mode in the enhanced metafile driver.
- New tests.
2006-01-31 12:56:57 +01:00
Dmitry Timoshkov
eb893bdea3
gdi: Add support for creating extended pens.
2006-01-30 18:17:07 +01:00
Dmitry Timoshkov
9aa555623a
gdi: Add test case for creating pens, make it pass under Wine for
...
cosmetic pens.
2006-01-27 19:22:38 +01:00
Michael Kaufmann
2fed6479d8
gdi: Fix the EMF bounding box calculation.
2006-01-25 13:14:27 +01:00
Huw Davies
0458a5e38d
gdi: Fixes to preempt freetype 2.2.0.
2006-01-24 11:04:20 +01:00
Huw Davies
603d21cbc4
gdi: Use correct include file for FT_Get_Module.
2006-01-24 10:57:35 +01:00
Marcus Meissner
d6d6419602
gdi: Metafile records must be at least 3 words long.
2006-01-21 19:23:17 +01:00
Alexandre Julliard
bde6885161
gdi: Ignore a few more metafile escapes.
2006-01-18 13:23:20 +01:00
Hans Leidekker
f8125a98d8
gdi: better implementation for GetCharABCWidthsFloat{A,W}.
2006-01-16 20:38:17 +01:00
David Moore
1ef9a6db4e
gdi: Fix display of fonts using Symbol codepages and assorted other
...
codepages.
2006-01-13 14:25:16 +01:00
Huw Davies
d2c60e53de
gdi: If the last param of GetKerningPairs is NULL then return the
...
number of pairs.
2006-01-12 11:54:20 +01:00
Marcus Meissner
b49a1de179
gdi: Filter GETSCALINGFACTOR and SETABORTDOC proc in metafile
...
Escapes.
2006-01-06 21:16:37 +01:00
Steven Edwards
f824852b26
gdi: Win16/32 split of most of the metafile support.
2006-01-03 13:23:21 +01:00
Steven Edwards
50690e5fa2
gdi: Move EMRSETTEXTJUSTIFICATION structure to the private gdi header.
2006-01-03 13:16:59 +01:00