Commit Graph

586 Commits

Author SHA1 Message Date
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