Commit Graph

617 Commits

Author SHA1 Message Date
Huw Davies 3915b16762 Add infrastructure for font linking. WineEngGetLinkedHFont will be
used by ExtTextOut to provide an HFONT that will contain a valid
glyph.
2005-09-07 09:21:50 +00:00
Marcus Meissner a42e6aefe1 Added DRAWPATTERNRECT Escape() 16<->32 mapper and stub in WINEPS. 2005-09-06 14:12:17 +00:00
Huw Davies e415baadfc Store the selected ppem in the GdiFont. 2005-09-06 14:04:01 +00:00
Huw Davies c682fcc3f4 Build a list of font links read in from the registry. 2005-09-06 09:24:07 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Mike McCormack 79b29158e8 Fix gcc 4.0 warnings. 2005-08-22 10:19:34 +00:00
Glenn Wurster 005729588d Start to add some tests for basic palette operations. 2005-08-22 09:18:02 +00:00
Felix Nawothnig 87e878a699 Fix GetDIBits to retrieve RGB 555 as 16bit BI_RGB and RGB 565 as 16bit
BI_BITFIELDS.
2005-08-19 13:58:34 +00:00
Huw Davies 85cd13506d Simplify ExtTextOut a bit. Should be a nop. 2005-08-19 09:58:57 +00:00
Huw Davies a03adc7411 Cope better with mixed charset fonts. 2005-08-19 09:58:32 +00:00
Huw Davies 399e6911b3 A previous signed-ness fix broke display of non-ansi chars, fix this. 2005-08-15 14:50:36 +00:00
Vikram Kumar 43bc613f77 Added stub for EnableEUDC. 2005-08-15 09:45:40 +00:00
Alexandre Julliard 628939d567 Use the proper WOW functions everywhere instead of the K32WOW variant. 2005-08-10 10:59:19 +00:00
Michael Kaufmann 0f2c2b8426 Fix for BI_BITFIELDS: The color masks are at the same position in all
the bitmap headers that support this flag (BITMAPINFO: The first color
mask is in bmiColors[0], that's the same position as bV4RedMask in
BITMAPV4HEADER).
2005-08-08 18:40:14 +00:00
Mike McCormack 98beaff2c5 Warning fixes for gcc 4.0. 2005-08-08 15:03:42 +00:00
Dmitry Timoshkov 02ad6e7233 Add a test showing that Windows doesn't tie GDI objects to a
particular thread.
2005-08-08 11:07:25 +00:00
Alexandre Julliard 7be607f7c0 Added commented out stubs for a bunch of new functions. 2005-08-01 14:59:26 +00:00
Huw Davies af2e7eb2cb Test to show that the height returned by GetTextExtentPoint is the
same as tmHeight.
2005-07-18 18:08:30 +00:00
Robert Shearman 0ceb6b6f6b Implement and test GdiGetCharDimensions. 2005-07-18 18:05:04 +00:00
Felix Nawothnig 9e96be87ac Fix the EnumEnhMetaFile tests. 2005-07-15 09:55:33 +00:00
Juan Lang 31acf7f5a5 Release DC in error condition on StretchDIBits. 2005-07-14 10:15:42 +00:00
Alexandre Julliard d75897061c Make GetKerningPairs an alias for GetKerningPairsA. 2005-07-11 14:26:54 +00:00
Stefan Huehner 2440dcfe88 Fix -Wmissing-declarations warnings. 2005-07-05 12:49:14 +00:00
Mike McCormack 89424ce848 -Wpointer-sign fixes for gcc 4.0. 2005-07-05 11:02:37 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Alexandre Julliard dd919162e3 Fixed HKLM/HKCU mixup for the external fonts key. 2005-06-28 19:15:17 +00:00
Alexandre Julliard f22e31b9e6 Moved spooler configuration to HKCU\Software\Wine\Printing\Spooler. 2005-06-28 13:55:02 +00:00
Felix Nawothnig 85e942f951 Report a todo and skip DIB tests when they fail at a non-truecolor
screen depth.
2005-06-27 11:09:52 +00:00
Felix Nawothnig 8af1ce0ba1 - Use smaller numbers as coordinates for mapping tests to avoid
rounding-errors.
- Simplify calculation of mapped coordinates for MM_TEXT.
2005-06-22 18:03:19 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Alexandre Julliard ab88743c25 Moved a few registry keys from HKLM\Software\Wine to
HKCU\Software\Wine for consistency.
2005-06-20 16:04:32 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Lauri Tulmin 33a82558ea - add some tests for {Get|Set}Pixel
- skip tests that fail in win9x
2005-06-20 13:13:53 +00:00
Michael Kaufmann a5abe264c9 Initialize more structure members, including biSizeImage if bits ==
NULL and biBitCount != 0.
2005-06-17 13:56:25 +00:00
Alexandre Julliard 9ad3a97acb Moved all font config parameters to HKCU\Software\Wine\Fonts.
Replaced the FontDirs key enumeration by a simple Path value.
2005-06-14 12:33:19 +00:00
Alexandre Julliard 8a985c59da Removed the Tweak.Fonts configuration hack. 2005-06-14 11:53:39 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard a55450da8c Always load 16-bit gdi.exe at init time. 2005-06-01 11:06:14 +00:00
Dimi Paun b69e7a19d5 Move remaining GDI objects to the large heap. 2005-05-27 19:28:23 +00:00
Dimi Paun 2a109307c3 Turn a GDI object into a system object via an explicit Wine extension
rather then through magical pokes in memory.
2005-05-25 09:55:55 +00:00
David Hemmo e0883970f8 GDI_ReleaseObj was not called with the right parameter. 2005-05-20 18:59:46 +00:00
Richard Cohen 0089d517cf Fix gdiobj test on NT4, remove asserts. 2005-05-20 18:58:19 +00:00
Dimi Paun ca30176cd7 Remove the LOCAL_*() functions from GDI. 2005-05-18 09:50:43 +00:00
Dimi Paun 03776ec91a Use standard TRACE macro. 2005-05-17 14:33:55 +00:00
Felix Nawothnig d17e2073be Keep width for cosmetic pens, don't use LPtoDP() for widths and
convert the dashes for PS_USERSTYLE pens into device units.
2005-05-16 09:13:28 +00:00
Felix Nawothnig 7364f0a79c Convert pen width to DP in StrokePath(). 2005-05-14 18:49:52 +00:00
Dimi Paun e510a29159 Make LOCAL_*() just wrappers around Local*16() functions. 2005-05-14 12:18:15 +00:00
Felix Nawothnig 73eee2137c Draw each figure as a single primitive in StrokePath(). 2005-05-14 11:07:24 +00:00
Mike McCormack e6d4bcd7ae Check that GetObject is successful. 2005-05-11 12:02:16 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Rein Klazes 05a494c2b5 In MaskBlt delete correct bitmap. 2005-05-05 16:43:26 +00:00
Maxime Bellengé 6762313cdf Prevent CreateDCA from crashing if a bad lpInitData parameter is
provided.
2005-04-25 16:02:27 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Richard Cohen 062c18dd24 Dither solid colours on monochrome bitmaps. 2005-04-20 12:52:46 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Richard Cohen a1d66596b5 CreateBitmap16 should use only the first byte of planes & bpp. 2005-04-16 11:18:43 +00:00
Mike McCormack 77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00
Mike McCormack 556c976b8f Implement GdiIs*DC functions. 2005-04-14 13:57:55 +00:00
Alexandre Julliard 4722941695 Moved the BITMAPOBJ structure to gdi_private.h. 2005-04-13 16:11:18 +00:00
Dimitrie O. Paun e3e5cf19a8 Remove the need for the non-standard (Close|Delete)MetaFile16(). 2005-04-13 15:16:40 +00:00
Alexandre Julliard 9591466a60 Moved the driver-independent part of CreateDIBSection into GDI. 2005-04-13 14:45:27 +00:00
Robert Shearman 794dbaa38c - Fix scaling when converting MF -> EMF.
- Tests for conversions (although not for the above bug).
2005-04-13 10:57:59 +00:00
Vincent Béron 67da678ca6 Make static some functions used only in a single file. 2005-04-11 13:00:28 +00:00
Dimitrie O. Paun 396ee7403f Cleanup the API docs. Few indentation/formatting fixes. 2005-04-11 12:50:01 +00:00
Alexandre Julliard ee9b4265d4 Added support for the DC meta region. 2005-03-31 10:19:40 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Huw Davies 8710dde01f In a call to EnumEnhMetaFile when hdc is NULL, lpRect may be NULL. Add
a test for this.
2005-03-29 18:56:35 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Alexandre Julliard 3a522f3d71 Store the handle to the stock bitmap when the first DC is created to
avoid exporting the DEFAULT_BITMAP define.
2005-03-27 18:19:59 +00:00
Alexandre Julliard 5e6461b6e7 Explicitly store the stack of saved DCs in the DC structure instead of
using the 16-bit hNext field in the object header.
2005-03-25 20:58:29 +00:00
Alexandre Julliard 0afa832f37 Maintain the stack of saved vis regions in the DC structure instead of
storing it directly in the region objects.
2005-03-25 20:52:53 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Ulrich Czekalla f4f7689c2e If a zero index is passed to META_SELECTCLIPREGION reset the clip
region.
2005-03-14 10:06:54 +00:00
Alexandre Julliard 98eacd5426 Allocate fonts and regions from the large heap too. 2005-03-10 11:20:51 +00:00
Dimitrie O. Paun c02dd0a902 Add support for .exe's with exported functions. 2005-03-08 16:55:26 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
TANABE Hiroshi d4114e4c7e Remove (buf && !buflen) checking.
Fixed outline rendering with GGO_GRAY?_BITMAP option.
Improved fixed-pitch fonts detection.
2005-02-25 13:59:22 +00:00
TANABE Hiroshi 6585373611 Added Multibyte character set support in GetGlyphOutlineA. 2005-02-22 19:37:18 +00:00
Huw Davies 8e34fa62ff Don't hold the GDI lock when calling DC_GetDCUpdate. 2005-02-22 19:34:33 +00:00
Alex Villacís Lasso 2eacfecd25 Implemented GetGlyphOutline16. 2005-02-21 20:43:59 +00:00
Francois Gouget dd073bbb3f Cast the GetProcAddress() return value to avoid warnings about the
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Rein Klazes 5487f451e5 REGION_FrameRgn computes the frame region inside the original region. 2005-02-14 11:52:12 +00:00
Marcus Meissner a34c23498f Check for overflows with ClrUsed. 2005-02-14 11:08:22 +00:00
Rémi Assailly aa638df724 Small char -> const char fix. 2005-02-14 11:03:36 +00:00
Huw Davies 82977c1441 GetMetaFile checks both the version and the header size when it tries
to load a metafile.  Powerpoint XP depends on this.
2005-01-26 19:41:58 +00:00
Troy Rollo f679490990 Don't refuse to process VDMX ratio entries with bCharSet == 0. These
entries are at least as useful as those with bCharSet == 1. Add
comment containing URL of documentation for VDMX records.
2005-01-24 19:00:10 +00:00
Walt Ogburn b28c79aa50 Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. 2005-01-14 15:12:59 +00:00
Alexandre Julliard d7b4d60cd7 Use the exported functions SaveDC/RestoreDC instead of SetDCState16. 2005-01-12 19:57:08 +00:00
Rémi Assailly 9821beed52 Implemented GetLayout and SetLayout. 2005-01-10 12:30:18 +00:00
Vitaly Lipatov 5e4ac6bc1b Spelling fixes. 2005-01-05 17:12:07 +00:00
Vitaly Lipatov 0590343445 Add description for ExtTextOut (also include comments from Shachar
Shemesh) and missed constants ETO_NUMERICSLOCAL, ETO_NUMERICSLATIN,
ETO_PDY in wingdi.h.
2005-01-05 13:24:52 +00:00
Mike McCormack cc6b542a8e Convert StartDoc to Unicode. 2005-01-04 20:39:19 +00:00
Jakob Eriksson 0b14f38d57 Add return value to GetObject error message. 2005-01-03 20:19:32 +00:00
Eric Pouech 89f5283432 Some missing const correctness fixes. 2005-01-03 14:50:12 +00:00
Hans Leidekker 63e241ab95 Stub implementations for GetLogColorSpace{A,W}. 2005-01-03 14:33:07 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Hans Leidekker feef8957b9 Stub implementations for GetICMProfileW, SetICMProfile{A,W},
UpdateICMRegKey{A,W}.
Forward UpdateICMRegKey to UpdateICMRegKeyA.
2004-12-27 17:23:17 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech bcfa5b0900 ReadFile and WriteFile must be passed a parameter for the number of
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Mike McCormack eedf3b4d7a Check values passed in to SetWinMetaFileBits, not our local copy. 2004-12-21 14:50:07 +00:00
Mike McCormack 895d1b7160 Output EMR_POLYGON16 records when possible. 2004-12-21 14:49:19 +00:00
Dmitry Timoshkov 2b98f3255f Fully initialize NEWTEXTMETRICEXW structure for bitmap fonts. 2004-12-21 14:45:38 +00:00
Francois Gouget 6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Jon Griffiths f82272c92f Remove unneeded headers to reduce unneeded rebuilds. 2004-12-16 14:35:55 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Huw Davies dc27c04ebf Fix always false test. Spotted by Eric Pouech. 2004-12-13 13:14:36 +00:00
Alexandre Julliard 94ee1ebd6c Remove a few no longer needed 16-bit exports from gdi32. 2004-12-09 11:51:21 +00:00
Walt Ogburn eca0a25634 Added some tests for win-format metafiles. 2004-12-09 11:37:59 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Kevin Koltzau 9a013cc1cb CreateBrushIndirect should not return a stock brush. 2004-11-24 18:09:20 +00:00
Dmitry Timoshkov 9d8474138e Avoid some direct accesses to DC internals from metafile driver. 2004-11-24 18:08:18 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Jon Griffiths 7c1ad31f47 Set the miter limit in the DC state.
Only SetLastError() in object functions where native does.
Test the error comditions of the gdiobj functions.
Minor documentation updates.
2004-11-23 12:19:24 +00:00
Jon Griffiths dd89491edb Support mono pattern brushes in EMF's. 2004-11-22 18:22:20 +00:00
Jon Griffiths 68b7802cd5 Avoid magic number. 2004-11-22 18:19:59 +00:00
Jon Griffiths 853cb86fa7 Implement CreateBitmap using CreateBitmapIndirect so we can handle
funky alignment paddings.
SetLastError() on failure, documentation cleanup.
2004-11-22 18:18:21 +00:00
Jon Griffiths da086d88c9 Search the whole table when creating solid brushes. 2004-11-21 15:35:15 +00:00
Michael Kaufmann 0dd2910eba - Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures.
- Always calculate the location of the color table.
- CreateCompatibleBitmap: Create a DIB section if necessary.
- Added some tests.
2004-11-02 05:23:49 +00:00
Alexandre Julliard 715ea985b9 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Don't unrealize the palette by calling SetPaletteEntries.
Check peFlags for PC_RESERVED.
2004-10-18 21:18:58 +00:00
Rein Klazes 96d6966baa Test whether the ft_encoding's are defined, not the FT_ENCODING's. 2004-10-18 19:38:30 +00:00
Robert Shearman b4eee49aa5 The "colors" parameter of SetDIBColorTable should be CONST. 2004-10-18 19:35:50 +00:00
Hans Leidekker bed3842c9a Added check for fork() to fix the MinGW build. 2004-10-14 03:08:57 +00:00
Huw Davies ee83c727d7 Apparently this portion of the test was failing under some versions of
winxp, so remove it.
2004-10-11 19:54:54 +00:00
Jon Griffiths d73e081c83 Use a (seemingly xp default) width of 7 for system fonts. 2004-09-24 01:10:44 +00:00
Michael Kaufmann 970b2218d6 Fix a regression caused by an earlier patch for CreateDIBitmap. 2004-09-20 21:45:00 +00:00
Huw Davies daf776fdde When we blit with a monochrome dibsection as the source we should use
the colour table of that dib.
Added a test for this.
2004-09-16 20:29:25 +00:00
Huw Davies 530e789d7e It's important to keep the original dib colour table and not just the
colour mapping associated with a dib section - it's this table that
GetDIBColorTable should retrieve.
Added some GetDIBColorTable tests.
2004-09-16 19:10:14 +00:00
Vincent Béron 63cf3e2c4e Use the preferred FT_ENCODING values rather than ft_encoding. 2004-09-15 18:03:32 +00:00
Jon Griffiths 3772c73a6c CreateDCA -> CreateDCW 2004-09-13 23:22:30 +00:00
Alexandre Julliard cdcdbe5495 Authors: Michael Kaufmann <hallo@michael-kaufmann.ch>, Huw Davies <huw@codeweavers.com>
CreateDIBitmap should return bitmaps at the depth of the supplied dc.
Add a test to exercise this behaviour.
2004-09-13 19:37:03 +00:00
Dmitry Timoshkov 7f79dae109 When DC mapping changes reselect current pen to update physical
width.
2004-09-13 18:03:44 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +00:00
Francois Gouget 5d54c7ba7c Test some more gdi types. 2004-09-07 20:27:34 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Robert Shearman a355c84d28 Default clipping region should be resolution of the DC, not the
current visible region.
2004-09-02 20:08:30 +00:00
Dmitry Timoshkov 3aab64dee5 Added a test showing how GDI scales bitmap font metrics. 2004-09-02 20:06:55 +00:00
Mike McCormack 642180d3c9 Add a basic GDI LOGFONT test, fix a couple of failures. 2004-09-01 17:29:28 +00:00
Alexandre Julliard 03250ff6e7 Inline functions don't need WINE_UNUSED. 2004-09-01 04:55:52 +00:00
Alexandre Julliard 3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Huw Davies 329025915c FreeType doesn't supply a charmap for bitmap fonts, so we must do our
own mapping.  Thanks to Dmitry for testing.
2004-08-26 18:24:03 +00:00
Huw Davies 97ebf8f5a3 Make the DEFAULT_GUI_FONT scalable with screen resolution and let it
be 8pt MS Shell Dlg for simple scripts.
2004-08-25 17:31:17 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Jon Griffiths 39fc441935 Return a stock brush when asking for a brush with the same
characteristics, as per native. Document the brush functions.
2004-08-20 19:57:11 +00:00
Robert Shearman 3e80fb4611 - Fix type in GetRandomRegion function.
- Add prototype to header.
2004-08-20 19:26:28 +00:00
Huw Davies d24592e598 Convert installed font list to list.h. 2004-08-17 22:08:31 +00:00
Huw Davies 869e9cafd9 If a device doesn't support device bitmaps, then store the bits on the
gdi side.
2004-08-13 19:48:55 +00:00
Huw Davies dd8922f20b Repect the width of both the src and dst when calculating how many
pixels to copy in a dib <-> bmp operation.
2004-08-12 20:02:39 +00:00
Alexandre Julliard b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Huw Davies dbf5b2a320 Don't try to rotate bitmap fonts. 2004-08-11 19:34:20 +00:00
Huw Davies 9277cf199f Fix maskblt to work with any set of rops and to also take into account
the current brush.  It also now works if the mask bitmap is already
selected into a dc.
2004-08-11 18:51:10 +00:00
Huw Davies 0e58986d4f Don't ever return a bitmap font if the driver can't use it. 2004-08-11 18:49:34 +00:00
Huw Davies c8c4bf30fb We don't currently support horizontal stretching of bitmap fonts, so
we should ignore lfWidth.
2004-08-10 23:42:18 +00:00
Huw Davies 945d98ba26 GetCharABCWidths should fail for non-scalable fonts. 2004-08-09 23:38:10 +00:00
Huw Davies 86c9f378a4 Try harder to match to a font if the family name is matches, but the
style is doesn't.
2004-08-09 22:54:33 +00:00
Huw Davies 544c85ee01 Break and default char are both relative to first char in the winfnt
header.
2004-08-09 18:52:51 +00:00
Huw Davies 2bf1562c28 Actually pass the blend function on to the graphics driver. 2004-08-06 18:59:31 +00:00
Huw Davies 2c527f96eb Maintain a cache (currently of up to 10) of unused fonts. This speeds
up apps that repeatedly recreate the same font.
2004-08-06 17:31:39 +00:00
Huw Davies 2b804c56da Convert gdi font list to use list.h. 2004-08-04 18:16:13 +00:00
Huw Davies dd5b23fddb Implement AlphaBlend using the XRENDER extension. 2004-08-02 18:54:54 +00:00
Jeroen Janssen cead7c0e81 Updated some MSDN links in the code. 2004-07-30 00:03:02 +00:00
Huw Davies 60b22a4add Make tmUnderlined and tmStruckOut reflect the values used to create
the font.
2004-07-22 19:42:31 +00:00
Alexandre Julliard ebc6a2d9b6 Moved all files from the objects/ directory to dlls/gdi.
Merged text.c into font.c and dcvalues.c into dc.c.
2004-07-21 04:07:28 +00:00
Alexandre Julliard f7b4a4e2f1 Moved LineDDA implementation to dlls/gdi/painting.c. 2004-07-21 03:41:27 +00:00
Huw Davies 03fa4c6f57 Fix font replacements to work with bitmap fonts.
Enumerate System, Terminal, FixedSys in that order.
2004-07-14 21:42:35 +00:00
Alexandre Julliard 503ffff9a5 Allow specifying multiple graphics drivers and use the first one that
loads successfully.
2004-07-13 03:53:55 +00:00
Dmitry Timoshkov ac42c45745 Do not allow creation of not aligned EMF records by GDI code. 2004-06-18 19:33:41 +00:00
Huw Davies c22171836b Add support for bitmap fonts. 2004-06-16 20:06:26 +00:00
Eric Pouech bde649c356 Added some missing prototypes. 2004-05-18 20:43:29 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard a11b2bbafb Updated the auto-generated tests. 2004-05-04 00:41:11 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard 1cb0cf4ced Moved wine_get_unix_file_name implementation to ntdll, and changed it
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Kevin Koltzau ac05d0dd29 Partial stub of GdiAlphaBlend/AlphaBlend. 2004-04-14 19:35:24 +00:00
Mike McCormack 61acd0ddc2 Fix bug in GdiGradientFill. 2004-04-02 19:15:14 +00:00
Mike McCormack 307ee761ef Optimize GdiGradientFill by drawing lines instead of pixels. 2004-03-31 19:58:25 +00:00
Mike McCormack d00141aae8 Write EMRPOLYLINE16 if points fit into a SHORT. 2004-03-29 23:04:32 +00:00
Mike McCormack 4eaf41b535 Unicodify CreateMetaFile. 2004-03-29 20:27:18 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Dmitry Timoshkov 21fc3c8067 CreateDIBSection takes a const pointer to BITMAPINFO. 2004-03-12 19:46:12 +00:00
Dmitry Timoshkov 90c42fed6b Eliminate some unnecessary direct accesses to DC internals from EMF
driver.
2004-03-11 00:37:46 +00:00
Dmitry Timoshkov 84d66c0615 Added an EMF test suite. 2004-03-09 19:19:53 +00:00
Robert Shearman d315f6b1d7 Check for NULL pointers returned by HeapAlloc. 2004-03-09 19:19:12 +00:00
Huw Davies db226a8049 Add registry entries for any fonts found by fontconfig or that are in
the FontDirs directories.
2004-03-09 03:43:54 +00:00
Alexandre Julliard 05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Alexandre Julliard 83decd25ad Changed the CreateDC driver entry point to use an HDC instead of a DC
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard ebd24807fe Pass the gdiFont object to the SelectFont driver entry point so that
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard 8d18b2a518 Pass the breakExtra value in the ExtTextOut driver call, since there
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Alexandre Julliard cb4ecc878f Implemented Get/SetBoundsRect based on a patch by Ken Belleau. 2004-03-03 05:29:44 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Rein Klazes 8677fbf362 Add stub implementation for SetICMProfileA(). 2004-02-20 01:08:16 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Alexandre Julliard 7fd58cb13f Get rid of a few 16-bit exports in gdi32. 2004-02-13 20:58:27 +00:00