Commit Graph

583 Commits

Author SHA1 Message Date
Dmitry Timoshkov bc4bbb40d1 gdi32: Make GetKerningPairsA not fail for fonts with SYMBOL charset. 2007-04-02 11:34:27 +02:00
Laurent Vromman a11c751463 gdi32: Add two basic tests to check what WidenPath does. 2007-04-02 11:29:35 +02:00
Felix Nawothnig f73d7d07c8 gdi32: Properly handle negative font widths. 2007-04-02 11:18:38 +02:00
Francois Gouget 8d9fbef94f gdi32: Remove a space before '\n' in a trace. 2007-03-28 12:34:09 +02:00
Dmitry Timoshkov dab3825b18 gdi32: Make the EMF driver return sane NUMCOLORS value. 2007-03-28 12:05:26 +02:00
Laurent Vromman aaf74d9f64 gdi32: WidenPath partial implementation. 2007-03-26 14:54:56 +02:00
Dmitry Timoshkov 826e937a81 gdi32: Implement GdiGetCodePage. 2007-03-26 12:30:29 +02:00
Ken Thomases df605c0ac3 Revert "gdi32: Disable the freetype mmap sharing on Mac OS.".
This reverts ae9f68dec9 commit.  Because
of commit 4e6860433e which extracts the
constituent fonts from Mac suitcase fonts, we can use mmap on font
files on the Mac.
2007-03-22 11:28:10 +01:00
Andrew Talbot 453cb25c1b gdi32: Replace inline static with static inline. 2007-03-21 11:55:44 +01:00
Dmitry Timoshkov 520aa9f548 winex11.drv: In the case requested glyphs do not present in the font fail gracefully instead of asserting. 2007-03-19 12:16:57 +01:00
Nicolas Delcros 427a7638cb gdi32: Don't write a metafile record for escapes that require output. 2007-03-17 19:53:19 +01:00
Dmitry Timoshkov bd07f3f39e gdi32: Add a GetTextMetrics test, make it pass under Wine. 2007-03-15 13:09:56 +01:00
Felix Nawothnig 7fc0becf6e gdi32: Add PS_ALTERNATE tests. 2007-03-13 21:54:42 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Aric Stewart 33eefa24dc gdi32: Search SystemLinked fonts when looking for a valid replacement. 2007-03-07 12:16:17 +01:00
Dmitry Timoshkov 7f16f21cf7 gdi32: Add an extensive EnumFontFamilies test, fix some failures when running under Wine. 2007-03-06 21:52:00 +01:00
Byeong-Sik Jeon 52a9d1d934 gdi32: Fix FontSubstitute values for Korean locale. 2007-03-06 21:51:05 +01:00
Byeong-Sik Jeon 0da17ff87b gdi32: Add missing pFT_Done_Face(). 2007-03-06 21:50:58 +01:00
Aric Stewart 3744cd8874 gdi32: Set FontSubstitute values by locale. 2007-03-06 12:10:07 +01:00
Paul Vriens a105c6b1de gdi32/tests: Use skip where appropriate. 2007-03-05 18:08:43 +01:00
Paul Vriens 37cba3a9f9 gdi32/tests: Make sure we can run on win9x and NT again. 2007-03-05 18:08:35 +01:00
Dmitry Timoshkov 17ac48b6a4 gdi32: Avoid a needless goto. 2007-03-05 12:14:07 +01:00
Aric Stewart 2967524bdb gdi32: Don't fail replacement on no localized family name. 2007-03-02 12:20:33 +01:00
Hans Leidekker 748032e0fb gdi32: Implement GetFontUnicodeRanges. 2007-03-02 11:39:32 +01:00
Ken Thomases 9ccad53fb9 gdi32: Use exec() and _exit() instead of system() and exit(). 2007-02-28 21:29:39 +01:00
Aric Stewart 76ed11e180 gdi32: Select correct replacement from ttc file.
Some font files, especially Asian ttc files, can have several
different families in the same file. So just using the file is not
unique enough for identifying a replacement family.
2007-02-26 19:06:19 +01:00
Aric Stewart bc07aff1a5 gdi32: Allow for loading of multibyte font name replacements.
Change a number of A function to W functions in LoadReplaceList to
allow for replacements of fonts with multibyte family names.
2007-02-26 19:05:43 +01:00
Alexandre Julliard 2d4735ae67 gdi32: Make DC creation fail if we cannot allocate the visible region. 2007-02-26 19:01:30 +01:00
Dmitry Timoshkov aa3fa9a5d9 gdi32: Avoid a not necessary CreateDC call. 2007-02-23 11:18:03 +01:00
Dmitry Timoshkov 14478b8ba2 gdi32: Move get_glyph_indices near its caller test_font_charset. 2007-02-20 12:24:00 +01:00
Dmitry Timoshkov 0457b0c346 gdi32: CreateBitmapIndirect should ignore the provided bm.bmWidthBytes. 2007-02-16 12:35:25 +01:00
Alexandre Julliard 6ede7a1130 gdi32/tests: Create a window for justification tests that generate output
instead of painting over the desktop.
2007-02-15 19:41:34 +01:00
Dmitry Timoshkov 8295d9040b gdi32: Skip the SYMBOL_CHARSET test if Symbol or Wingdings is not installed. 2007-02-15 16:55:23 +01:00
Dmitry Timoshkov 64e1ce40aa gdi32: Fix a typo in the memcmp call. 2007-02-15 15:42:54 +01:00
Pedro Araujo Chaves Jr 2051bcccca gdi32: Fix for GetTextExtentExPointW() and ExtTextOutW(). 2007-02-15 13:27:24 +01:00
Dmitry Timoshkov 37591409b2 gdi32: Revert 1440eb5a35 and add the test showing that the change was wrong. 2007-02-15 11:21:53 +01:00
Alexandre Julliard 6f7f2bf882 gdi32: Fixed typo in AngleArc. 2007-02-14 12:30:43 +01:00
Felix Nawothnig 7777a8eaf7 gdi32: Fix offset calculation in PATH_ExtTextOut for >1 chars. 2007-02-05 14:03:52 +01:00
Dmitry Timoshkov e915a3cfb1 gdi32: Make sure that we don't read/write beyond the provided buffer in GetOutlineTextMetricsA, add a test case. 2007-02-05 14:03:45 +01:00
Dmitry Timoshkov 0510a7a599 gdi32: CreateBitmap and friends should return stock DEFAULT_BITMAP if requested bitmap width or height is 0. 2007-02-05 12:24:55 +01:00
Dmitry Timoshkov 295f8101ec gdi32: Add a simple SelectObject test for bitmaps. 2007-01-22 13:29:27 +01:00
Dmitry Timoshkov f31b67ae44 gdi32: Add a GetDIBits test. 2007-01-22 13:29:21 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Dmitry Timoshkov 101785d1a9 gdi32: Print status of the hinting support in the debug log. 2007-01-11 11:37:47 +01:00
Andrew Talbot 45bd6336c2 gdi32: Remove unused variables. 2007-01-09 12:02:21 +01:00
Andrew Talbot 21ebf42f83 gdi32: Declare some functions static. 2007-01-09 12:01:55 +01:00
Andrew Talbot d4fdeeaa46 gdi32: Remove unused function. 2007-01-09 12:01:50 +01:00
Francois Gouget 7a76ae1a65 gdi32/tests: Replace an '#if 0' with an 'if (0)'. 2007-01-08 12:09:05 +01:00
Francois Gouget c579d474a4 gdi32/tests: Tweak a test to avoid an '#if 0'. 2007-01-08 12:08:52 +01:00
Francois Gouget 51ab5c33c8 gdi32/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Hans Leidekker 80e30f3d1b gdi32: Implement GetCharWidthI. 2007-01-02 20:30:17 +01:00
Alexandre Julliard 0bd3d8e68e gdi32: Avoid leaking a handle in MFDRV_ExtSelectClipRgn. 2007-01-02 17:09:10 +01:00
Dmitry Timoshkov 2cbf7d4d91 gdi32: Remove redundant debug channel, use the default one instead. 2007-01-02 12:09:14 +01:00
Huw Davies 4e6860433e gdi32: Extract the constituent TrueType files from Mac suitcase fonts into the user's caches directory
and use these instead of the original suitcase.
2006-12-21 17:24:56 +01:00
Huw Davies 42d372eb4a gdi32: Actually create the Wine fonts key if it doesn't exist. 2006-12-21 11:25:00 +01:00
Huw Davies 7329144c58 gdi32: Improve the fontconfig filtering hack so that Mac suitcase fonts get through. 2006-12-20 12:28:00 +01:00
Andrew Talbot 3d41200797 gdi32: Remove unused function. 2006-12-20 12:27:55 +01:00
Ulrich Czekalla 4d8135e0c8 winex11.drv: Avoid grabbing syslevel locks in the wrong order. 2006-12-15 13:43:14 +01:00
Alexandre Julliard 826c1d8700 gdi32: Use a more appropriate size for the default clip region. 2006-12-12 15:00:19 +01:00
Alexandre Julliard 21635133fb winex11.drv: Implemented DESKTOPHORZ/VERTRES device caps. 2006-12-12 14:59:55 +01:00
Andrew Talbot eef087cba7 gdi32/tests: Cast-qual warning fix. 2006-12-11 12:19:05 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Alexandre Julliard 33eadd39d4 gdi32: Don't assume that the font codepages change with the user locale.
Codepages can be set independently with LC_CTYPE.
2006-12-08 13:00:53 +01:00
Alexandre Julliard ae9f68dec9 gdi32: Disable the freetype mmap sharing on Mac OS. 2006-12-08 12:14:13 +01:00
Alexandre Julliard 834d20024b gdi32: Only mmap a given font file once.
FT_New_Face always creates a new mapping of the font file, so do the
mapping by hand and use FT_New_Memory_Face instead.
2006-12-06 21:31:53 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Alexandre Julliard d5ee62342a winex11.drv: Don't use the specified DC when mapping RGB colors for a DIB.
The DC palette only matters for DIB_PAL_COLORS.
2006-11-27 17:04:19 +01:00
Alexandre Julliard 75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Alexandre Julliard 456891b377 gdi32: Stop exporting GDI_GetObjPtr and GDI_ReleaseObj. 2006-11-17 14:39:04 +01:00
Alexandre Julliard bb51f96907 gdi32: Get rid of the palette mapping handling and leave it up to the driver. 2006-11-17 14:38:11 +01:00
Alexandre Julliard ed4f22ab5f gdi32: Moved the system palette flags to winex11.drv. 2006-11-17 14:34:44 +01:00
Alexandre Julliard c60757b7d8 gdi32: Avoid accessing the internal palette object from dib.c. 2006-11-17 14:34:20 +01:00
Mike McCormack f76d3c259c gdi32: Downgrade a FIXME to a WARN. 2006-11-09 11:44:40 +01:00
Alexandre Julliard f7ffbe4581 gdi32: Remove call to CreateCompatibleDC() from GetDIBits() implementation.
Based on a patch by Alex Villacís Lasso.
2006-11-08 19:57:30 +01:00
Roderick Colenbrander 1d4effcaa5 wgl: Fix WoW screen flickering. 2006-11-06 12:13:09 +01:00
Roderick Colenbrander 2506677c60 winex11.drv: Route wglMakeContextCurrentARB through gdi32. 2006-10-31 21:34:36 +01:00
Andrew Talbot 17ec5aba20 gdi32: Cast-qual warnings fix. 2006-10-31 11:46:36 +01:00
Andrew Talbot 58df7b6605 gdi32: Cast-qual warnings fix. 2006-10-31 11:46:30 +01:00
Andrew Talbot 5a2227f86e gdi32: Cast-qual warnings fix. 2006-10-30 11:25:47 +01:00
Andrew Talbot 7b2c27aadf gdi32: Cast-qual warnings fix. 2006-10-30 11:25:44 +01:00
Roderick Colenbrander 88ad69f9bd wgl: Move part of wglGetProcAddress to gdi32. 2006-10-27 12:43:31 +02:00
Eric Pouech bc7df7ad80 gdi32: Better error handling in enhanced metafile. 2006-10-24 11:32:12 +02:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00