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
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
Dmitry Timoshkov
6f7b62b729
gdi: Add a test which shows that GDI does not support compressed DIB sections.
2006-01-03 12:09:22 +01:00
Ulrich Czekalla
4f5cbfb43d
gdi32: Disallow creation of compressed DIB sections.
2006-01-03 12:09:03 +01:00
Vitaliy Margolen
9561d6e29c
gdi: Device name returned from EnumDisplayDevices is valid for CreateDC.
2006-01-03 12:05:54 +01:00
Alexandre Julliard
7e2be17d0f
gdi: Added support for doing GetBitmapBits on a DIB section.
...
Simply copy the DIB bits in that case.
2005-12-13 17:07:06 +01:00
Huw Davies
e32932e6ab
gdi: Fix 24bpp -> 32bpp copy.
2005-12-08 13:53:07 +01:00
Louis Lenders
ca1c26b9d3
gdi: Added stub for AddFontMemResourceEx.
2005-12-06 11:32:41 +01:00
Rein Klazes
c7e860d48a
Make WineEngGetFontData always return the used byte count.
2005-12-01 11:10:59 +01:00
Alexandre Julliard
02d814852d
Added support for doing SetBitmapBits on a DIB section.
2005-11-29 10:45:40 +01:00
Rein Klazes
466633c7af
Add stub implementation for SetMagicColors().
2005-11-28 11:28:32 +01:00
Huw Davies
1ee8dd8901
If the driver doesn't support StretchBlt try to use StretchDIBits
...
instead.
2005-11-28 10:38:33 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Dmitry Timoshkov
635ace83f9
Add a test showing that SaveDC after GetDC should return 1.
2005-11-22 12:00:11 +00:00
Peter Beutner
c9e02e117f
When creating DIBs with a color depth <= 8, always set biClrUsed field
...
to the number of entries in the color table.
2005-11-14 15:10:23 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Vincent Béron
3a4751209f
Correct some allocated buffer lengths while converting to Unicode.
2005-11-08 12:55:40 +00:00
Dmitry Timoshkov
e41ddd052a
First draft of ExtTextOut on an open path.
2005-11-07 16:40:20 +00:00
Markus Amsler
79e3a1be70
Improve c2man Documented-Total count.
2005-11-05 10:45:02 +00:00
Huw Davies
063824dd22
Implement playback of EMR_ALPHABLEND.
2005-10-31 21:04:18 +00:00
Huw Davies
8f0c45b5c8
Only select a bitmap font as a last resort if we can't find a font
...
with the correct facename.
2005-10-31 21:03:28 +00:00
Alexandre Julliard
4b5f326e3f
Default to an empty driver instead of dying if the specified display
...
driver couldn't be loaded.
2005-10-31 15:43:10 +00:00
Huw Davies
0d23ac479b
Fix handling of relative state indices in RestoreDC.
...
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Robert Shearman
e31f610bdb
Print an error if a DC is created with a bad device.
2005-10-29 10:29:56 +00:00
Huw Davies
d7d8998d1e
xform can be NULL when setting the identity.
2005-10-28 16:41:25 +00:00
Phil Krylov
30d6d5dc92
Fixed SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
...
SetStretchBltMode() to assume that the corresponding DC driver
functions return only a BOOL success flag, and therefore a proper
return value should be generated by the main function. Fixed
EMFDRV_StretchDIBits() to return a proper value (like
MFDRV_StretchDIBits already does). Added comments about other cases of
improper return values.
2005-10-27 18:28:43 +00:00
Dmitry Timoshkov
62d3ab9bd0
Add a test for GetCurrentObject, make it pass under Wine.
2005-10-26 10:10:23 +00:00
Saulius Krasuckas
a4dfeca2ca
Link to {G|S}etRelAbs() during runtime as Win9x OSes miss them.
2005-10-26 10:05:07 +00:00
Dmitry Timoshkov
5f2bf16de4
Add a test for SetMetaFileBitsEx, make it pass under Wine.
2005-10-19 18:28:14 +00:00
Dmitry Timoshkov
2e8bf70f9a
Add a test for CopyMetaFile, make it pass under Wine.
2005-10-18 10:35:14 +00:00
Huw Davies
fd99c33e5c
Initialize a bunch of dc values to their default before enumerating an
...
enhmetafile.
Add tests for these and for some values that don't get reset.
2005-10-12 21:06:20 +00:00